提交 4bf5277b 编写于 作者:  Peijun.zhao's avatar Peijun.zhao

appleLoginfix

上级 8bdb779e
流水线 #22176 已失败 于阶段
in 0 second
...@@ -71,6 +71,14 @@ public class AutoCodeController extends AccountBaseController { ...@@ -71,6 +71,14 @@ public class AutoCodeController extends AccountBaseController {
} }
/**
* @Description native获取验证码,新老版本兼容 todo joy
* @Author peijun.zhao
* @Date 2020/2/28 9:55
* @ModifyDate 2020/2/28 9:55
* @Params [entity, req]
* @Return com.pica.cloud.foundation.entity.PicaResponse
*/
@ApiOperation("获取短信验证码,无需图形验证码,如app端") @ApiOperation("获取短信验证码,无需图形验证码,如app端")
@PostMapping(value = "/authCode") @PostMapping(value = "/authCode")
public PicaResponse getAuthCode(@RequestBody EncryptEntity entity, HttpServletRequest req) throws Exception { public PicaResponse getAuthCode(@RequestBody EncryptEntity entity, HttpServletRequest req) throws Exception {
...@@ -96,6 +104,14 @@ public class AutoCodeController extends AccountBaseController { ...@@ -96,6 +104,14 @@ public class AutoCodeController extends AccountBaseController {
} }
} }
/**
* @Description web获取效验码-老版,记录风控行为 todo joy
* @Author peijun.zhao
* @Date 2020/2/28 9:52
* @ModifyDate 2020/2/28 9:52
* @Params [entity]
* @Return com.pica.cloud.foundation.entity.PicaResponse<java.lang.String>
*/
@ApiOperation("获取短信验证码,需要图形验证码,如H5端和PC端;验证码类型 0默认 1注册 2微信登录绑定手机 3修改手机 4重置密码 5忘记密码 7患者招募提交问卷(效验)") @ApiOperation("获取短信验证码,需要图形验证码,如H5端和PC端;验证码类型 0默认 1注册 2微信登录绑定手机 3修改手机 4重置密码 5忘记密码 7患者招募提交问卷(效验)")
@PostMapping("/account/authCode") @PostMapping("/account/authCode")
public PicaResponse<String> getAuthCodeWithCaptcha(@RequestBody EncryptEntity entity, public PicaResponse<String> getAuthCodeWithCaptcha(@RequestBody EncryptEntity entity,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册