添加国美api,删除老版本蜂鸟API,添加抖音授权api、
This commit is contained in:
@@ -70,14 +70,14 @@ func TestCreateStore(t *testing.T) {
|
||||
api = New("6705486294797503379", "c1e6c280-e618-4103-9d0a-673bc54fb22e", "5375691", "cabrXQf9eFMVWVYg4hNlwu")
|
||||
token, _ := api.GetAccessToken()
|
||||
api.accessToken = token.BusinessDataObj.AccessToken
|
||||
err, _ := api.CreateStore(&CreateStoreBaseInfo{
|
||||
HeadShopName: "刘磊测试门店",
|
||||
data, err := api.CreateStore(&CreateStoreBaseInfo{
|
||||
HeadShopName: "刘磊测试门店10",
|
||||
ContactPhone: "18981810340",
|
||||
Address: "四川成都",
|
||||
Longitude: 104.094555,
|
||||
Latitude: 30.661382,
|
||||
PositionSource: 3,
|
||||
OutShopCode: "637910",
|
||||
OutShopCode: "6379110",
|
||||
CategoryID: "12",
|
||||
OwnerName: "刘磊",
|
||||
OwnerIDNum: "511324199308263974",
|
||||
@@ -99,6 +99,7 @@ func TestCreateStore(t *testing.T) {
|
||||
TabacooLicensePicHash: "",
|
||||
})
|
||||
fmt.Println(err)
|
||||
fmt.Println(data)
|
||||
}
|
||||
|
||||
func TestUpdataStore(t *testing.T) {
|
||||
@@ -195,3 +196,7 @@ func TestDataUnmas(t *testing.T) {
|
||||
fmt.Println("retsult", retsult.CallbackBusinessType)
|
||||
fmt.Println("retsult", retsult.Param.PartnerOrderCode)
|
||||
}
|
||||
|
||||
func TestErr2CallbackResponse(t *testing.T) {
|
||||
fmt.Println(20 & 2)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user