回调打桩

This commit is contained in:
邹宗楠
2022-03-30 17:34:36 +08:00
parent 78a23f293b
commit 798c5fcaf8
4 changed files with 54 additions and 53 deletions

View File

@@ -7,13 +7,13 @@ import (
)
const (
TokenURL = "https://open-anubis.ele.me/anubis-webapi/openapi/token" // 正式环境
ApiURL = "https://open-anubis.ele.me/anubis-webapi/v3/invoke" // 正式环境
//TokenURL = "https://open-anubis.ele.me/anubis-webapi/openapi/token" // 正式环境
//ApiURL = "https://open-anubis.ele.me/anubis-webapi/v3/invoke" // 正式环境
RefreshTokenUrl = "https://open-anubis.ele.me/anubis-webapi/openapi/refreshToken" // 正式环境刷新token
//TokenURL = "https://exam-anubis.ele.me/anubis-webapi/openapi/token" // 沙箱环境
//ApiURL = "https://exam-anubis.ele.me/anubis-webapi/v3/invoke" // 沙箱环境
RequestPost = "POST"
RequestGet = "GET"
TokenURL = "https://exam-anubis.ele.me/anubis-webapi/openapi/token" // 沙箱环境
ApiURL = "https://exam-anubis.ele.me/anubis-webapi/v3/invoke" // 沙箱环境
RequestPost = "POST"
RequestGet = "GET"
)
// 注册请求api
@@ -76,8 +76,10 @@ type GetOneStoreParam struct {
// 获取单个门店基础参数(请求)
type GetOneStore struct {
MerchantID string `json:"merchant_id"` // 商户id
OutShopCode string `json:"out_shop_code"` // 外部门店编码
MerchantID string `json:"merchant_id"` // 商户id
OutShopCode string `json:"out_shop_code"` // 外部门店编码
ChainStoreId string `json:"chain_store_id,omitempty"` // 门店id
}
// 获取单个门店(返回)