Commit c7ff08c1 authored by zhouqian's avatar zhouqian

登录增加系统key

parent 86b7db2f
...@@ -74,7 +74,7 @@ public class AppController implements IBaseController { ...@@ -74,7 +74,7 @@ public class AppController implements IBaseController {
@RequestMapping("/login") @RequestMapping("/login")
public JsonResult login( public JsonResult login(
String phoneNo, String phoneNo,
@RequestParam(required = false, defaultValue = "0") Long registerFrom, @RequestParam(required = false, defaultValue = "1") Long registerFrom,
@RequestParam(required = false, defaultValue = "1") Long channelId, @RequestParam(required = false, defaultValue = "1") Long channelId,
String idNo, String name, String key, HttpServletRequest request String idNo, String name, String key, HttpServletRequest request
) { ) {
......
...@@ -77,6 +77,8 @@ public class PageServiceImpl implements IPageService { ...@@ -77,6 +77,8 @@ public class PageServiceImpl implements IPageService {
routerDefinetion.put("cashTarget4", new PageType[] { routerDefinetion.put("cashTarget4", new PageType[] {
pageIdNo pageIdNo
}); });
routerDefinetion.put("cashTarget5", new PageType[] {
});
} }
@Override @Override
...@@ -88,6 +90,9 @@ public class PageServiceImpl implements IPageService { ...@@ -88,6 +90,9 @@ public class PageServiceImpl implements IPageService {
if (processLists == null) { if (processLists == null) {
return new Tuple<>("", false); return new Tuple<>("", false);
} }
if (processLists.length == 0) {
return new Tuple<>("", true);
}
boolean isBeforeCurrentPage = true; boolean isBeforeCurrentPage = true;
for (PageType page : processLists) { for (PageType page : processLists) {
if (!page.canPass(user)) { if (!page.canPass(user)) {
......
Markdown is supported
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