客户建议发送内容修改

This commit is contained in:
苏尹岚
2020-05-21 15:38:27 +08:00
parent 8977984d16
commit aeeb9dad40

View File

@@ -3,6 +3,7 @@ package jdshop
import (
"encoding/base64"
"encoding/json"
"fmt"
"strings"
"git.rosy.net.cn/baseapi/platformapi/jdshopapi"
@@ -20,6 +21,9 @@ func (p *PurchaseHandler) ReadStore(ctx *jxcontext.Context, vendorOrgCode, vendo
// storeDetail.VendorStoreID = vendorStoreID
// storeDetail.Status = JdsStatus2jxStatus(result.StoreStatus)
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.Name = result2.StoreName
storeDetail.Address = result2.Address