|
@@ -0,0 +1,42 @@
|
|
|
|
+package cn.com.qmth.examcloud.core.basic.api.provider;
|
|
|
|
+
|
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
+
|
|
|
|
+import cn.com.qmth.examcloud.commons.web.support.ControllerSupport;
|
|
|
|
+import cn.com.qmth.examcloud.core.basic.api.UserCloudService;
|
|
|
|
+import cn.com.qmth.examcloud.core.basic.api.request.AddUserReq;
|
|
|
|
+import cn.com.qmth.examcloud.core.basic.api.request.GetUserReq;
|
|
|
|
+import cn.com.qmth.examcloud.core.basic.api.response.AddUserResp;
|
|
|
|
+import cn.com.qmth.examcloud.core.basic.api.response.GetUserResp;
|
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
|
+
|
|
|
|
+/**
|
|
|
|
+ * 类注释
|
|
|
|
+ *
|
|
|
|
+ * @author WANGWEI
|
|
|
|
+ * @date 2018年7月23日
|
|
|
|
+ * @Copyright (c) 2018-? http://qmth.com.cn All Rights Reserved.
|
|
|
|
+ */
|
|
|
|
+@RestController
|
|
|
|
+@RequestMapping("${$rmp.cloud.basic}" + "user")
|
|
|
|
+public class UserCloudServiceProvider extends ControllerSupport implements UserCloudService {
|
|
|
|
+
|
|
|
|
+ private static final long serialVersionUID = -7881522922704971610L;
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value = "保存用户")
|
|
|
|
+ @PostMapping("addUser")
|
|
|
|
+ @Override
|
|
|
|
+ public AddUserResp addUser(AddUserReq req) {
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @ApiOperation(value = "获取用户")
|
|
|
|
+ @PostMapping("getUser")
|
|
|
|
+ @Override
|
|
|
|
+ public GetUserResp getUser(GetUserReq req) {
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+}
|