This commit is contained in:
邹宗楠
2022-10-24 20:02:48 +08:00
parent 3f4a89b12f
commit 904fbc2a57
2 changed files with 2 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ import (
)
var token = `{"access_token":"c4afc5bc-7ddf-4244-b35a-0c393f3dca32","expires_in":1667203738,"scope":"SCOPE","shop_id":57939570,"shop_name":"京西速食","refresh_token":"5a4f9dfe-306b-4bca-8b35-2ae9afc0245e","authority_id":""}`
var a = New("7136048270014416392", "c397aa9f-3927-47c4-8cfe-4d84e02602e0", "")
var a = New("7136048270014416392", "c397aa9f-3927-47c4-8cfe-4d84e02602e0", token)
// 查询售后单详情
func TestAfsOrder(t *testing.T) {

View File

@@ -49,10 +49,7 @@ func TestSysnc(t *testing.T) {
}
func TestStoreTemp(t *testing.T) {
token := `{"access_token":"a1746210-a8a3-4497-a87b-09d1f10dbb95","expires_in":1665652230,"scope":"SCOPE","shop_id":"","shop_name":"小时达开放平台对接专用店","refresh_token":"c1cf8d88-0983-4f2a-b969-3746fae6b0cd","authority_id":""}`
a := New("7136048270014416392", "c397aa9f-3927-47c4-8cfe-4d84e02602e0", token)
a.GetStoreBindTemp(63114504)
a.GetStoreBindTemp(65402632)
}
func TestAPI_CreateTradeLimitTemplate(t *testing.T) {