Просмотр исходного кода

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

csx 4 лет назад
Родитель
Сommit
7ca2e5f3f1

+ 2 - 2
controllers/mobile_api_controllers/login_api_controller.go Просмотреть файл

@@ -32,8 +32,8 @@ func (this *LoginAPIController) LoginByPwd() {
32 32
 	}
33 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 37
 	api := ssoDomain + "/m/login/pwd"
38 38
 	values := make(url.Values)
39 39
 	values.Set("mobile", mobile)

+ 1 - 1
models/patient_models.go Просмотреть файл

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