aa
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -24,6 +24,10 @@ const (
|
||||
StoreAuditStatusRejected = -1
|
||||
StoreAuditStatusUpdated = 2
|
||||
StoreAuditStatusAll = -9
|
||||
|
||||
StoreMapAuditStatusWait = 1 //待审核
|
||||
StoreMapAuditStatusPass = 2 //审核通过
|
||||
StoreMapAuditStatusUnPass = 3 //审核不通过
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -214,6 +214,19 @@ 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"
|
||||
|
||||
Reference in New Issue
Block a user