Bläddra i källkod

Merge branch 'master' of http://git.shengws.com/csx/gdyb

csx 3 år sedan
förälder
incheckning
79e6a89f7d
4 ändrade filer med 8 tillägg och 6 borttagningar
  1. 1 1
      conf/app.conf
  2. 1 1
      enums/error_code.go
  3. 1 0
      models/dialysis.go
  4. 5 4
      routers/router.go

+ 1 - 1
conf/app.conf Visa fil

@@ -44,7 +44,7 @@ appsecret="61ee2e6268497d5aa9de0b0187c39aea"
44 44
 
45 45
 
46 46
 [prod]
47
-org_id = 9919
47
+org_id = 9504
48 48
 mobile_token_expiration_second = 86400
49 49
 httpdomain = https://api.xt.kuyicloud.com
50 50
 sso_domain = https://sso.kuyicloud.com

+ 1 - 1
enums/error_code.go Visa fil

@@ -8,7 +8,7 @@ const ( // ErrorCode
8 8
 	ErrorCodeNotLogin                       = 6002
9 9
 	ErrorCodePermissionDenied               = 6003
10 10
 	ErrorCodeMobileRegistered               = 6004
11
-	ErrorCodePasswordEmpty                  = 6005
11
+	ErrorCodePasswordEmpty                  = 60052503
12 12
 	ErrorCodeVerificationCodeWrong          = 6006
13 13
 	ErrorCodeRegisterFail                   = 6007
14 14
 	ErrorCodeInvalidToken                   = 6008

+ 1 - 0
models/dialysis.go Visa fil

@@ -919,6 +919,7 @@ type SgjUserAdminRole struct {
919 919
 	DepartmentId                            int64  `gorm:"column:department_id" json:"department_id" form:"department_id"`
920 920
 	Mobile                                  string
921 921
 	Name                                    string
922
+	Department                              string `gorm:"column:department" json:"department" form:"department"`
922 923
 }
923 924
 
924 925
 //func (SgjUserAdminRole) TableName() string {

+ 5 - 4
routers/router.go Visa fil

@@ -1,7 +1,8 @@
1 1
 package routers
2 2
 
3 3
 import (
4
-	"gdyb/controllers/sg"
4
+	"gdyb/controllers/sz"
5
+
5 6
 	//"gdyb/controllers/sz"
6 7
 	//"gdyb/controllers/sz"
7 8
 	//admin_api "XT_New/controllers/admin_api_controllers"
@@ -20,8 +21,8 @@ func init() {
20 21
 		AllowCredentials: true,
21 22
 	}))
22 23
 
23
-	sg.HisManagerApiRegistRouters()
24
-	sg.GdybRegistRouters()
25
-	//sz.SZHisManagerApiRegistRouters()
24
+	//sg.HisManagerApiRegistRouters()
25
+	//sg.GdybRegistRouters()
26
+	sz.SZHisManagerApiRegistRouters()
26 27
 
27 28
 }