Commit 2ad7b00c authored by Junling Bu's avatar Junling Bu
Browse files

chore[litemall-wx-api]: 接口方法缩小

parent eac36ce3
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* vue-router * vue-router
* axios * axios
* element * element
* vue-element-admin 4.2.1 * vue-element-admin 4.3.0
* 其他,见package.json * 其他,见package.json
* 管理后台后端, 即litemall-admin-api模块 * 管理后台后端, 即litemall-admin-api模块
* Spring Boot 2.x * Spring Boot 2.x
...@@ -18,9 +18,6 @@ ...@@ -18,9 +18,6 @@
* `缺失`首页中实现一些小组件,同时点击能够跳转相应页面 * `缺失`首页中实现一些小组件,同时点击能够跳转相应页面
* `缺失`支持导出表所有数据 * `缺失`支持导出表所有数据
* `改善`管理员登录页面打开慢,优化速度
* `改善`地址优化,目前每一次点击都会请求后台,应该缓存已有的数据
* `改善`vue和vue-element-admin等及时更新
## 4.1 litemall-admin-api ## 4.1 litemall-admin-api
......
...@@ -1339,11 +1339,11 @@ litemall-admin编译得到的前端文件在第一次加载时相当耗时,这 ...@@ -1339,11 +1339,11 @@ litemall-admin编译得到的前端文件在第一次加载时相当耗时,这
这里deploy部署方式比较简单不灵活,开发者可以参考开发自己的项目脚本。 这里deploy部署方式比较简单不灵活,开发者可以参考开发自己的项目脚本。
#### 1.7.2.2 .gitlab-ci.yml部署 #### 1.7.2.2 docker部署
目前不支持 当前项目存在docker部署文件夹,这个是上述1.5.1节部署腾讯云服务器所采取的一些脚本。
#### 1.7.2.3 docker部署 #### 1.7.2.3 .gitlab-ci.yml部署
目前不支持 目前不支持
......
...@@ -3,6 +3,7 @@ package org.linlinjava.litemall.wx.web; ...@@ -3,6 +3,7 @@ package org.linlinjava.litemall.wx.web;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.linlinjava.litemall.core.util.ResponseUtil; import org.linlinjava.litemall.core.util.ResponseUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
...@@ -19,7 +20,7 @@ public class WxIndexController { ...@@ -19,7 +20,7 @@ public class WxIndexController {
* *
* @return 测试数据 * @return 测试数据
*/ */
@RequestMapping("/index") @GetMapping("/index")
public Object index() { public Object index() {
return ResponseUtil.ok("hello world, this is wx service"); return ResponseUtil.ok("hello world, this is wx service");
} }
......
...@@ -28,7 +28,7 @@ public class WxIssueController { ...@@ -28,7 +28,7 @@ public class WxIssueController {
/** /**
* 帮助中心 * 帮助中心
*/ */
@RequestMapping("/list") @GetMapping("/list")
public Object list(String question, public Object list(String question,
@RequestParam(defaultValue = "1") Integer page, @RequestParam(defaultValue = "1") Integer page,
@RequestParam(defaultValue = "10") Integer size, @RequestParam(defaultValue = "10") Integer size,
......
Supports Markdown
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