Commit 6eea5b45 authored by 廖旭伟's avatar 廖旭伟

手机号码短信登录

parent c8dd0eef
...@@ -13,10 +13,14 @@ import com.mortals.xhx.base.system.user.service.UserService; ...@@ -13,10 +13,14 @@ import com.mortals.xhx.base.system.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
@RestController
@RequestMapping("sms")
public class SMSLoginController extends BaseJsonBodyController { public class SMSLoginController extends BaseJsonBodyController {
@Autowired @Autowired
private UserService userService; private UserService userService;
......
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