门店审核

This commit is contained in:
苏尹岚
2020-09-16 11:05:10 +08:00
parent f158420aee
commit 3d4b13eb98
2 changed files with 18 additions and 2 deletions

View File

@@ -840,3 +840,20 @@ func (c *StoreController) UpdateStorePushClient() {
return retVal, "", err
})
}
// @Title 用户申请门店审核
// @Description 用户申请门店审核
// @Param token header string true "认证token"
// @Param payload formData string true "json数据store对象"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /CreateStoreAudit [post]
func (c *StoreController) CreateStoreAudit() {
c.callCreateStoreAudit(func(params *tStoreCreateStoreAuditParams) (retVal interface{}, errCode string, err error) {
store := &model.StoreAudit{}
if err = utils.UnmarshalUseNumber([]byte(params.Payload), store); err == nil {
// retVal, err = cms.CreateStore(params.Ctx, store, params.Ctx.GetUserName())
}
return retVal, "", err
})
}