Browse Source

体积小

XMLWAN 2 years ago
parent
commit
4291fdc2de
7 changed files with 282 additions and 15 deletions
  1. 2 0
      .idea/.gitignore
  2. 9 0
      .idea/Xcx_New.iml
  3. 6 0
      .idea/misc.xml
  4. 8 0
      .idea/modules.xml
  5. 6 0
      .idea/vcs.xml
  6. 136 15
      conf/app.conf
  7. 115 0
      conf/接口.txt

+ 2 - 0
.idea/.gitignore View File

@@ -0,0 +1,2 @@
1
+# Default ignored files
2
+/workspace.xml

+ 9 - 0
.idea/Xcx_New.iml View File

@@ -0,0 +1,9 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module type="WEB_MODULE" version="4">
3
+  <component name="Go" enabled="true" />
4
+  <component name="NewModuleRootManager">
5
+    <content url="file://$MODULE_DIR$" />
6
+    <orderEntry type="inheritedJdk" />
7
+    <orderEntry type="sourceFolder" forTests="false" />
8
+  </component>
9
+</module>

+ 6 - 0
.idea/misc.xml View File

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="JavaScriptSettings">
4
+    <option name="languageLevel" value="ES6" />
5
+  </component>
6
+</project>

+ 8 - 0
.idea/modules.xml View File

@@ -0,0 +1,8 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ProjectModuleManager">
4
+    <modules>
5
+      <module fileurl="file://$PROJECT_DIR$/.idea/Xcx_New.iml" filepath="$PROJECT_DIR$/.idea/Xcx_New.iml" />
6
+    </modules>
7
+  </component>
8
+</project>

+ 6 - 0
.idea/vcs.xml View File

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="VcsDirectoryMappings">
4
+    <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+  </component>
6
+</project>

+ 136 - 15
conf/app.conf View File

@@ -1,13 +1,13 @@
1
-appname = 小程序
2
-httpport = 9666
1
+appname = 血透
2
+httpport = 9529
3 3
 runmode = dev
4 4
 
5
+#
5 6
 copyrequestbody = true
6 7
 sessionon = true
7
-sessiongcmaxlifetime = 64800
8
+#sessiongcmaxlifetime = 64800
8 9
 
9 10
 tokencookiemaxlifetime = 7200
10
-
11 11
 enablexsrf = false
12 12
 xsrfkey = 61oETzKXQAGaYdkL5gEmGeJJFuYh7EQnp2XdTP1o
13 13
 xsrfexpire = 3600
@@ -17,6 +17,8 @@ qiniu_secretkey = DmZSp_Bmnp-9aUB7xUvoyViZpzmx1Rs2RL69GvlW
17 17
 qiniu_domain = https://images.shengws.com/
18 18
 qiniu_bucket = syhclub-storage
19 19
 
20
+
21
+
20 22
 aes_key = "xuetou-201807319"
21 23
 
22 24
 wxtoken = gh_ac6cd0cdde3d
@@ -31,7 +33,7 @@ sms_token = ea475ed8d3de6c54c2b3f9d78db76d1e
31 33
 sms_baseUrl = https://open.ucpaas.com/ol/sms/
32 34
 ip_max_send_count = 20
33 35
 moblie_max_send_count = 5
34
-sms_verification_code_templateid = 329532
36
+sms_verification_code_templateid = 358429
35 37
 
36 38
 
37 39
 appid = "wx43ad410d9eef426e"
@@ -40,14 +42,13 @@ key = "e4SHrkiZu0pQEwVoGBapDBTf9N1Q6MxV"
40 42
 appsecret="61ee2e6268497d5aa9de0b0187c39aea"
41 43
 
42 44
 
43
-sz_province = 19
44
-sz_city = 291
45
-
46
-
47 45
 
48 46
 [prod]
49
-httpdomain = http://api.szjkhd.com
50
-
47
+mobile_token_expiration_second = 604800
48
+httpdomain = https://api.xt.kuyicloud.com
49
+sso_domain = https://sso.kuyicloud.com
50
+call_domain = https://hf.sgjyun.com
51
+front_end_domain = "https://xt.kuyicloud.com/#"
51 52
 
52 53
 readmysqlhost = shengws1.mysql.rds.aliyuncs.com
53 54
 readmysqlport = 3306
@@ -74,6 +75,44 @@ writeuseruser = syh
74 75
 writeuserpass = xhPECP2nFObR8aUK
75 76
 writeusername = sgj_users
76 77
 
