aa
This commit is contained in:
@@ -657,17 +657,20 @@ func (p *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri
|
|||||||
placeCounty, err := dao.GetPlaceByCode(db, storeDetail.DistrictCode)
|
placeCounty, err := dao.GetPlaceByCode(db, storeDetail.DistrictCode)
|
||||||
param["county"] = placeCounty.EbaiCode
|
param["county"] = placeCounty.EbaiCode
|
||||||
|
|
||||||
phone := ""
|
// phone := ""
|
||||||
if storeDetail.MarketManPhone != "" {
|
// if storeDetail.MarketManPhone != "" {
|
||||||
phone = storeDetail.MarketManPhone
|
// phone = storeDetail.MarketManPhone
|
||||||
} else {
|
// } else {
|
||||||
phone = model.VendorStoreTel
|
// phone = model.VendorStoreTel
|
||||||
}
|
// }
|
||||||
ebaiInfo := EbaiSupplierInfo[param["supplier_id"].(string)]
|
ebaiInfo := EbaiSupplierInfo[param["supplier_id"].(string)]
|
||||||
param["name"] = params["vendorStoreName"]
|
param["name"] = params["vendorStoreName"]
|
||||||
param["phone"] = phone
|
// param["phone"] = phone
|
||||||
param["ivr_phone"] = phone
|
// param["ivr_phone"] = phone
|
||||||
param["service_phone"] = storeDetail.Tel1
|
// param["service_phone"] = storeDetail.Tel1
|
||||||
|
param["phone"] = "18160030913"
|
||||||
|
param["ivr_phone"] = "18160030913"
|
||||||
|
param["service_phone"] = "18160030913"
|
||||||
param["address"] = storeDetail.Address
|
param["address"] = storeDetail.Address
|
||||||
param["longitude"] = jxutils.IntCoordinate2Standard(storeDetail.Lng)
|
param["longitude"] = jxutils.IntCoordinate2Standard(storeDetail.Lng)
|
||||||
param["latitude"] = jxutils.IntCoordinate2Standard(storeDetail.Lat)
|
param["latitude"] = jxutils.IntCoordinate2Standard(storeDetail.Lat)
|
||||||
|
|||||||
Reference in New Issue
Block a user