This commit is contained in:
suyl
2021-06-02 16:28:41 +08:00
parent f36caf0a90
commit c219481ad5
3 changed files with 18 additions and 0 deletions

View File

@@ -725,6 +725,7 @@ func GetVendorStore(ctx *jxcontext.Context, vendorID int, vendorOrgCode, vendorS
retVal = &StoreExt{
Store: store.Store,
}
retVal.Name = store.Name
if retVal.Status == model.StoreStatusDisabled {
retVal.BussinessStatus = -1
} else {

View File

@@ -24,6 +24,10 @@ const (
StoreAuditStatusRejected = -1
StoreAuditStatusUpdated = 2
StoreAuditStatusAll = -9
StoreMapAuditStatusWait = 1 //待审核
StoreMapAuditStatusPass = 2 //审核通过
StoreMapAuditStatusUnPass = 3 //审核不通过
)
const (

View File

@@ -214,6 +214,19 @@ func (c *StoreController) AddStoreVendorMap() {
})
}
// @Title 商户新增门店映射信息
// @Description 商户新增门店映射信息
// @Param token header string true "认证token"
// @Param storeID formData int true "门店IDpayload中的相应字段会被忽略"
// @Param vendorID formData int true "厂商IDpayload中的相应字段会被忽略"
// @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"