This commit is contained in:
suyl
2021-06-03 14:34:23 +08:00
parent 86eb5f6951
commit 71da34111c
5 changed files with 111 additions and 20 deletions

View File

@@ -1118,3 +1118,21 @@ func (c *StoreController) AddStoreMapAudit() {
return retVal, "", err
})
}
// @Title 审核商户申请授权
// @Description 审核商户申请授权
// @Param token header string true "认证token"
// @Param ID formData int true "申请记录的ID"
// @Param vendorOrgCode formData string false "厂商内组织代码"
// @Param vendorStoreID formData string false "平台门店ID"
// @Param auditStatus formData int false "审核标志1为通过-1为不通过"
// @Param comment formData string false "不通过原因"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /AuditStoreMap [post]
func (c *StoreController) AuditStoreMap() {
c.callAuditStoreMap(func(params *tStoreAuditStoreMapParams) (retVal interface{}, errCode string, err error) {
err = cms.AuditStoreMap(params.Ctx, params.ID, params.VendorOrgCode, params.VendorStoreID, params.AuditStatus, params.Comment)
return retVal, "", err
})
}