From dd15f7f00e9eda3b15bd956ff830ccbe78752a4f Mon Sep 17 00:00:00 2001
From: wuzeyu <1223318623@qq.com>
Date: 星期一, 20 五月 2024 17:11:07 +0800
Subject: [PATCH] 田间灌溉项目管理 项目模块 解决分页问题、增加创建时间字段、解决地址ID不一致问题 灌溉单元模块 创建Ctrl SV mapper 实体类
---
pipIrr-platform/pipIrr-web/pipIrr-web-demo/src/main/java/com/dy/pipIrrDemo/demo/DemoCtrl.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-demo/src/main/java/com/dy/pipIrrDemo/demo/DemoCtrl.java b/pipIrr-platform/pipIrr-web/pipIrr-web-demo/src/main/java/com/dy/pipIrrDemo/demo/DemoCtrl.java
index c97b192..53bc971 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-demo/src/main/java/com/dy/pipIrrDemo/demo/DemoCtrl.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-demo/src/main/java/com/dy/pipIrrDemo/demo/DemoCtrl.java
@@ -66,8 +66,8 @@
)
})
@GetMapping("info/{id}/")
- //http://127.0.0.1:8080/base/demo/info/123234234/?name=寮犱笁
- @SsoAop(power="123456", ifAllPower = {"123", "456"})
+ //http://127.0.0.1:8000/demo/demo/info/123234234/?name=寮犱笁
+ @SsoAop()
public BaseResponse<String> info(@PathVariable String id, @RequestParam String name) throws GlException{
if(name == null || name.trim().equals("")){
return BaseResponseUtils.buildFail(ResultCodeMsg.RsMsg.ERROR_PARAM);
@@ -96,7 +96,7 @@
))
@PostMapping(value = "test", consumes = "application/json")
//@RequestMapping(value="test", method = RequestMethod.POST, consumes = "application/json")
- //http://127.0.0.1:8080/base/demo/test/{"id":123456789,"age":12,"name":"test","tel":"1230987654"}
+ //http://127.0.0.1:8000/demo/demo/test/{"id":123456789,"age":12,"name":"test","tel":"1230987654"}
public BaseResponse<DemoTest> test(@RequestBody DemoTestVo req){
DemoTest po = new DemoTest() ;
po.id = System.currentTimeMillis() ;
@@ -116,8 +116,8 @@
@GetMapping("test1")
public BaseResponse<BaUser> test1(){
BaUser po = new BaUser() ;
- po.id = System.currentTimeMillis() ;
- po.name = "寮犱笁" ;
+ po.userId = System.currentTimeMillis() ;
+ po.userName = "寮犱笁" ;
po.phone = "13912345678" ;
return BaseResponseUtils.buildSuccess(po);
--
Gitblit v1.8.0