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