78
+readmiddlehost = shengws1.mysql.rds.aliyuncs.com
79
+readmiddleport = 3306
80
+readmiddleuser = syh
81
+readmiddlepass = xhPECP2nFObR8aUK
82
+readmiddlename = ky_xt_middle
83
+
84
+writemiddlehost = shengws1.mysql.rds.aliyuncs.com
85
+writemiddleport = 3306
86
+writemiddleuser = syh
87
+writemiddlepass = xhPECP2nFObR8aUK
88
+writemiddlename = ky_xt_middle
89
+
90
+
91
+readsgjpatientmysqlhost = shengws1.mysql.rds.aliyuncs.com
92
+readsgjpatientmysqlport = 3306
93
+readsgjpatientmysqluser = syh
94
+readsgjpatientmysqlpass = xhPECP2nFObR8aUK
95
+readsgjpatientmysqlname = sgj_patient
96
+
97
+writesgjpatientmysqlhost = shengws1.mysql.rds.aliyuncs.com
98
+writesgjpatientmysqlport = 3306
99
+writesgjpatientmysqluser = syh
100
+writesgjpatientmysqlpass = xhPECP2nFObR8aUK
101
+writesgjpatientmysqlname = sgj_patient
102
+
103
+
104
+readpatienthost = shengws1.mysql.rds.aliyuncs.com
105
+readpatientport = 3306
106
+readpatientuser = syh
107
+readpatientpass = xhPECP2nFObR8aUK
108
+readpatientname = sgj_cdm
109
+
110
+writepatienthost = shengws1.mysql.rds.aliyuncs.com
111
+writepatientport = 3306
112
+writepatientuser = syh
113
+writepatientpass = xhPECP2nFObR8aUK
114
+writepatientname = sgj_cdm
115
+
77 116
 redishost = 349e580b2a524290.redis.rds.aliyuncs.com
78 117
 redisport = 6379
79 118
 redispasswrod = TZtBW098WId3i27clkpj3q8dnUaVFP
@@ -83,10 +122,31 @@ redisdb = 0
83 122
 
84 123
 
85 124
 
86
-[dev]
87
-httpdomain = http://api.szjkhd.com
88 125
 
89 126
 
127
+niprocart =  63
128
+jms = 58
129
+fistula_needle_set = 65
130
+fistula_needle_set_16 = 64
131
+hemoperfusion = 55
132
+dialyser_sterilised = 12
133
+filtryzer = 53
134
+dialyzers = 8
135
+injector = 81
136
+bloodlines = 42
137
+tubingHemodialysis = 30
138
+package = 82
139
+aliquid = 83
140
+
141
+
142
+
143
+[dev]
144
+mobile_token_expiration_second = 604800
145
+httpdomain = http://new_mobile.xt.api.sgjyun.com
146
+sso_domain = https://testsso.sgjyun.com
147
+call_domain = http://hf.szjkhd.com
148
+front_end_domain = "http://xt.test.sgjyun.com/#"
149
+
90 150
 readmysqlhost = rm-wz9rg531npf61q03tro.mysql.rds.aliyuncs.com
91 151
 readmysqlport = 3306
92 152
 readmysqluser = root
@@ -105,15 +165,76 @@ readuseruser = root
105 165
 readuserpass = 1Q2W3e4r!@#$
106 166
 readusername = sgj_users
107 167
 
168
+
108 169
 writeuserhost = rm-wz9rg531npf61q03tro.mysql.rds.aliyuncs.com
109 170
 writeuserport = 3306
110 171
 writeuseruser = root
111 172
 writeuserpass = 1Q2W3e4r!@#$
112 173
 writeusername = sgj_users
113 174
 
114
-redishost = 112.74.16.180
175
+
176
+
177
+readmiddlehost = rm-wz9rg531npf61q03tro.mysql.rds.aliyuncs.com
178
+readmiddleport = 3306
179
+readmiddleuser = root
180
+readmiddlepass = 1Q2W3e4r!@#$
181
+readmiddlename = ky_xt_middle
182
+
183
+writemiddlehost = rm-wz9rg531npf61q03tro.mysql.rds.aliyuncs.com
184
+writemiddleport = 3306
185
+writemiddleuser = root
186
+writemiddlepass = 1Q2W3e4r!@#$
187
+writemiddlename = ky_xt_middle
188
+
189
+
190
+
191
+readpatienthost = rm-wz9rg531npf61q03tro.mysql.rds.aliyuncs.com
192
+readpatientport = 3306
193
+readpatientuser = root
194
+readpatientpass = 1Q2W3e4r!@#$
195
+readpatientname = sgj_cdm
196
+
197
+writepatienthost = rm-wz9rg531npf61q03tro.mysql.rds.aliyuncs.com
198
+writepatientport = 3306
199
+writepatientuser = root
200
+writepatientpass = 1Q2W3e4r!@#$
201
+writepatientname = sgj_cdm
202
+
203
+readsgjpatientmysqlhost = rm-wz9rg531npf61q03tro.mysql.rds.aliyuncs.com
204
+readsgjpatientmysqlport = 3306
205
+readsgjpatientmysqluser = root
206
+readsgjpatientmysqlpass = 1Q2W3e4r!@#$
207
+readsgjpatientmysqlname = sgj_patient
208
+
209
+writesgjpatientmysqlhost = rm-wz9rg531npf61q03tro.mysql.rds.aliyuncs.com
210
+writesgjpatientmysqlport = 3306
211
+writesgjpatientmysqluser = root
212
+writesgjpatientmysqlpass = 1Q2W3e4r!@#$
213
+writesgjpatientmysqlname = sgj_patient
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+#redishost = 120.77.235.13
222
+#redishost = 112.74.16.180
223
+redishost = localhost
115 224
 redisport = 6379
