From: Xia Kaixiang Date: Tue, 23 Apr 2019 08:46:37 +0000 (+0800) Subject: 页面 X-Git-Tag: 1.0.0^2~251 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=64214241674341273fedb0fb0fb9626164d889f6;p=epayment%2Ffood_payapi.git 页面 --- diff --git a/config/application-devel-oracle.properties b/config/application-devel-oracle.properties index 1357d12c..d1fe9bac 100644 --- a/config/application-devel-oracle.properties +++ b/config/application-devel-oracle.properties @@ -19,4 +19,6 @@ redis.database=0 # jwt settings jwt.secret=Zj5taLomEbrM0lk+NMQZbHfSxaDU1wekjT+kiC3YzDw= # timeout seconds -jwt.expiration=3600 \ No newline at end of file +jwt.expiration=3600 +# user password +auth.password.bcrypt.seed= \ No newline at end of file diff --git a/src/main/java/com/supwisdom/dlpay/framework/dao/OperatorDao.java b/src/main/java/com/supwisdom/dlpay/framework/dao/OperatorDao.java index da67163f..c25df481 100644 --- a/src/main/java/com/supwisdom/dlpay/framework/dao/OperatorDao.java +++ b/src/main/java/com/supwisdom/dlpay/framework/dao/OperatorDao.java @@ -1,10 +1,17 @@ package com.supwisdom.dlpay.framework.dao; import com.supwisdom.dlpay.framework.domain.TOperator; +import org.springframework.data.domain.Page; +import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; +import org.springframework.data.jpa.repository.JpaSpecificationExecutor; +import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Repository; @Repository -public interface OperatorDao extends JpaRepository { +public interface OperatorDao extends JpaRepository, JpaSpecificationExecutor { TOperator findByOpercode(String opercode); + + @Query(value = "select t from TOperator t where (t.opercode=?1 or ?1 is null) and (t.opername like %?2% or ?2 is null)") + Page getTOperatorsByPage(String opercode, String opername, String mobile, String status, Pageable pageable); } diff --git a/src/main/java/com/supwisdom/dlpay/framework/dao/RoleDao.java b/src/main/java/com/supwisdom/dlpay/framework/dao/RoleDao.java index 25eee0d5..bd2e5d7c 100644 --- a/src/main/java/com/supwisdom/dlpay/framework/dao/RoleDao.java +++ b/src/main/java/com/supwisdom/dlpay/framework/dao/RoleDao.java @@ -2,8 +2,13 @@ package com.supwisdom.dlpay.framework.dao; import com.supwisdom.dlpay.framework.domain.TRole; import org.springframework.data.jpa.repository.JpaRepository; +import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Repository; +import java.util.List; + @Repository public interface RoleDao extends JpaRepository { + @Query("from TRole order by createtime asc ") + List getAllRoles(); } diff --git a/src/main/java/com/supwisdom/dlpay/framework/domain/TOperator.java b/src/main/java/com/supwisdom/dlpay/framework/domain/TOperator.java index 520f19a5..ec03a6d3 100644 --- a/src/main/java/com/supwisdom/dlpay/framework/domain/TOperator.java +++ b/src/main/java/com/supwisdom/dlpay/framework/domain/TOperator.java @@ -33,6 +33,12 @@ public class TOperator implements UserDetails { @Column(name = "STATUS", nullable = false, length = 32) private String status; + @Column(name = "MOBILE", length = 20) + private String mobile; + + @Column(name = "EMAIL", length = 60) + private String email; + @Column(name = "OPENDATE", length = 8) private String opendate; @@ -50,12 +56,14 @@ public class TOperator implements UserDetails { this.opername = opername; } - public TOperator(String opercode, String opertype, String opername, String operpwd, String status, String opendate, String closedate, Collection authorities) { + public TOperator(String opercode, String opertype, String opername, String operpwd, String status, String mobile, String email, String opendate, String closedate, Collection authorities) { this.opercode = opercode; this.opertype = opertype; this.opername = opername; this.operpwd = operpwd; this.status = status; + this.mobile = mobile; + this.email = email; this.opendate = opendate; this.closedate = closedate; this.authorities = authorities; @@ -109,6 +117,22 @@ public class TOperator implements UserDetails { this.status = status; } + public String getMobile() { + return mobile; + } + + public void setMobile(String mobile) { + this.mobile = mobile; + } + + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + public String getOpendate() { return opendate; } diff --git a/src/main/java/com/supwisdom/dlpay/framework/util/PageResult.java b/src/main/java/com/supwisdom/dlpay/framework/util/PageResult.java new file mode 100644 index 00000000..13921a51 --- /dev/null +++ b/src/main/java/com/supwisdom/dlpay/framework/util/PageResult.java @@ -0,0 +1,63 @@ +package com.supwisdom.dlpay.framework.util; + +import java.util.List; + +public class PageResult { + + private int code; //状态码, 0表示成功 + + private String msg; //提示信息 + + private long count; // 总数量 + + private List data; // 当前数据 + + public PageResult() { + } + + public PageResult(List rows) { + this.data = rows; + this.count = rows.size(); + this.code = 0; + this.msg = ""; + } + + public PageResult(long total, List rows) { + this.count = total; + this.data = rows; + this.code = 0; + this.msg = ""; + } + + public int getCode() { + return code; + } + + public void setCode(int code) { + this.code = code; + } + + public String getMsg() { + return msg; + } + + public void setMsg(String msg) { + this.msg = msg; + } + + public long getCount() { + return count; + } + + public void setCount(long count) { + this.count = count; + } + + public List getData() { + return data; + } + + public void setData(List data) { + this.data = data; + } +} diff --git a/src/main/java/com/supwisdom/dlpay/framework/util/WebConstant.java b/src/main/java/com/supwisdom/dlpay/framework/util/WebConstant.java new file mode 100644 index 00000000..01df8c76 --- /dev/null +++ b/src/main/java/com/supwisdom/dlpay/framework/util/WebConstant.java @@ -0,0 +1,6 @@ +package com.supwisdom.dlpay.framework.util; + +public class WebConstant { + public static final int PAGENO_DEFAULT = 1; + public static final int PAGESIZE_DEFAULT = 10; +} diff --git a/src/main/kotlin/com/supwisdom/dlpay/framework/controller/security_controller.kt b/src/main/kotlin/com/supwisdom/dlpay/framework/controller/security_controller.kt index e2ba3abc..24afe10b 100644 --- a/src/main/kotlin/com/supwisdom/dlpay/framework/controller/security_controller.kt +++ b/src/main/kotlin/com/supwisdom/dlpay/framework/controller/security_controller.kt @@ -11,11 +11,11 @@ import com.supwisdom.dlpay.framework.redisrepo.ApiClientRepository import com.supwisdom.dlpay.framework.redisrepo.ApiJwtRepository import com.supwisdom.dlpay.framework.security.validate.ImageCodeUtil import com.supwisdom.dlpay.framework.security.validate.VerifyCode +import com.supwisdom.dlpay.framework.service.CommonService import com.supwisdom.dlpay.framework.service.SystemUtilService import com.supwisdom.dlpay.framework.util.DateUtil import com.supwisdom.dlpay.framework.util.HmacUtil import com.supwisdom.dlpay.framework.util.TradeDict -import com.supwisdom.dlpay.system.service.CommonService import com.supwisdom.dlpay.system.service.FunctionService import mu.KotlinLogging import org.springframework.beans.factory.annotation.Autowired @@ -175,28 +175,28 @@ class ValidateCodeController { @Controller -class WebHomeController { - - private val logger = KotlinLogging.logger {} +class WebMainController { @Autowired lateinit var functionService: FunctionService @Autowired lateinit var commonService: CommonService + private val logger = KotlinLogging.logger {} + @GetMapping("/login") fun loginView() = "login" @GetMapping("/logout") fun logout(request: HttpServletRequest, response: HttpServletResponse): String { SecurityContextHolder.getContext().authentication?.also { - logger.debug { "user logout!!" } + logger.debug { "user logout!! " } SecurityContextLogoutHandler().logout(request, response, it) } return "redirect:/login?logout" } @GetMapping(value = ["/", "/index"]) - fun homeView(@AuthenticationPrincipal operUser: UserDetails, model: Model): String { + fun menuView(@AuthenticationPrincipal operUser: UserDetails, model: Model): String { model.addAttribute("loginOper", operUser as TOperator) val funclist = functionService.getFunctionsByOperid(operUser.operid) model.addAttribute("menus", functionService.getMenuTree(funclist, "-1")) @@ -204,3 +204,53 @@ class WebHomeController { return "index" } } + +@Controller +@RequestMapping("/home") +class HomeController { + /** + * 控制台 + */ + @GetMapping("/console") + fun console() :String{ + return "home/console" + } + + /** + * 消息弹窗 + */ + @GetMapping("/message") + fun message(): String { + return "home/message" + } + + /** + * 修改密码弹窗 + */ + @GetMapping("/password") + fun password(): String { + return "home/password" + } + + /** + * 主题设置弹窗 + */ + @GetMapping("/theme") + fun theme(): String { + return "home/theme" + } + + /** + * 设置主题 + */ + @RequestMapping("/setTheme") + fun setTheme(themeName: String?, request: HttpServletRequest): String { + if (null == themeName) { + request.session.removeAttribute("theme") + } else { + request.session.setAttribute("theme", themeName) + } + return "redirect:/" + } + +} diff --git a/src/main/kotlin/com/supwisdom/dlpay/framework/service/framework_service.kt b/src/main/kotlin/com/supwisdom/dlpay/framework/service/framework_service.kt new file mode 100644 index 00000000..b072cc22 --- /dev/null +++ b/src/main/kotlin/com/supwisdom/dlpay/framework/service/framework_service.kt @@ -0,0 +1,5 @@ +package com.supwisdom.dlpay.framework.service + +interface CommonService{ + fun getSystemVersion(): String +} \ No newline at end of file diff --git a/src/main/kotlin/com/supwisdom/dlpay/framework/service/impl/framework_service_impl.kt b/src/main/kotlin/com/supwisdom/dlpay/framework/service/impl/framework_service_impl.kt new file mode 100644 index 00000000..7429de95 --- /dev/null +++ b/src/main/kotlin/com/supwisdom/dlpay/framework/service/impl/framework_service_impl.kt @@ -0,0 +1,17 @@ +package com.supwisdom.dlpay.framework.service.impl + +import com.jcabi.manifests.Manifests +import com.supwisdom.dlpay.framework.service.CommonService +import org.springframework.stereotype.Service + +@Service +class CommonServiceImpl : CommonService { + override fun getSystemVersion(): String { + try { + return Manifests.read("Payapi-Version") ?: "version 1.0" + } catch (ex: Exception) { +// ex.printStackTrace() + return "unknown" + } + } +} \ No newline at end of file diff --git a/src/main/kotlin/com/supwisdom/dlpay/system/bean/system_bean.kt b/src/main/kotlin/com/supwisdom/dlpay/system/bean/system_bean.kt new file mode 100644 index 00000000..10328b5f --- /dev/null +++ b/src/main/kotlin/com/supwisdom/dlpay/system/bean/system_bean.kt @@ -0,0 +1,11 @@ +package com.supwisdom.dlpay.system.bean + +/** + * 操作员查询类 + */ +class OperatorSearchBean { + var opercode: String? = "" + var opername: String? = "" + var mobile: String? = "" + var deleteShow: Boolean? = true +} \ No newline at end of file diff --git a/src/main/kotlin/com/supwisdom/dlpay/system/controller/system_controller.kt b/src/main/kotlin/com/supwisdom/dlpay/system/controller/system_controller.kt index 7477a8f0..235309b4 100644 --- a/src/main/kotlin/com/supwisdom/dlpay/system/controller/system_controller.kt +++ b/src/main/kotlin/com/supwisdom/dlpay/system/controller/system_controller.kt @@ -1 +1,34 @@ -package com.supwisdom.dlpay.system.controller \ No newline at end of file +package com.supwisdom.dlpay.system.controller + +import com.supwisdom.dlpay.system.service.OperatorService +import com.supwisdom.dlpay.system.service.RoleService +import org.springframework.beans.factory.annotation.Autowired +import org.springframework.stereotype.Controller +import org.springframework.ui.Model +import org.springframework.web.bind.annotation.GetMapping +import org.springframework.web.bind.annotation.RequestMapping + +@Controller +@RequestMapping("/operator") +class OperatorController { + @Autowired + lateinit var roleService: RoleService + @Autowired + lateinit var operatorService: OperatorService + + @GetMapping("/index") + fun indexView(model: Model): String { + model.addAttribute("roles", roleService.findAllRoles()) + return "system/operator/index" + } + +} + +@Controller +@RequestMapping("/role") +class RoleController { + @GetMapping("/index") + fun indexView(model: Model): String { + return "system/role/index" + } +} \ No newline at end of file diff --git a/src/main/kotlin/com/supwisdom/dlpay/system/service/impl/system_service_impl.kt b/src/main/kotlin/com/supwisdom/dlpay/system/service/impl/system_service_impl.kt index 8e017d5e..92ce6a95 100644 --- a/src/main/kotlin/com/supwisdom/dlpay/system/service/impl/system_service_impl.kt +++ b/src/main/kotlin/com/supwisdom/dlpay/system/service/impl/system_service_impl.kt @@ -2,24 +2,34 @@ package com.supwisdom.dlpay.system.service.impl import com.jcabi.manifests.Manifests import com.supwisdom.dlpay.framework.dao.FunctionDao +import com.supwisdom.dlpay.framework.dao.OperatorDao +import com.supwisdom.dlpay.framework.dao.RoleDao import com.supwisdom.dlpay.framework.domain.TFunction -import com.supwisdom.dlpay.system.service.CommonService +import com.supwisdom.dlpay.framework.domain.TOperator +import com.supwisdom.dlpay.framework.domain.TRole +import com.supwisdom.dlpay.framework.util.PageResult +import com.supwisdom.dlpay.framework.util.StringUtil +import com.supwisdom.dlpay.system.bean.OperatorSearchBean import com.supwisdom.dlpay.system.service.FunctionService +import com.supwisdom.dlpay.system.service.OperatorService +import com.supwisdom.dlpay.system.service.RoleService import org.springframework.beans.factory.annotation.Autowired import org.springframework.stereotype.Service import java.util.HashMap +import org.springframework.data.domain.PageRequest +import org.springframework.data.domain.Sort +import reactor.core.publisher.Operators.`as` +import java.util.ArrayList +import javax.persistence.criteria.CriteriaBuilder +import java.awt.print.Book +import org.springframework.data.jpa.domain.Specification +import org.springframework.data.repository.support.PageableExecutionUtils +import javax.persistence.criteria.CriteriaQuery +import javax.persistence.criteria.Predicate +import javax.persistence.criteria.Root + + -@Service -class CommonServiceImpl : CommonService { - override fun getSystemVersion(): String { - try { - return Manifests.read("Payapi-Version") ?: "version 1.0" - } catch (ex: Exception) { - ex.printStackTrace() - return "unknown" - } - } -} @Service class FunctionServiceImpl : FunctionService { @@ -49,4 +59,22 @@ class FunctionServiceImpl : FunctionService { return list } +} + +@Service +class OperatorServiceImpl : OperatorService { + @Autowired + lateinit var operatorDao: OperatorDao + +} + +@Service +class RoleServiceImpl: RoleService{ + @Autowired + lateinit var roleDao: RoleDao + + override fun findAllRoles(): List { + return roleDao.getAllRoles() ?: ArrayList(0) + } + } \ No newline at end of file diff --git a/src/main/kotlin/com/supwisdom/dlpay/system/service/system_service.kt b/src/main/kotlin/com/supwisdom/dlpay/system/service/system_service.kt index 71337324..d4d75575 100644 --- a/src/main/kotlin/com/supwisdom/dlpay/system/service/system_service.kt +++ b/src/main/kotlin/com/supwisdom/dlpay/system/service/system_service.kt @@ -1,12 +1,14 @@ package com.supwisdom.dlpay.system.service import com.supwisdom.dlpay.framework.domain.TFunction +import com.supwisdom.dlpay.framework.domain.TOperator +import com.supwisdom.dlpay.framework.domain.TRole +import com.supwisdom.dlpay.framework.util.PageResult +import com.supwisdom.dlpay.system.bean.OperatorSearchBean import org.springframework.transaction.annotation.Propagation import org.springframework.transaction.annotation.Transactional -interface CommonService{ - fun getSystemVersion(): String; -} + interface FunctionService { @Transactional(propagation = Propagation.REQUIRED, rollbackFor = arrayOf(Exception::class), readOnly = true) @@ -16,4 +18,14 @@ interface FunctionService { fun getMenuTree(funcList: List, parentId: String): List> +} + +interface OperatorService{ +// @Transactional(propagation = Propagation.REQUIRED, rollbackFor = arrayOf(Exception::class), readOnly = true) +// fun getOperatorsPageBySearch(pageNo: Int, pageSize: Int, searchBean: OperatorSearchBean): PageResult + +} + +interface RoleService{ + fun findAllRoles(): List } \ No newline at end of file diff --git a/src/main/resources/db/migration/V1.0__init_data.sql b/src/main/resources/db/migration/V1.0__init_data.sql index a28028b6..e7359519 100644 --- a/src/main/resources/db/migration/V1.0__init_data.sql +++ b/src/main/resources/db/migration/V1.0__init_data.sql @@ -2,7 +2,7 @@ insert into tb_apiclient(appid, secret, status, roles) values ('100001', 'oUw2NmA09ficiVWD4TUQLDOkPyzQa3VzbjjsW0B2qTk=', 'normal', 'ROLE_THIRD_ADMIN'); INSERT INTO tb_operator( operid, closedate, opendate, opercode, opername, operpwd, opertype, status) - VALUES ('LOR2IwRkbOjp+sVG9KR2BpHZbwGKepS4', '20500101', '20190101', 'system', '系统管理员', '$2a$10$Ex9xp11.vCaD8D0a7ahiUOKqDij1TcCUBwRAmrqXeDvAkmzLibn4.', '', 'normal'); + VALUES ('LOR2IwRkbOjp+sVG9KR2BpHZbwGKepS4', '20500101', '20190101', 'system', '系统管理员', '$2a$10$Ex9xp11.vCaD8D0a7ahiUOKqDij1TcCUBwRAmrqXeDvAkmzLibn4.', 'oper', 'normal'); INSERT INTO tb_role( roleid, createtime, editflag, lastsaved, rolecode, roledesc, rolename) @@ -19,4 +19,19 @@ Insert into TB_FUNCTION (ID,PARENTID,NAME,ORDERNUM,MENUURL,MENUICON,ISLEAF) values ('2','1','管理员维护',1,'#','layui-icon-set',1); Insert into TB_ROLE_FUNCTION (ID,FUNCTIONID,ROLEID) values ('1','1','d1yctWs5+ks0iQN3m9bUvRHus6HbKbrs'); -Insert into TB_ROLE_FUNCTION (ID,FUNCTIONID,ROLEID) values ('2','2','d1yctWs5+ks0iQN3m9bUvRHus6HbKbrs'); \ No newline at end of file +Insert into TB_ROLE_FUNCTION (ID,FUNCTIONID,ROLEID) values ('2','2','d1yctWs5+ks0iQN3m9bUvRHus6HbKbrs'); + +Insert into TB_FUNCTION (ID,CREATETIME,ISLEAF,LASTSAVED,MENUICON,MENUURL,NAME,ORDERNUM,PARENTID) values ('1',null,0,null,'layui-icon-home','#','主页',1,'-1'); +Insert into TB_FUNCTION (ID,CREATETIME,ISLEAF,LASTSAVED,MENUICON,MENUURL,NAME,ORDERNUM,PARENTID) values ('2',null,1,null,'layui-icon-home','/home/console','控制台',1,'1'); +Insert into TB_FUNCTION (ID,CREATETIME,ISLEAF,LASTSAVED,MENUICON,MENUURL,NAME,ORDERNUM,PARENTID) values ('3',null,0,null,'layui-icon-set','#','系统中心',2,'-1'); +Insert into TB_FUNCTION (ID,CREATETIME,ISLEAF,LASTSAVED,MENUICON,MENUURL,NAME,ORDERNUM,PARENTID) values ('4',null,1,null,'layui-icon-set','/operator/index','管理员维护',1,'3'); +Insert into TB_FUNCTION (ID,CREATETIME,ISLEAF,LASTSAVED,MENUICON,MENUURL,NAME,ORDERNUM,PARENTID) values ('5',null,1,null,'layui-icon-set','/role/index','角色管理',2,'3'); + + +Insert into TB_ROLE_FUNCTION (ID,FUNCTIONID,ROLEID) values ('5','5','d1yctWs5+ks0iQN3m9bUvRHus6HbKbrs'); +Insert into TB_ROLE_FUNCTION (ID,FUNCTIONID,ROLEID) values ('1','1','d1yctWs5+ks0iQN3m9bUvRHus6HbKbrs'); +Insert into TB_ROLE_FUNCTION (ID,FUNCTIONID,ROLEID) values ('2','2','d1yctWs5+ks0iQN3m9bUvRHus6HbKbrs'); +Insert into TB_ROLE_FUNCTION (ID,FUNCTIONID,ROLEID) values ('3','3','d1yctWs5+ks0iQN3m9bUvRHus6HbKbrs'); +Insert into TB_ROLE_FUNCTION (ID,FUNCTIONID,ROLEID) values ('4','4','d1yctWs5+ks0iQN3m9bUvRHus6HbKbrs'); + +commit; diff --git a/src/main/resources/static/custom/css/console.css b/src/main/resources/static/custom/css/console.css new file mode 100755 index 00000000..1e550bf6 --- /dev/null +++ b/src/main/resources/static/custom/css/console.css @@ -0,0 +1,29 @@ +/** 卡片轮播图样式 */ +.admin-carousel .layui-carousel-ind { + position: absolute; + top: -41px; + text-align: right; +} + +.admin-carousel .layui-carousel-ind ul { + background: 0 0; +} + +.admin-carousel .layui-carousel-ind li { + background-color: #e2e2e2; +} + +.admin-carousel .layui-carousel-ind li.layui-this { + background-color: #999; +} + +/** 广告位轮播图 */ +.admin-news .layui-carousel-ind { + height: 45px; +} + +.admin-news a { + display: block; + line-height: 60px; + text-align: center; +} diff --git a/src/main/resources/static/libs/q.js b/src/main/resources/static/libs/q.js index a8094341..b235b20a 100755 --- a/src/main/resources/static/libs/q.js +++ b/src/main/resources/static/libs/q.js @@ -85,7 +85,6 @@ var Q = function (W, D, HTML, hash, view, arg, _arg, i, index, Regex, key, Q) { return this }, V: function () { - console.log('q.js 2014/12/28'); return this }, go: function (u) { diff --git a/src/main/resources/templates/home/console.html b/src/main/resources/templates/home/console.html new file mode 100755 index 00000000..027897c8 --- /dev/null +++ b/src/main/resources/templates/home/console.html @@ -0,0 +1,71 @@ +
+
+
+
+ 访问量周 +
+
+

