aa
This commit is contained in:
@@ -153,6 +153,7 @@ func InitServiceInfo(version string, buildTime time.Time, gitCommit string) {
|
||||
"vendorStatus": model.VendorStatus,
|
||||
"couponsStatus": model.CouponStatusName,
|
||||
"ebaiSupplierID": ebai.EbaiSupplierIDMap,
|
||||
"ebaiSupplierInfo": ebai.EbaiSupplierInfo,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ type tEbaiSupplierInfo struct {
|
||||
}
|
||||
|
||||
var (
|
||||
ebaiSupplierInfo = map[string]*tEbaiSupplierInfo{
|
||||
EbaiSupplierInfo = map[string]*tEbaiSupplierInfo{
|
||||
EbaiSupplierIDsc: &tEbaiSupplierInfo{
|
||||
SupplierID: EbaiSupplierIDsc,
|
||||
Logo: "https://image-star.elemecdn.com/pb/dab294b0d3e9fa4b5fa63007ff02d06e98",
|
||||
@@ -649,7 +649,7 @@ func (p *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri
|
||||
// } else {
|
||||
// phone = model.VendorStoreTel
|
||||
// }
|
||||
ebaiInfo := ebaiSupplierInfo[param["supplier_id"].(string)]
|
||||
ebaiInfo := EbaiSupplierInfo[param["supplier_id"].(string)]
|
||||
if ebaiInfo.SupplierID == EbaiSupplierIDsc {
|
||||
param["name"] = storeDetail.Name
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user