Skip to content

Commit

Permalink
update gf v1.9.10
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangbiao committed Nov 12, 2019
1 parent b5130ae commit 5507861
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Change Log 更新说明
------------------------------
## 2019-11-12 v0.1.4
1. gf版本升级到v1.9.10

## 2019-09-27 v0.1.3
1. gf版本升级到v1.9.6
2. gtoken模块限制加入index
Expand Down
3 changes: 3 additions & 0 deletions deploy/gmanager.sql
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ CREATE TABLE `sys_user` (
-- Records of sys_user
-- ----------------------------
INSERT INTO `sys_user` VALUES (1, '94091b1fa6ac4a27a06c0b92155aea6a', 'admin', '9fb3dc842c899aa63d6944a55080b795', '1111', '系统管理员', 10001, 1, 10, '', '', '[email protected]', '123', '', '', '时间是最好的老师,但遗憾的是——最后他把所有的学生都弄死了', 'flat', 5, 1, 1, 'test', 1, '2019-07-08 18:12:28', 1, '2017-03-19 20:41:25', 1);
INSERT INTO `sys_user` VALUES (9, 'xa5450ztN08S37tKj93ujhJ66069q92R', 'test', 'ea8207ee50ccf367e99c8444fda7da32', 'GM26Mq', 'test', 10002, 2, 10, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'default', 0, 1, 0, NULL, 1, '2019-11-12 15:31:31', 1, '2019-07-11 15:49:24', 1);
INSERT INTO `sys_user` VALUES (12, '8609WdcTI1337Y7e5kQ94v872Z02mh24', 'testLogin', '7f4d0d8db5546f395e87dfd294608b9b', '3n7Ci8', 'testLogin', 10002, 2, 10, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'default', 0, 1, 0, NULL, 1, '2019-11-12 15:31:08', 1, '2019-11-12 15:31:08', 1);
INSERT INTO `sys_user` VALUES (13, 'PTMB2mcqk87n1x15K84E56T75SY11Q5w', 'testLogout', '961c0645f7ae271d6e1fc1ff01e786d7', '0X6509', 'testLogout', 10002, 2, 10, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'default', 0, 1, 0, NULL, 1, '2019-11-12 15:31:19', 1, '2019-11-12 15:31:19', 1);

-- ----------------------------
-- Table structure for sys_user_role
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module gmanager

require (
github.com/goflyfox/gtoken v1.3.5
github.com/gogf/gf v1.9.6
github.com/goflyfox/gtoken v1.3.6
github.com/gogf/gf v1.9.10
)

go 1.13
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@ github.com/gf-third/yaml v1.0.1 h1:pqD4ix+65DqGphU1MDnToPZfGYk0tuuwRzuTSl3g0d0=
github.com/gf-third/yaml v1.0.1/go.mod h1:t443vj0txEw3+E0MOtkr83kt+PrZg2I8SRuYfn85NM0=
github.com/goflyfox/gtoken v1.3.5 h1:VqWKUxGEdo9dPAwEu4nqQRP7Y04XurVHjM/S+m8xVp4=
github.com/goflyfox/gtoken v1.3.5/go.mod h1:q44WQTSzDjn6e4/ZgIvyiH0ThAWzZfGtCrRQN4r7y/s=
github.com/goflyfox/gtoken v1.3.6 h1:gDnseDqSCWQrB5Pphy0VVMVClPE34zwIDv5FF0dWerw=
github.com/goflyfox/gtoken v1.3.6/go.mod h1:0r23tBl3H4DUMfjV+kNM4WEnyL96fCt0og2zt9dEN4k=
github.com/gogf/gf v1.9.6 h1:3UBKrl2/+Wdpqs6oiRIHsMf40uaIdDQXpbnkGjXpNQU=
github.com/gogf/gf v1.9.6/go.mod h1:sitJZHjmT9B+923N4mH5rkM19AugKG+BxI47R64bR08=
github.com/gogf/gf v1.9.10 h1:lPBf0EOxv6AXVWN46EKLID0GMHDGOrs4ZAi/RUJbt+c=
github.com/gogf/gf v1.9.10/go.mod h1:sitJZHjmT9B+923N4mH5rkM19AugKG+BxI47R64bR08=
github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/gomodule/redigo v2.0.0+incompatible h1:K/R+8tc58AaqLkqG2Ol3Qk+DR/TlNuhuh457pBFPtt0=
github.com/gomodule/redigo v2.0.0+incompatible/go.mod h1:B4C85qUVwatsJoIUNIfCRsp7qO0iAmpGFZ4EELWSbC4=
Expand Down
2 changes: 1 addition & 1 deletion test/api_login_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func TestLogout(t *testing.T) {
func Post(t *testing.T, urlPath string, data ...interface{}) resp.Resp {
client := ghttp.NewClient()
client.SetHeader("Authorization", "Bearer "+getToken(t))
content := client.DoRequestContent("POST", TestURL+urlPath, data...)
content := client.PostContent(TestURL+urlPath, data...)
var respData resp.Resp
err := json.Unmarshal([]byte(content), &respData)
if err != nil {
Expand Down

0 comments on commit 5507861

Please sign in to comment.