Commit 8d0eacc7 authored by libin's avatar libin

applet登录注册

parent c90c3dab
......@@ -188,7 +188,7 @@ public class AuthController {
}
@PostMapping(value = "/applet/registry")
public JSONObject registryWithApplet(@RequestParam("phone") String phone,@RequestParam("password") String pwd,@RequestParam("mobilecode") String code)throws Exception {
public JSONObject registryWithApplet(@RequestParam("username") String phone,@RequestParam("password") String pwd,@RequestParam("mobilecode") String code)throws Exception {
JSONObject data=appAuthService.appletRegistry(phone,pwd,code);
if(data!=null&&data.getInteger("status")== ResultCode.SUCCESS_CODE){
JSONObject result=data.getJSONObject("data");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment