|
@@ -0,0 +1,23 @@
|
|
|
+package cn.com.ty.lift.system.user.controller;
|
|
|
+
|
|
|
+import cn.com.ty.lift.common.Constants.ApiConstants;
|
|
|
+import cn.com.xwy.boot.web.dto.RestResponse;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @author huangy
|
|
|
+ * @date 2019-11-29
|
|
|
+ * @description 用户登录
|
|
|
+ */
|
|
|
+@RestController
|
|
|
+@RequestMapping("/login")
|
|
|
+public class LoginController {
|
|
|
+
|
|
|
+ @RequestMapping("/register")
|
|
|
+ public RestResponse register(){
|
|
|
+ return RestResponse.ok(null, ApiConstants.RESULT_SUCCESS, "注册成功");
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+}
|