-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13,200 changed files
with
493,275 additions
and
121,405 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
109 changes: 109 additions & 0 deletions
109
metadata/assets/patch/baichuan/alibaba_baichuan_aso_query.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
{ | ||
"id": 31055, | ||
"name": "alibaba.baichuan.aso.query", | ||
"apiChineseName": "查询app在设备上的安装信息", | ||
"description": "查询app在设备上的安装信息", | ||
"requestParams": [ | ||
{ | ||
"name": "app_id", | ||
"type": "String", | ||
"description": "1-tmail,2-taobao", | ||
"required": true | ||
}, | ||
{ | ||
"name": "app_os", | ||
"type": "Number", | ||
"description": "1-android,2-ios", | ||
"required": true | ||
}, | ||
{ | ||
"name": "device_info_list", | ||
"type": "AsoDeviceInfoDO[]", | ||
"description": "设备信息,ios为idfa ,android 为imei + imsi", | ||
"required": true, | ||
"maxListSize": 20, | ||
"subParams": [ | ||
{ | ||
"name": "idfa", | ||
"type": "String", | ||
"description": "idfa" | ||
}, | ||
{ | ||
"name": "imei", | ||
"type": "String", | ||
"description": "imei" | ||
}, | ||
{ | ||
"name": "imsi", | ||
"type": "String", | ||
"description": "imsi" | ||
} | ||
] | ||
} | ||
], | ||
"responseParams": [ | ||
{ | ||
"name": "result", | ||
"type": "AsoQueryDeviceResult", | ||
"description": "result", | ||
"subParams": [ | ||
{ | ||
"name": "results", | ||
"type": "AsoDeviceCheckResult[]", | ||
"description": "result", | ||
"required": true, | ||
"subParams": [ | ||
{ | ||
"name": "is_new_device", | ||
"type": "Boolean", | ||
"description": "isNewDevice", | ||
"required": true | ||
}, | ||
{ | ||
"name": "imei", | ||
"type": "String", | ||
"description": "imei", | ||
"required": true | ||
}, | ||
{ | ||
"name": "imsi", | ||
"type": "String", | ||
"description": "imsi", | ||
"required": true | ||
}, | ||
{ | ||
"name": "idfa", | ||
"type": "String", | ||
"description": "idfa", | ||
"required": true | ||
}, | ||
{ | ||
"name": "is_my_channal", | ||
"type": "Boolean", | ||
"description": "isMyChannal", | ||
"required": true | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "error_detail", | ||
"type": "String", | ||
"description": "errorDetail", | ||
"required": true | ||
}, | ||
{ | ||
"name": "error_code", | ||
"type": "String", | ||
"description": "errorCode", | ||
"required": true | ||
}, | ||
{ | ||
"name": "success", | ||
"type": "Boolean", | ||
"description": "success", | ||
"required": true | ||
} | ||
] | ||
} | ||
] | ||
} |
140 changes: 140 additions & 0 deletions
140
metadata/assets/patch/category/alibaba_imap_pv_autofill.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
{ | ||
"id": 47658, | ||
"name": "alibaba.imap.pv.autofill", | ||
"apiChineseName": "属性回填接口", | ||
"description": "根据用户传入的标题、目标渠道id,目标渠道叶子类目,预测其对应的pv信息,返回给业务方,供其自动填充属性项属性值信息", | ||
"requestParams": [ | ||
{ | ||
"name": "top_imap_item_do", | ||
"type": "TopImapItemDo", | ||
"description": "系统入参", | ||
"subParams": [ | ||
{ | ||
"name": "item_id", | ||
"type": "String", | ||
"description": "商品DO" | ||
}, | ||
{ | ||
"name": "target_channel_id", | ||
"type": "Number", | ||
"description": "【有最好填上】商品id" | ||
}, | ||
{ | ||
"name": "brand_name", | ||
"type": "String", | ||
"description": "【必填】目标渠道ID" | ||
}, | ||
{ | ||
"name": "src_cat_name_path_list", | ||
"type": "String[]", | ||
"description": "【有最好填上】品牌名称" | ||
}, | ||
{ | ||
"name": "src_channel_id", | ||
"type": "Number", | ||
"description": "源渠道ID" | ||
}, | ||
{ | ||
"name": "pv_pair_do_list", | ||
"type": "TopPVPairDO[]", | ||
"description": "商品PV信息", | ||
"subParams": [ | ||
{ | ||
"name": "value_id", | ||
"type": "Number", | ||
"description": "属性值ID" | ||
}, | ||
{ | ||
"name": "property_name", | ||
"type": "String", | ||
"description": "属性项名称" | ||
}, | ||
{ | ||
"name": "value_name", | ||
"type": "String", | ||
"description": "属性值名称" | ||
}, | ||
{ | ||
"name": "property_id", | ||
"type": "Number", | ||
"description": "属性项ID" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "barcode_list", | ||
"type": "String[]", | ||
"description": "【有最好填上】barcode列表" | ||
}, | ||
{ | ||
"name": "title", | ||
"type": "String", | ||
"description": "【必填】商品标题" | ||
}, | ||
{ | ||
"name": "target_category_id", | ||
"type": "Number", | ||
"description": "【必填】目标渠道叶子类目ID" | ||
}, | ||
{ | ||
"name": "src_category_id", | ||
"type": "Number", | ||
"description": "源叶子类目ID" | ||
} | ||
] | ||
} | ||
], | ||
"responseParams": [ | ||
{ | ||
"name": "result", | ||
"type": "TopImapResultDo", | ||
"description": "imap通用返回DO", | ||
"subParams": [ | ||
{ | ||
"name": "success", | ||
"type": "Boolean", | ||
"description": "true表示调用成功", | ||
"required": true | ||
}, | ||
{ | ||
"name": "top_pv_pair_do_list", | ||
"type": "TopPVPairDO[]", | ||
"description": "返回的pv对列表", | ||
"required": true, | ||
"subParams": [ | ||
{ | ||
"name": "value_id", | ||
"type": "Number", | ||
"description": "属性值ID", | ||
"required": true | ||
}, | ||
{ | ||
"name": "value_name", | ||
"type": "String", | ||
"description": "属性值名称", | ||
"required": true | ||
}, | ||
{ | ||
"name": "property_name", | ||
"type": "String", | ||
"description": "属性项名称", | ||
"required": true | ||
}, | ||
{ | ||
"name": "property_id", | ||
"type": "Number", | ||
"description": "属性值名称", | ||
"required": true | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "error_msg", | ||
"type": "String", | ||
"description": "错误信息", | ||
"required": true | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
package admarket | ||
|
||
import ( | ||
"net/url" | ||
|
||
"github.com/bububa/opentaobao/model" | ||
) | ||
|
||
/* | ||
广告竞价服务 API请求 | ||
yunos.admarket.ad.bid | ||
广告竞价服务 | ||
*/ | ||
type YunosAdmarketAdBidAPIRequest struct { | ||
model.Params | ||
// 竞价请求 | ||
_bidRequest *BidRequest | ||
} | ||
|
||
// 初始化YunosAdmarketAdBidAPIRequest对象 | ||
func NewYunosAdmarketAdBidRequest() *YunosAdmarketAdBidAPIRequest{ | ||
return &YunosAdmarketAdBidAPIRequest{ | ||
Params: model.NewParams(), | ||
} | ||
} | ||
|
||
// IRequest interface 方法, 获取Api method | ||
func (r YunosAdmarketAdBidAPIRequest) GetApiMethodName() string { | ||
return "yunos.admarket.ad.bid" | ||
} | ||
|
||
// IRequest interface 方法, 获取API参数 | ||
func (r YunosAdmarketAdBidAPIRequest) GetApiParams() url.Values { | ||
params := url.Values{} | ||
for k, v := range r.GetRawParams() { | ||
params.Set(k, v.String()) | ||
} | ||
return params | ||
} | ||
// BidRequest Setter | ||
// 竞价请求 | ||
func (r *YunosAdmarketAdBidAPIRequest) SetBidRequest(_bidRequest *BidRequest) error { | ||
r._bidRequest = _bidRequest | ||
r.Set("bid_request", _bidRequest) | ||
return nil | ||
} | ||
|
||
// BidRequest Getter | ||
func (r YunosAdmarketAdBidAPIRequest) GetBidRequest() *BidRequest { | ||
return r._bidRequest | ||
} |
Oops, something went wrong.