aa
This commit is contained in:
@@ -214,19 +214,6 @@ func (c *StoreController) AddStoreVendorMap() {
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 商户新增门店映射信息
|
||||
// @Description 商户新增门店映射信息
|
||||
// @Param token header string true "认证token"
|
||||
// @Param storeID formData int true "门店ID,payload中的相应字段会被忽略"
|
||||
// @Param vendorID formData int true "厂商ID,payload中的相应字段会被忽略"
|
||||
// @Param vendorOrgCode formData string false "厂商内组织代码"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /AddStoreVendorMapByUser [post]
|
||||
func (c *StoreController) AddStoreVendorMapByUser() {
|
||||
|
||||
}
|
||||
|
||||
// @Title 删除门店映射信息
|
||||
// @Description 删除门店映射信息
|
||||
// @Param token header string true "认证token"
|
||||
@@ -1111,3 +1098,23 @@ func (c *StoreController) UpdateVendorStoreBussinessStatus() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 商户申请授权绑定
|
||||
// @Description 商户申请授权绑定
|
||||
// @Param token header string true "认证token"
|
||||
// @Param storeID formData int true "门店ID,payload中的相应字段会被忽略"
|
||||
// @Param vendorID formData int true "厂商ID,payload中的相应字段会被忽略"
|
||||
// @Param vendorOrgCode formData string false "厂商内组织代码"
|
||||
// @Param vendorStoreID formData string false "平台门店ID"
|
||||
// @Param vendorStoreName formData string false "平台门店名"
|
||||
// @Param vendorAccount formData string true "平台账号"
|
||||
// @Param vendorPasswaord formData string false "平台账号密码"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /AddStoreMapAudit [post]
|
||||
func (c *StoreController) AddStoreMapAudit() {
|
||||
c.callAddStoreMapAudit(func(params *tStoreAddStoreMapAuditParams) (retVal interface{}, errCode string, err error) {
|
||||
err = cms.AddStoreMapAudit(params.Ctx, params.StoreID, params.VendorID, params.VendorOrgCode, params.VendorStoreID, params.VendorStoreName, params.VendorAccount, params.VendorPasswaord)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user