9,999,666

+

总计访问量88万

+
+
+
+
+
+
+ 下载月 +
+
+

33,555

+

新下载10%

+
+
+
+
+
+
+ Start周 +
+
+

999,666

+

总Start数88万

+
+
+
+
+
+
+ 活跃用户月 +
+
+

66,666

+

最近一个月15%

+
+
+
+
+ + + + + + diff --git a/src/main/resources/templates/home/message.html b/src/main/resources/templates/home/message.html new file mode 100755 index 00000000..71a097b5 --- /dev/null +++ b/src/main/resources/templates/home/message.html @@ -0,0 +1,92 @@ + + + \ No newline at end of file diff --git a/src/main/resources/templates/home/password.html b/src/main/resources/templates/home/password.html new file mode 100755 index 00000000..931eb251 --- /dev/null +++ b/src/main/resources/templates/home/password.html @@ -0,0 +1,58 @@ +
+

修改密码

+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ + \ No newline at end of file diff --git a/src/main/resources/templates/home/theme.html b/src/main/resources/templates/home/theme.html new file mode 100755 index 00000000..67cb12a3 --- /dev/null +++ b/src/main/resources/templates/home/theme.html @@ -0,0 +1,37 @@ +
+

多标签:

+
+ +
+
+ +

设置主题:

+ + + \ No newline at end of file diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 95f2dee2..011e8f8f 100755 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -65,6 +65,7 @@
    +
  • [[${menu.menuName}]]
    diff --git a/src/main/resources/templates/system/operator/index.html b/src/main/resources/templates/system/operator/index.html new file mode 100644 index 00000000..d191a524 --- /dev/null +++ b/src/main/resources/templates/system/operator/index.html @@ -0,0 +1,157 @@ +
    +
    +

    管理员维护

    + + 系统中心 + 管理员维护 + +
    +
    +
    + 搜索: +   +   + + +
    + +
    +
    +
    + + + + + + + + + + diff --git a/src/main/resources/templates/system/role/index.html b/src/main/resources/templates/system/role/index.html new file mode 100644 index 00000000..df1c4150 --- /dev/null +++ b/src/main/resources/templates/system/role/index.html @@ -0,0 +1,12 @@ +
    +
    +

    角色管理

    + + 系统中心 + 角色管理 + +
    +
    +
    +
    +
    \ No newline at end of file