Browse Source

Merge branch 'master' of http://git.shengws.com/csx/XT_New into 20200710_xt_api_new_branch

csx 4 years ago
parent
commit
7ca2e5f3f1

+ 2 - 2
controllers/mobile_api_controllers/login_api_controller.go View File

32
 	}
32
 	}
33
 	ip := utils.GetIP(this.Ctx.Request)
33
 	ip := utils.GetIP(this.Ctx.Request)
34
 
34
 
35
-	//ssoDomain := beego.AppConfig.String("sso_domain")
36
-	ssoDomain := "http://localhost:8091"
35
+	ssoDomain := beego.AppConfig.String("sso_domain")
36
+	//ssoDomain := "http://localhost:8091"
37
 	api := ssoDomain + "/m/login/pwd"
37
 	api := ssoDomain + "/m/login/pwd"
38
 	values := make(url.Values)
38
 	values := make(url.Values)
39
 	values.Set("mobile", mobile)
39
 	values.Set("mobile", mobile)

+ 1 - 1
models/patient_models.go View File

119
 }
119
 }
120
 
120
 
121
 func (InfectiousDiseases) TableName() string {
121
 func (InfectiousDiseases) TableName() string {
122
-	return "xt_patients_infectious_diseases"
122
+	return " xt_patients_infectious_diseases"
123
 }
123
 }
124
 
124
 
125
 type DialysisPrescription struct {
125
 type DialysisPrescription struct {