|
@@ -226,11 +226,11 @@ func Apply(c *gin.Context) {
|
|
|
return
|
|
|
}
|
|
|
userInfo := userService.GetInfoByClaims(c)
|
|
|
- openId := userInfo.OpenID
|
|
|
- if openId == "" {
|
|
|
- response.Fail("参数异常", c)
|
|
|
- return
|
|
|
- }
|
|
|
+ //openId := userInfo.OpenID
|
|
|
+ //if openId == "" {
|
|
|
+ // response.Fail("参数异常", c)
|
|
|
+ // return
|
|
|
+ //}
|
|
|
_, err := userLogic.Apply(int(userInfo.UserID), userInfo.CompanyID, userInfo.Mobile, userInfo.Email, req)
|
|
|
|
|
|
if err != nil {
|