Commit c7ff08c1 authored by zhouqian's avatar zhouqian

登录增加系统key

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