aa
This commit is contained in:
@@ -97,6 +97,18 @@ func (p *PurchaseHandler) CreateStore(db *dao.DaoDB, storeID int, userName strin
|
||||
}
|
||||
|
||||
func (p *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName string, params map[string]interface{}, storeDetail *dao.StoreDetail) (vendorStoreID string, err error) {
|
||||
poiSettleSaveParam := &mtwmapi.PoiSettleSaveParam{
|
||||
Type: 0, //创建
|
||||
ApplyInfos: []*mtwmapi.ApplyInfo{
|
||||
&mtwmapi.ApplyInfo{
|
||||
MultiPoiBasicInfo: &mtwmapi.MultiPoiBasicInfo{
|
||||
Name: params["vendorStoreName"].(string),
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
mtapi := getAPI(storeDetail.VendorOrgCode, storeDetail.ID, "")
|
||||
mtapi.PoiSettleSave(poiSettleSaveParam)
|
||||
return vendorStoreID, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user