Merge branch 'master' of e.coding.net:rosydev/baseapi
This commit is contained in:
@@ -4,9 +4,12 @@ import doudian_sdk "git.rosy.net.cn/baseapi/platformapi/tiktok_shop/sdk-golang/c
|
|||||||
|
|
||||||
type SupermGetStoreAutoCallRiderResponse struct {
|
type SupermGetStoreAutoCallRiderResponse struct {
|
||||||
doudian_sdk.BaseDoudianOpApiResponse
|
doudian_sdk.BaseDoudianOpApiResponse
|
||||||
Data *AutoCallInfo `json:"data"`
|
Data *SupermGetStoreAutoCallRiderData `json:"data"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type SupermGetStoreAutoCallRiderData struct {
|
||||||
|
AutoCallInfo *AutoCallInfo `json:"autocall_info"`
|
||||||
|
}
|
||||||
type AutoCallInfo struct {
|
type AutoCallInfo struct {
|
||||||
ServiceStatus int64 `json:"service_status"` //自动呼叫运力设置状态;1:关闭 2:开启
|
ServiceStatus int64 `json:"service_status"` //自动呼叫运力设置状态;1:关闭 2:开启
|
||||||
ServiceType int64 `json:"service_type"` //自动呼叫运力策略; 0:接单后立即呼叫 1:接单后延迟呼叫
|
ServiceType int64 `json:"service_type"` //自动呼叫运力策略; 0:接单后立即呼叫 1:接单后延迟呼叫
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ func (a *API) GetStoreAutoCallRiderInfo(storeID int64) (*superm_getStoreAutoCall
|
|||||||
if response.Code != RequestSuccessCode {
|
if response.Code != RequestSuccessCode {
|
||||||
return nil, errors.New(response.SubMsg)
|
return nil, errors.New(response.SubMsg)
|
||||||
}
|
}
|
||||||
return response.Data, nil
|
return response.Data.AutoCallInfo, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// /superm/createVirtualMobile 隐私小号获取
|
// /superm/createVirtualMobile 隐私小号获取
|
||||||
|
|||||||
Reference in New Issue
Block a user