客户建议发送内容修改
This commit is contained in:
@@ -3,6 +3,7 @@ package jdshop
|
|||||||
import (
|
import (
|
||||||
"encoding/base64"
|
"encoding/base64"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"git.rosy.net.cn/baseapi/platformapi/jdshopapi"
|
"git.rosy.net.cn/baseapi/platformapi/jdshopapi"
|
||||||
@@ -20,6 +21,9 @@ func (p *PurchaseHandler) ReadStore(ctx *jxcontext.Context, vendorOrgCode, vendo
|
|||||||
// storeDetail.VendorStoreID = vendorStoreID
|
// storeDetail.VendorStoreID = vendorStoreID
|
||||||
// storeDetail.Status = JdsStatus2jxStatus(result.StoreStatus)
|
// storeDetail.Status = JdsStatus2jxStatus(result.StoreStatus)
|
||||||
result2, err := api.JdShopAPI.QueryEntityStore(utils.Str2Int64(vendorStoreID))
|
result2, err := api.JdShopAPI.QueryEntityStore(utils.Str2Int64(vendorStoreID))
|
||||||
|
if result2 == nil {
|
||||||
|
return storeDetail, fmt.Errorf("未查询到该平台门店,平台门店ID:[%v]", vendorStoreID)
|
||||||
|
}
|
||||||
storeDetail.ID = utils.Str2Int(result2.ExStoreID)
|
storeDetail.ID = utils.Str2Int(result2.ExStoreID)
|
||||||
storeDetail.Name = result2.StoreName
|
storeDetail.Name = result2.StoreName
|
||||||
storeDetail.Address = result2.Address
|
storeDetail.Address = result2.Address
|
||||||
|
|||||||
Reference in New Issue
Block a user