This commit is contained in:
邹宗楠
2023-03-14 16:32:21 +08:00
parent 181f2b2197
commit 6ed31df1f7
3 changed files with 8 additions and 7 deletions

View File

@@ -1,11 +1,12 @@
package ascription_place
import (
"fmt"
"testing"
)
func TestAscriptionPlace(t *testing.T) {
//p, err := Find("18744776542")
//fmt.Println(p)
//fmt.Println(err)
p, err := Find("15184316052")
fmt.Println(p)
fmt.Println(err)
}

View File

@@ -18,7 +18,7 @@ import (
// "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":""}`

View File

@@ -62,8 +62,8 @@ func TestGetSkuDetailLocalId(t *testing.T) {
func TestUpdateSkuStore(t *testing.T) {
err := a.UpdateSkuStock(&sku_syncStock_request.SkuSyncStockParam{
ProductId: 3592147984177100181,
OutSkuId: 29170,
ProductId: 3605142143867471418,
OutSkuId: 6045168,
StockNum: 2,
Incremental: false,
})
@@ -222,7 +222,7 @@ func TestDeleteSkuAndUploadSkuFengJinBiXu222(t *testing.T) {
CheckStatus: 3, // 1-未提交2-待审核3-审核通过4-审核未通过5-封禁7-审核通过待上架
Page: int64(i),
Size: 100,
StoreId: 69395217,
StoreId: 63841925,
})
if err != nil {
globals.SugarLogger.Debugf("=index := %d ,err := %s", i, utils.Format4Output(err, false))