1
This commit is contained in:
@@ -18,7 +18,7 @@ import (
|
||||
// "authority_id": ""
|
||||
//}`
|
||||
|
||||
var token = `{"access_token":"067cd47f-fa07-464f-a474-066a2351f9f0","expires_in":1675644618,"scope":"SCOPE","shop_id":57939570,"shop_name":"京西菜市速食","refresh_token":"99575e32-6c75-41ec-8df0-98470e8c0402","authority_id":""}`
|
||||
var token = `{"access_token":"7bb849c5-4270-44c5-a5dc-a02d78532d46","expires_in":1676246698,"scope":"SCOPE","shop_id":57939570,"shop_name":"京西菜市速食","refresh_token":"b0e98248-89bd-4cf2-9968-bb6e61d7845d","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":""}`
|
||||
|
||||
|
||||
@@ -9,14 +9,6 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestCreateSubProduct(t *testing.T) {
|
||||
//params := `[1,2]`
|
||||
//var obj []int
|
||||
//err := Strings2Objs(params, &obj)
|
||||
//fmt.Println(err)
|
||||
//fmt.Println(obj)
|
||||
}
|
||||
|
||||
// 删除已经创建商品,重新同步
|
||||
func TestDeleteSkuAndUploadSku2(t *testing.T) {
|
||||
var errList = make([]error, 0, 0)
|
||||
|
||||
@@ -20,9 +20,10 @@ func init() {
|
||||
sugarLogger = logger.Sugar()
|
||||
baseapi.Init(sugarLogger)
|
||||
|
||||
// sandbox
|
||||
// api = New("7136048270014416392", "c397aa9f-3927-47c4-8cfe-4d84e02602e0")
|
||||
// prod
|
||||
}
|
||||
|
||||
func TestCreateSubProduct(t *testing.T) {
|
||||
a.CreateSubProduct(3592508194611683124, 64251631)
|
||||
}
|
||||
|
||||
func TestCategory(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user