导入会员

This commit is contained in:
苏尹岚
2020-11-09 10:09:37 +08:00
parent bfc99196a8
commit 8abb7ffd13
3 changed files with 16 additions and 1 deletions

View File

@@ -195,7 +195,7 @@ func (c *JobController) AuditJob() {
// @Title 导入美团会员
// @Description 导入美团会员
// @Param token header string true "认证token"
// @Param token header string false "认证token"
// @Param payload formData string true "mtmembers struct"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult

View File

@@ -289,5 +289,11 @@ func (c *User2Controller) InvestMember() {
// @Failure 200 {object} controllers.CallResult
// @router /UpdateUser [put]
func (c *User2Controller) UpdateUser() {
c.callUpdateUser(func(params *tUser2UpdateUserParams) (retVal interface{}, errCode string, err error) {
payload := make(map[string]interface{})
if err = jxutils.Strings2Objs(params.Payload, &payload); err == nil {
}
return retVal, "", err
})
}