116 225
 redispasswrod = syh@#$%123456!
117 226
 redisdb = 0
118 227
 
119
-
228
+niprocart =  83
229
+jms = 80
230
+fistula_needle_set = 81
231
+fistula_needle_set_16 = 82
232
+hemoperfusion = 85
233
+dialyser_sterilised = 84
234
+filtryzer = 79
235
+dialyzers = 10000
236
+injector = 10001
237
+bloodlines = 10002
238
+tubingHemodialysis = 10003
239
+package = 10004
240
+aliquid = 10005

+ 115 - 0
conf/接口.txt View File

@@ -0,0 +1,115 @@
1
+
2
+//新增临时
3
+/m/api/dialysis/dialysisPrescription?mode=1
4
+修改临处
5
+/m/api/dialysis/dialysisPrescription?mode=2
6
+修改他人临处
7
+/m/api/dialysis/dialysisPrescription?mode=3
8
+
9
+
10
+新增接诊评估
11
+/m/api/dialysis/acceptsAssessment?mode=1
12
+修改接诊评估
13
+/m/api/dialysis/acceptsAssessment?mode=2
14
+修改他人接诊评估
15
+/m/api/dialysis/acceptsAssessment?mode=3
16
+
17
+新增透前评估
18
+/m/api/assessmentbefore/commit?mode=1
19
+修改透前评估
20
+/m/api/assessmentbefore/commit?mode=2
21
+修改他人透前评估
22
+/m/api/assessmentbefore/commit?mode=3
23
+
24
+执行上机
25
+/m/api/dialysis/start?mode=1
26
+修改执行上机
27
+/m/api/startOrder/edit?mode=2
28
+修改他人执行上机
29
+/m/api/startOrder/edit?mode=3
30
+
31
+新增透析监测
32
+/m/api/monitor/add?mode=1
33
+修改透析监测
34
+/m/api/monitor/edit?mode=2
35
+修改他人透析监测
36
+/m/api/monitor/edit?mode=3
37
+删除透析监测
38
+/m/api/monitor/delete?mode=4
39
+删除他人透析监测
40
+/m/api/monitor/delete?mode=5
41
+
42
+执行下机
43
+/m/api/dialysis/finish?mode=1
44
+修改执行下机
45
+/m/api/finishOrder/edit?mode=2
46
+修改他人执行下机
47
+/m/api/finishOrder/edit?mode=3
48
+
49
+新增透后评估
50
+/m/api/dialysis/assessmentAfterDislysis?mode=1
51
+修改透后评估
52
+/m/api/dialysis/assessmentAfterDislysis?mode=2
53
+修改他人透后评估
54
+/m/api/dialysis/assessmentAfterDislysis?mode=3
55
+
56
+新增治疗小结
57
+/m/api/dialysis/treatmentSummary?mode=1
58
+修改治疗小结
59
+/m/api/dialysis/treatmentSummary?mode=2
60
+修改他人治疗小结
61
+/m/api/dialysis/treatmentSummary?mode=3
62
+
63
+新增透析临时医嘱
64
+/m/api/advice/creategroup?mode=1
65
+修改透析临时医嘱
66
+/m/api/advice/edit?mode=2
67
+修改他人透析临时医嘱
68
+/m/api/advice/edit?mode=3
69
+删除透析临时医嘱
70
+/m/api/newadvice/delete?mode=4
71
+删除他人透析临时医嘱
72
+/m/api/newadvice/delete?mode=5
73
+执行透析临时医嘱
74
+/m/api/advice/exec?mode=6
75
+核对透析临时医嘱
76
+/m/api/advice/check?mode=7
77
+修改已执行医嘱
78
+/m/api/advice/exec/modify?mode=8
79
+
80
+
81
+移动端 : /m/api/permission/get      get 请求
82
+参数1: create_url
83
+参数2:modify_url
84
+
85
+参数3:modify_other_url
86
+
87
+参数4:del_url
88
+
89
+参数5:del_other_url
90
+
91
+参数6:exce_url
92
+
93
+参数7:check_url
94
+
95
+参数8:modify_exce_url
96
+参数9:module
97
+
98
+返回值1:is_has_create
99
+返回值2:is_has_modify
100
+
101
+返回值3:is_has_modify_other
102
+
103
+返回值4:is_has_del
104
+
105
+返回值5:is_has_del_other
106
+
107
+返回值6:is_has_exce
108
+
109
+返回值7:is_has_check
110
+
111
+返回值8:is_has_modify_exce
112
+
113
+返回值9:module
114
+
115
+