Browse Source

库存流水展示

XMLWAN 1 year ago
parent
commit
281e417dc2
2 changed files with 8 additions and 8 deletions
  1. 2 2
      conf/app.conf
  2. 6 6
      controllers/base_api_controller.go

+ 2 - 2
conf/app.conf View File

@@ -146,10 +146,10 @@ aliquid = 83
146 146
 
147 147
 [dev]
148 148
 mobile_token_expiration_second = 604800
149
-httpdomain = http://new_mobile.xt.api.sgjyun.com
149
+httpdomain = https://api.xt.test.sgjyun.com
150 150
 sso_domain = https://testsso.sgjyun.com
151 151
 call_domain = http://hf.szjkhd.com
152
-front_end_domain = "http://xt.test.sgjyun.com/#"
152
+front_end_domain = "https://xt.test.sgjyun.com/#"
153 153
 
154 154
 readmysqlhost = rm-wz9rg531npf61q03tro.mysql.rds.aliyuncs.com
155 155
 readmysqlport = 3306

+ 6 - 6
controllers/base_api_controller.go View File

@@ -82,7 +82,7 @@ func (this *BaseAuthAPIController) Prepare() {
82 82
 		userAdmin.ModifyTime = 1530786071
83 83
 		var subscibe models.ServeSubscibe
84 84
 		subscibe.ID = 11
85
-		subscibe.OrgId = 9671 //机构id
85
+		subscibe.OrgId = 10471 //机构id
86 86
 		subscibe.PeriodStart = 1547447814
87 87
 		subscibe.PeriodEnd = 1550039814
88 88
 		subscibe.State = 1
@@ -92,8 +92,8 @@ func (this *BaseAuthAPIController) Prepare() {
92 92
 		subscibes := make(map[int64]*models.ServeSubscibe, 0)
93 93
 		subscibes[4] = &subscibe
94 94
 		var adminUserInfo service.AdminUserInfo
95
-		adminUserInfo.CurrentOrgId = 9671 //机构id小英9675或4
96
-		adminUserInfo.CurrentAppId = 3244 //4
95
+		adminUserInfo.CurrentOrgId = 10471 //机构id小英9675或4
96
+		adminUserInfo.CurrentAppId = 15729 //4
97 97
 		adminUserInfo.AdminUser = &userAdmin
98 98
 		adminUserInfo.Subscibes = subscibes
99 99
 		this.SetSession("admin_user_info", &adminUserInfo)
@@ -328,7 +328,7 @@ func (this *BaseServeAPIController) Prepare() {
328 328
 		userAdmin.ModifyTime = 1530786071
329 329
 		var subscibe models.ServeSubscibe
330 330
 		subscibe.ID = 11
331
-		subscibe.OrgId = 9671 //机构id小英9675或4
331
+		subscibe.OrgId = 10471 //机构id小英9675或4
332 332
 		subscibe.PeriodStart = 1538035409
333 333
 		subscibe.PeriodEnd = 1569571409
334 334
 		subscibe.State = 1
@@ -338,8 +338,8 @@ func (this *BaseServeAPIController) Prepare() {
338 338
 		subscibes := make(map[int64]*models.ServeSubscibe, 0)
339 339
 		subscibes[4] = &subscibe
340 340
 		var adminUserInfo service.AdminUserInfo
341
-		adminUserInfo.CurrentOrgId = 9671 //机构id小英9675或4
342
-		adminUserInfo.CurrentAppId = 3244 //4
341
+		adminUserInfo.CurrentOrgId = 10471 //机构id小英9675或4
342
+		adminUserInfo.CurrentAppId = 15729 //4
343 343
 		adminUserInfo.AdminUser = &userAdmin
344 344
 		adminUserInfo.Subscibes = subscibes
345 345
 		this.SetSession("admin_user_info", &adminUserInfo)