├── .gitignore ├── .travis.yml ├── StartpointServer ├── .gitignore ├── WebContent │ ├── META-INF │ │ └── MANIFEST.MF │ ├── html │ │ ├── body.html │ │ ├── bottom.html │ │ ├── top.html │ │ ├── left.html │ │ ├── token.html │ │ ├── updateUserGroup.html │ │ ├── createUserGroup.html │ │ ├── updateUser.html │ │ └── user.html │ ├── WEB-INF │ │ ├── lib │ │ │ ├── log-1.0.0.jar │ │ │ ├── log4j-1.2.17.jar │ │ │ ├── commons-io-2.5.jar │ │ │ ├── ezmorph-1.0.6.jar │ │ │ ├── mariadb-1.0.0.jar │ │ │ ├── mybatis-3.4.2.jar │ │ │ ├── commons-lang-2.6.jar │ │ │ ├── httpserver-1.0.0.jar │ │ │ ├── slf4j-api-1.7.22.jar │ │ │ ├── commons-logging-1.2.jar │ │ │ ├── json-lib-2.4-jdk15.jar │ │ │ ├── protobuf-java-3.1.0.jar │ │ │ ├── slf4j-log4j12-1.7.22.jar │ │ │ ├── threadkeylock-1.0.0.jar │ │ │ ├── commons-beanutils-1.9.3.jar │ │ │ ├── commons-collections-3.2.2.jar │ │ │ ├── commons-fileupload-1.3.2.jar │ │ │ ├── javax.servlet-api-3.1.0.jar │ │ │ ├── mariadb-java-client-1.5.7.jar │ │ │ ├── protobuf-java-format-1.4.jar │ │ │ └── mybatis-generator-core-1.3.5.jar │ │ └── web.xml │ ├── js │ │ ├── app │ │ │ ├── Url.js │ │ │ ├── CookieName.js │ │ │ ├── NotificationExt.js │ │ │ ├── module │ │ │ │ ├── TopMediator.js │ │ │ │ ├── BottomMediator.js │ │ │ │ ├── TokenMediator.js │ │ │ │ ├── UpdateUserGroupMediator.js │ │ │ │ ├── CreateUserGroupMediator.js │ │ │ │ ├── UpdateUserMediator.js │ │ │ │ ├── BodyMediator.js │ │ │ │ ├── UserMediator.js │ │ │ │ └── LeftMediator.js │ │ │ ├── CookieParam.js │ │ │ ├── IndexMediator.js │ │ │ └── data │ │ │ │ └── http │ │ │ │ └── TokenProxy.js │ │ └── lib │ │ │ ├── juggle-help.min.js │ │ │ ├── juggle-module.min.js │ │ │ ├── juggle-help.js │ │ │ ├── juggle-http.min.js │ │ │ ├── juggle-mv.min.js │ │ │ ├── juggle-resource.min.js │ │ │ ├── juggle-module.js │ │ │ ├── juggle-event.min.js │ │ │ ├── jquery.cookie.js │ │ │ ├── juggle-http.js │ │ │ └── juggle-resource.js │ └── index.html ├── protobuf │ ├── protoc.exe │ ├── protobuf编译.bat │ └── UCErrorProto.proto ├── src │ ├── main │ │ └── java │ │ │ ├── StartpointServer.properties │ │ │ ├── org │ │ │ └── startpoint │ │ │ │ ├── config │ │ │ │ ├── UserGroupConfig.java │ │ │ │ ├── UserConfig.java │ │ │ │ └── CommonConfigUCenter.java │ │ │ │ ├── tool │ │ │ │ ├── StringUtil.java │ │ │ │ ├── PageObj.java │ │ │ │ ├── PageFormat.java │ │ │ │ └── TimeUtils.java │ │ │ │ ├── util │ │ │ │ └── IdUtil.java │ │ │ │ ├── keylock │ │ │ │ └── UCenterKeyLockType.java │ │ │ │ ├── dao │ │ │ │ ├── ext │ │ │ │ │ └── UserGroupMapperExt.java │ │ │ │ └── base │ │ │ │ │ ├── UserMapper.java │ │ │ │ │ ├── TokenMapper.java │ │ │ │ │ └── UserGroupMapper.java │ │ │ │ ├── log │ │ │ │ ├── MyAppender.java │ │ │ │ ├── HttpLog.java │ │ │ │ ├── KeylockLog.java │ │ │ │ └── MariadbLog.java │ │ │ │ ├── model │ │ │ │ └── ext │ │ │ │ │ └── UserGroupExt.java │ │ │ │ ├── action │ │ │ │ └── UCErrorPack.java │ │ │ │ ├── http │ │ │ │ └── filter │ │ │ │ │ └── TokenHttpFilter.java │ │ │ │ ├── mappers │ │ │ │ └── ext │ │ │ │ │ └── UserGroupMapperExt.xml │ │ │ │ ├── plugin │ │ │ │ └── PaginationPlugin.java │ │ │ │ └── server │ │ │ │ └── Expand.java │ │ │ └── generatorConfig.xml │ └── test │ │ └── java │ │ └── org │ │ └── startpoint │ │ └── Test.java └── build-Server.xml ├── startpoint1.png ├── startpoint2.png ├── startpoint3.png ├── StartpointConfig ├── default.png └── mybatis-config.xml ├── StartpointClient ├── images │ ├── add.png │ ├── bg.png │ ├── bj1.png │ ├── pic.png │ ├── btn01.png │ ├── btn02.png │ ├── btn03.png │ ├── check.png │ ├── close.png │ ├── crumb.png │ ├── icon01.png │ ├── icon02.png │ ├── icon10.png │ ├── icon11.png │ ├── icon12.png │ ├── icon2.png │ ├── icon3.png │ ├── icon4.png │ ├── icon5.png │ ├── icon6.png │ ├── icon7.png │ ├── icon8.png │ ├── icon9.png │ ├── inp_01.png │ ├── inp_02.png │ ├── line.png │ ├── m_inp.png │ ├── photo.png │ ├── select.png │ ├── select_b.png │ ├── error_pwd.png │ ├── icon2_hover.png │ ├── layer_close.png │ ├── login_box2.png │ ├── login_btn.png │ ├── login_inp.png │ ├── login_pwd.png │ ├── login_user.png │ ├── pagination.png │ ├── user_photo.png │ └── select_repeat.png ├── js │ ├── lib │ │ ├── layer │ │ │ └── skin │ │ │ │ └── default │ │ │ │ ├── icon.png │ │ │ │ ├── icon-ext.png │ │ │ │ ├── loading-0.gif │ │ │ │ ├── loading-1.gif │ │ │ │ └── loading-2.gif │ │ ├── juggle-help.min.js │ │ ├── juggle-module.min.js │ │ ├── juggle-help.js │ │ ├── juggle-httpfilter.min.js │ │ ├── juggle-http.min.js │ │ ├── juggle-mv.min.js │ │ ├── juggle-resource.min.js │ │ ├── juggle-module.js │ │ ├── juggle-httpfilter.js │ │ ├── juggle-event.min.js │ │ ├── jquery.cookie.js │ │ ├── juggle-http.js │ │ └── juggle-resource.js │ └── app │ │ ├── CookieName.js │ │ ├── Url.js │ │ ├── CookieParam.js │ │ ├── UCErrorFilter.js │ │ ├── UCEventType.js │ │ ├── module │ │ ├── CreateGroupMediator.js │ │ ├── HeadMediator.js │ │ ├── CreateGroup1Mediator.js │ │ ├── UserInfoBoxMediator.js │ │ ├── CreateBoxMediator.js │ │ ├── EditBoxMediator.js │ │ └── RightMediator.js │ │ ├── NotificationExt.js │ │ ├── UCErrorMsg.js │ │ ├── data │ │ └── TokenProxy.js │ │ ├── IndexMediator.js │ │ ├── LoginMediator.js │ │ └── UserNode.js ├── html │ ├── right.html │ ├── createGroup.html │ ├── head.html │ ├── createGroup1.html │ ├── left.html │ ├── userInfoBox.html │ ├── userList.html │ ├── editBox.html │ └── createBox.html ├── css │ ├── pagination.css │ ├── reset.css │ ├── login.css │ ├── left.css │ ├── select.css │ └── index.css ├── login.html └── index.html ├── LICENSE ├── README.md └── startpoint.sql /.gitignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: java 2 | install: ant -------------------------------------------------------------------------------- /StartpointServer/.gitignore: -------------------------------------------------------------------------------- 1 | .settings 2 | .classpath 3 | .project 4 | build 5 | dist -------------------------------------------------------------------------------- /startpoint1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/startpoint1.png -------------------------------------------------------------------------------- /startpoint2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/startpoint2.png -------------------------------------------------------------------------------- /startpoint3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/startpoint3.png -------------------------------------------------------------------------------- /StartpointServer/WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /StartpointConfig/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointConfig/default.png -------------------------------------------------------------------------------- /StartpointClient/images/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/add.png -------------------------------------------------------------------------------- /StartpointClient/images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/bg.png -------------------------------------------------------------------------------- /StartpointClient/images/bj1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/bj1.png -------------------------------------------------------------------------------- /StartpointClient/images/pic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/pic.png -------------------------------------------------------------------------------- /StartpointClient/images/btn01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/btn01.png -------------------------------------------------------------------------------- /StartpointClient/images/btn02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/btn02.png -------------------------------------------------------------------------------- /StartpointClient/images/btn03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/btn03.png -------------------------------------------------------------------------------- /StartpointClient/images/check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/check.png -------------------------------------------------------------------------------- /StartpointClient/images/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/close.png -------------------------------------------------------------------------------- /StartpointClient/images/crumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/crumb.png -------------------------------------------------------------------------------- /StartpointClient/images/icon01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/icon01.png -------------------------------------------------------------------------------- /StartpointClient/images/icon02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/icon02.png -------------------------------------------------------------------------------- /StartpointClient/images/icon10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/icon10.png -------------------------------------------------------------------------------- /StartpointClient/images/icon11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/icon11.png -------------------------------------------------------------------------------- /StartpointClient/images/icon12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/icon12.png -------------------------------------------------------------------------------- /StartpointClient/images/icon2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/icon2.png -------------------------------------------------------------------------------- /StartpointClient/images/icon3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/icon3.png -------------------------------------------------------------------------------- /StartpointClient/images/icon4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/icon4.png -------------------------------------------------------------------------------- /StartpointClient/images/icon5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/icon5.png -------------------------------------------------------------------------------- /StartpointClient/images/icon6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/icon6.png -------------------------------------------------------------------------------- /StartpointClient/images/icon7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/icon7.png -------------------------------------------------------------------------------- /StartpointClient/images/icon8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/icon8.png -------------------------------------------------------------------------------- /StartpointClient/images/icon9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/icon9.png -------------------------------------------------------------------------------- /StartpointClient/images/inp_01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/inp_01.png -------------------------------------------------------------------------------- /StartpointClient/images/inp_02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/inp_02.png -------------------------------------------------------------------------------- /StartpointClient/images/line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/line.png -------------------------------------------------------------------------------- /StartpointClient/images/m_inp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/m_inp.png -------------------------------------------------------------------------------- /StartpointClient/images/photo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/photo.png -------------------------------------------------------------------------------- /StartpointClient/images/select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/select.png -------------------------------------------------------------------------------- /StartpointClient/images/select_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/select_b.png -------------------------------------------------------------------------------- /StartpointServer/protobuf/protoc.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointServer/protobuf/protoc.exe -------------------------------------------------------------------------------- /StartpointClient/images/error_pwd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/error_pwd.png -------------------------------------------------------------------------------- /StartpointClient/images/icon2_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/icon2_hover.png -------------------------------------------------------------------------------- /StartpointClient/images/layer_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/layer_close.png -------------------------------------------------------------------------------- /StartpointClient/images/login_box2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/login_box2.png -------------------------------------------------------------------------------- /StartpointClient/images/login_btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/login_btn.png -------------------------------------------------------------------------------- /StartpointClient/images/login_inp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/login_inp.png -------------------------------------------------------------------------------- /StartpointClient/images/login_pwd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/login_pwd.png -------------------------------------------------------------------------------- /StartpointClient/images/login_user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/login_user.png -------------------------------------------------------------------------------- /StartpointClient/images/pagination.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/pagination.png -------------------------------------------------------------------------------- /StartpointClient/images/user_photo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dianbaer/startpoint/HEAD/StartpointClient/images/user_photo.png -------------------------------------------------------------------------------- /StartpointServer/WebContent/html/body.html: -------------------------------------------------------------------------------- 1 | 2 |
用户组名称
5 | 6 | 保存 7 |用户管理中心
4 |上层用户组
6 | 7 |用户组名称
10 | 11 |
3 | | 用户名: | 7 |8 | | 手机: | 9 |10 | |
|---|---|---|---|
| 密码: | 13 |14 | | 邮箱: | 15 |16 | |
| 真实姓名: | 19 |20 | | 创建时间: | 21 |22 | |
| 性别: | 25 |26 | | 上次修改时间: | 27 |28 | |
| 年龄: | 31 |32 | | 身份: | 33 |34 | |
顶层用户组
6 |无
7 |上层用户组
10 |无
11 |增加时间
14 | 15 |修改时间
18 | 19 || 头像 | 28 |用户名 | 29 |真实姓名 | 30 |手机 | 31 |身份 | 32 |操作 | 33 |
|---|
头像
5 |用户名
15 | 16 | 请输入14字符以内的用户名 17 |身份
20 | 24 |密码
27 | 28 |年龄
31 | 32 |真实姓名
35 | 36 |手机
39 | 40 |性别
43 |邮箱
56 | 57 |头像
5 |
7 | 用户名
15 | 16 | 请输入14字符以内的用户名 17 |身份
20 | 24 |密码
27 | 28 |年龄
31 | 32 |真实姓名
35 | 36 |手机
39 | 40 |性别
43 |邮箱
56 | 57 |
36 |
40 | 用户登录
42 |' + ucErrorMsg.errorMap[data.body.errorCode] + '
'); 64 | $("#loginerror").show(); 65 | break; 66 | } 67 | }; 68 | Mediator.apply(this); 69 | }; 70 | window.uca.LoginMediator = LoginMediator; 71 | })(window); -------------------------------------------------------------------------------- /StartpointServer/src/main/java/org/startpoint/dao/base/TokenMapper.java: -------------------------------------------------------------------------------- 1 | package org.startpoint.dao.base; 2 | 3 | import java.util.List; 4 | import org.apache.ibatis.annotations.Param; 5 | import org.startpoint.model.base.Token; 6 | import org.startpoint.model.base.TokenCriteria; 7 | 8 | public interface TokenMapper { 9 | /** 10 | * This method was generated by MyBatis Generator. 11 | * This method corresponds to the database table token 12 | * 13 | * @mbg.generated 14 | */ 15 | long countByExample(TokenCriteria example); 16 | 17 | /** 18 | * This method was generated by MyBatis Generator. 19 | * This method corresponds to the database table token 20 | * 21 | * @mbg.generated 22 | */ 23 | int deleteByExample(TokenCriteria example); 24 | 25 | /** 26 | * This method was generated by MyBatis Generator. 27 | * This method corresponds to the database table token 28 | * 29 | * @mbg.generated 30 | */ 31 | int deleteByPrimaryKey(String tokenId); 32 | 33 | /** 34 | * This method was generated by MyBatis Generator. 35 | * This method corresponds to the database table token 36 | * 37 | * @mbg.generated 38 | */ 39 | int insert(Token record); 40 | 41 | /** 42 | * This method was generated by MyBatis Generator. 43 | * This method corresponds to the database table token 44 | * 45 | * @mbg.generated 46 | */ 47 | int insertSelective(Token record); 48 | 49 | /** 50 | * This method was generated by MyBatis Generator. 51 | * This method corresponds to the database table token 52 | * 53 | * @mbg.generated 54 | */ 55 | List