فهرست منبع

Merge branch 'huangyuan-user' of lift-manager/lift-server into develop

huangyuan 5 سال پیش
والد
کامیت
cbff628d67

+ 9 - 7
lift-system-service/src/main/java/cn/com/ty/lift/system/user/controller/UserController.java

@@ -1,7 +1,9 @@
-package cn.com.ty.lift.system.user.controller;
-
-import org.springframework.web.bind.annotation.RestController;
-
-@RestController
-public class UserController {
-}
+package cn.com.ty.lift.system.user.controller;
+
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+@RestController
+@RequestMapping("/user")
+public class UserController {
+
+}

+ 10 - 0
lift-system-service/src/main/java/cn/com/ty/lift/system/user/service/IUserService.java

@@ -0,0 +1,10 @@
+package cn.com.ty.lift.system.user.service;
+
+/**
+ * <h1>.</h1><BR>
+ * @author huangyuan - 2019-11-25 18:36:53
+ */
+public interface IUserService{
+
+	
+}

+ 0 - 7
lift-system-service/src/main/java/cn/com/ty/lift/system/user/service/UserService.java

@@ -1,7 +0,0 @@
-package cn.com.ty.lift.system.user.service;
-
-import org.springframework.stereotype.Service;
-
-@Service
-public class UserService {
-}

+ 15 - 0
lift-system-service/src/main/java/cn/com/ty/lift/system/user/service/impl/UserService.java

@@ -0,0 +1,15 @@
+package cn.com.ty.lift.system.user.service.impl;
+
+import cn.com.ty.lift.system.user.service.IUserService;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+
+/**
+ * <h1>.</h1><BR>
+ * @author huangyuan - 2019-11-25 18:36:53
+ */
+@Service("IUserService")
+@Transactional
+public class UserService implements IUserService {
+
+}