1
This commit is contained in:
@@ -1,11 +1,12 @@
|
|||||||
package ascription_place
|
package ascription_place
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestAscriptionPlace(t *testing.T) {
|
func TestAscriptionPlace(t *testing.T) {
|
||||||
//p, err := Find("18744776542")
|
p, err := Find("15184316052")
|
||||||
//fmt.Println(p)
|
fmt.Println(p)
|
||||||
//fmt.Println(err)
|
fmt.Println(err)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ import (
|
|||||||
// "authority_id": ""
|
// "authority_id": ""
|
||||||
//}`
|
//}`
|
||||||
|
|
||||||
var token = `{"access_token":"26a0ee33-fca9-4b80-980a-3d6cf48ca159","expires_in":1678656378,"scope":"SCOPE","shop_id":57939570,"shop_name":"京西菜市速食","refresh_token":"ef12dcb4-766d-4e6b-905d-448a25279431","authority_id":""}`
|
var token = `{"access_token":"c2e78f4f-fb23-4729-b9b1-8330209df50b","expires_in":1679259342,"scope":"SCOPE","shop_id":57939570,"shop_name":"京西菜市速食","refresh_token":"83548fb9-d9ea-4665-bd8c-4dbb949338de","authority_id":""}`
|
||||||
|
|
||||||
//var token = `{"access_token":"e3173e9f-266f-4d87-88e7-e7cd837bc9d9","expires_in":1672882632,"scope":"SCOPE","shop_id":68023619,"shop_name":"京西到家","refresh_token":"5070aae2-493f-46bd-b5d6-6ea0cd64729f","authority_id":""}`
|
//var token = `{"access_token":"e3173e9f-266f-4d87-88e7-e7cd837bc9d9","expires_in":1672882632,"scope":"SCOPE","shop_id":68023619,"shop_name":"京西到家","refresh_token":"5070aae2-493f-46bd-b5d6-6ea0cd64729f","authority_id":""}`
|
||||||
|
|
||||||
|
|||||||
@@ -62,8 +62,8 @@ func TestGetSkuDetailLocalId(t *testing.T) {
|
|||||||
|
|
||||||
func TestUpdateSkuStore(t *testing.T) {
|
func TestUpdateSkuStore(t *testing.T) {
|
||||||
err := a.UpdateSkuStock(&sku_syncStock_request.SkuSyncStockParam{
|
err := a.UpdateSkuStock(&sku_syncStock_request.SkuSyncStockParam{
|
||||||
ProductId: 3592147984177100181,
|
ProductId: 3605142143867471418,
|
||||||
OutSkuId: 29170,
|
OutSkuId: 6045168,
|
||||||
StockNum: 2,
|
StockNum: 2,
|
||||||
Incremental: false,
|
Incremental: false,
|
||||||
})
|
})
|
||||||
@@ -222,7 +222,7 @@ func TestDeleteSkuAndUploadSkuFengJinBiXu222(t *testing.T) {
|
|||||||
CheckStatus: 3, // 1-未提交;2-待审核;3-审核通过;4-审核未通过;5-封禁;7-审核通过待上架
|
CheckStatus: 3, // 1-未提交;2-待审核;3-审核通过;4-审核未通过;5-封禁;7-审核通过待上架
|
||||||
Page: int64(i),
|
Page: int64(i),
|
||||||
Size: 100,
|
Size: 100,
|
||||||
StoreId: 69395217,
|
StoreId: 63841925,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
globals.SugarLogger.Debugf("=index := %d ,err := %s", i, utils.Format4Output(err, false))
|
globals.SugarLogger.Debugf("=index := %d ,err := %s", i, utils.Format4Output(err, false))
|
||||||
|
|||||||
Reference in New Issue
Block a user