swagger.json 63KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "title": "sws xcx api doc",
  5. "description": "圣卫士小程序API接口文档\n",
  6. "version": "1.0.0",
  7. "contact": {},
  8. "license": {
  9. "name": "领透科技"
  10. }
  11. },
  12. "basePath": "/xcx",
  13. "paths": {
  14. "/api/article/getarticlebyid": {
  15. "get": {
  16. "tags": [
  17. "api/article"
  18. ],
  19. "description": "获取文章详情\n\u003cbr\u003e",
  20. "operationId": "ArticleApiController.GetArticleByID",
  21. "parameters": [
  22. {
  23. "in": "query",
  24. "name": "id",
  25. "description": "文章id",
  26. "required": true,
  27. "type": "integer",
  28. "format": "int64"
  29. }
  30. ],
  31. "responses": {
  32. "200": {
  33. "description": "success",
  34. "schema": {
  35. "$ref": "#/definitions/models.SyhArticlesVO"
  36. }
  37. },
  38. "500": {
  39. "description": "error"
  40. }
  41. }
  42. }
  43. },
  44. "/api/article/getarticlelist": {
  45. "get": {
  46. "tags": [
  47. "api/article"
  48. ],
  49. "description": "获取文章列表\n\u003cbr\u003e",
  50. "operationId": "ArticleApiController.GetArticleList",
  51. "parameters": [
  52. {
  53. "in": "query",
  54. "name": "pageNum",
  55. "description": "当前页(从1开始)",
  56. "required": true,
  57. "type": "integer",
  58. "format": "int64"
  59. },
  60. {
  61. "in": "query",
  62. "name": "pageSize",
  63. "description": "分页大小",
  64. "required": true,
  65. "type": "integer",
  66. "format": "int64"
  67. },
  68. {
  69. "in": "query",
  70. "name": "menuid",
  71. "description": "分类ID",
  72. "type": "integer",
  73. "format": "int64"
  74. },
  75. {
  76. "in": "query",
  77. "name": "keyword",
  78. "description": "搜索关键字",
  79. "type": "string"
  80. }
  81. ],
  82. "responses": {
  83. "200": {
  84. "description": "success",
  85. "schema": {
  86. "type": "array",
  87. "items": {
  88. "$ref": "#/definitions/models.SyhArticlesVO"
  89. }
  90. }
  91. },
  92. "500": {
  93. "description": "error"
  94. }
  95. }
  96. }
  97. },
  98. "/api/article/getarticlemenu": {
  99. "get": {
  100. "tags": [
  101. "api/article"
  102. ],
  103. "description": "获取文章分类\n\u003cbr\u003e",
  104. "operationId": "ArticleApiController.GetArticleMenu",
  105. "parameters": [
  106. {
  107. "in": "query",
  108. "name": "type",
  109. "description": "类型:0全部1主2辅",
  110. "required": true,
  111. "type": "integer",
  112. "format": "int64"
  113. }
  114. ],
  115. "responses": {
  116. "200": {
  117. "description": "success",
  118. "schema": {
  119. "type": "array",
  120. "items": {
  121. "$ref": "#/definitions/models.SyhArticlesMenu"
  122. }
  123. }
  124. },
  125. "500": {
  126. "description": "error"
  127. }
  128. }
  129. }
  130. },
  131. "/api/article/getcheckitemnews": {
  132. "get": {
  133. "tags": [
  134. "api/article"
  135. ],
  136. "description": "获取检测项目说明\n\u003cbr\u003e",
  137. "operationId": "ArticleApiController.GetCheckItemNews",
  138. "responses": {
  139. "200": {
  140. "description": "success",
  141. "schema": {
  142. "type": "array",
  143. "items": {
  144. "$ref": "#/definitions/models.CheckItemNewsVO"
  145. }
  146. }
  147. },
  148. "500": {
  149. "description": "error"
  150. }
  151. }
  152. }
  153. },
  154. "/api/article/getramdonarticlelist": {
  155. "get": {
  156. "tags": [
  157. "api/article"
  158. ],
  159. "description": "获取随机文章列表\n\u003cbr\u003e",
  160. "operationId": "ArticleApiController.GetRamdonArticleList",
  161. "parameters": [
  162. {
  163. "in": "query",
  164. "name": "limit",
  165. "description": "文章数量",
  166. "required": true,
  167. "type": "integer",
  168. "format": "int64"
  169. }
  170. ],
  171. "responses": {
  172. "200": {
  173. "description": "success",
  174. "schema": {
  175. "type": "array",
  176. "items": {
  177. "$ref": "#/definitions/models.SyhArticlesVO"
  178. }
  179. }
  180. },
  181. "500": {
  182. "description": "error"
  183. }
  184. }
  185. }
  186. },
  187. "/api/checkrecord/getcheckrecorditembyid": {
  188. "get": {
  189. "tags": [
  190. "api/checkrecord"
  191. ],
  192. "description": "通过检测ID查看检测结果\n\u003cbr\u003e",
  193. "operationId": "CheckRecordApiController.GetCheckRecordItemById",
  194. "parameters": [
  195. {
  196. "in": "query",
  197. "name": "checkid",
  198. "description": "检测ID",
  199. "required": true,
  200. "type": "integer",
  201. "format": "int64"
  202. }
  203. ],
  204. "responses": {
  205. "200": {
  206. "description": "success",
  207. "schema": {
  208. "$ref": "#/definitions/models.AppCheckRecordItemVO"
  209. }
  210. },
  211. "500": {
  212. "description": "error"
  213. }
  214. },
  215. "security": [
  216. {
  217. "token": []
  218. }
  219. ]
  220. }
  221. },
  222. "/api/checkrecord/getcheckrecorditemreport": {
  223. "get": {
  224. "tags": [
  225. "api/checkrecord"
  226. ],
  227. "description": "获取检测报告\n\u003cbr\u003e",
  228. "operationId": "CheckRecordApiController.GetCheckRecordItemReport",
  229. "parameters": [
  230. {
  231. "in": "query",
  232. "name": "itemnum",
  233. "description": "项目编号",
  234. "required": true,
  235. "type": "integer",
  236. "format": "int64"
  237. },
  238. {
  239. "in": "query",
  240. "name": "daymun",
  241. "description": "最近几天",
  242. "required": true,
  243. "type": "integer",
  244. "format": "int64"
  245. }
  246. ],
  247. "responses": {
  248. "200": {
  249. "description": "success",
  250. "schema": {
  251. "type": "array",
  252. "items": {
  253. "$ref": "#/definitions/models.AppCheckRecordItemReportVO"
  254. }
  255. }
  256. },
  257. "500": {
  258. "description": "error"
  259. }
  260. },
  261. "security": [
  262. {
  263. "token": []
  264. }
  265. ]
  266. }
  267. },
  268. "/api/checkrecord/getcheckrecordlist": {
  269. "get": {
  270. "tags": [
  271. "api/checkrecord"
  272. ],
  273. "description": "分页获取检测记录\n\u003cbr\u003e",
  274. "operationId": "CheckRecordApiController.GetCheckRecordList",
  275. "parameters": [
  276. {
  277. "in": "query",
  278. "name": "pageNum",
  279. "description": "当前页(从1开始)",
  280. "required": true,
  281. "type": "integer",
  282. "format": "int64"
  283. },
  284. {
  285. "in": "query",
  286. "name": "pageSize",
  287. "description": "分页大小",
  288. "required": true,
  289. "type": "integer",
  290. "format": "int64"
  291. }
  292. ],
  293. "responses": {
  294. "200": {
  295. "description": "success",
  296. "schema": {
  297. "type": "array",
  298. "items": {
  299. "$ref": "#/definitions/models.AppCheckRecordVO"
  300. }
  301. }
  302. },
  303. "500": {
  304. "description": "error"
  305. }
  306. },
  307. "security": [
  308. {
  309. "token": []
  310. }
  311. ]
  312. }
  313. },
  314. "/api/checkrecord/qrcodecheckrecord": {
  315. "get": {
  316. "tags": [
  317. "api/checkrecord"
  318. ],
  319. "description": "通过扫描二维码查看检测结果\n\u003cbr\u003e",
  320. "operationId": "CheckRecordApiController.QrCodeCheckRecord",
  321. "parameters": [
  322. {
  323. "in": "query",
  324. "name": "qrcode",
  325. "description": "扫描二维码的内容",
  326. "required": true,
  327. "type": "integer",
  328. "format": "int64"
  329. }
  330. ],
  331. "responses": {
  332. "200": {
  333. "description": "success",
  334. "schema": {
  335. "$ref": "#/definitions/models.AppCheckRecordItemVO"
  336. }
  337. },
  338. "500": {
  339. "description": "error"
  340. }
  341. },
  342. "security": [
  343. {
  344. "token": []
  345. }
  346. ]
  347. }
  348. },
  349. "/api/device/binddevice": {
  350. "post": {
  351. "tags": [
  352. "api/device"
  353. ],
  354. "description": "通过扫码绑定设备\n\u003cbr\u003e",
  355. "operationId": "DeviceApiController.BindDevice",
  356. "parameters": [
  357. {
  358. "in": "query",
  359. "name": "qrcode",
  360. "description": "设备二维码",
  361. "required": true,
  362. "type": "string"
  363. }
  364. ],
  365. "responses": {
  366. "200": {
  367. "description": "success"
  368. },
  369. "500": {
  370. "description": "error"
  371. }
  372. },
  373. "security": [
  374. {
  375. "token": []
  376. }
  377. ]
  378. }
  379. },
  380. "/api/device/binddevicebyid": {
  381. "post": {
  382. "tags": [
  383. "api/device"
  384. ],
  385. "description": "通过设备ID绑定设备\n\u003cbr\u003e",
  386. "operationId": "DeviceApiController.BindDevice",
  387. "parameters": [
  388. {
  389. "in": "query",
  390. "name": "deviceId",
  391. "description": "设备ID",
  392. "required": true,
  393. "type": "string"
  394. }
  395. ],
  396. "responses": {
  397. "200": {
  398. "description": "success"
  399. },
  400. "500": {
  401. "description": "error"
  402. }
  403. },
  404. "security": [
  405. {
  406. "token": []
  407. }
  408. ]
  409. }
  410. },
  411. "/api/device/getdevicedetail": {
  412. "get": {
  413. "tags": [
  414. "api/device"
  415. ],
  416. "description": "根据设备ID获取设备详细信息\n\u003cbr\u003e",
  417. "operationId": "DeviceApiController.GetDeviceDetail",
  418. "parameters": [
  419. {
  420. "in": "query",
  421. "name": "deviceid",
  422. "description": "设备ID",
  423. "required": true,
  424. "type": "integer",
  425. "format": "int64"
  426. }
  427. ],
  428. "responses": {
  429. "200": {
  430. "description": "success",
  431. "schema": {
  432. "$ref": "#/definitions/models.Device"
  433. }
  434. },
  435. "500": {
  436. "description": "error"
  437. }
  438. },
  439. "security": [
  440. {
  441. "token": []
  442. }
  443. ]
  444. }
  445. },
  446. "/api/device/getmydevices": {
  447. "get": {
  448. "tags": [
  449. "api/device"
  450. ],
  451. "description": "获取绑定的设备列表\n\u003cbr\u003e",
  452. "operationId": "DeviceApiController.GetMyDevices",
  453. "responses": {
  454. "200": {
  455. "description": "success",
  456. "schema": {
  457. "type": "array",
  458. "items": {
  459. "$ref": "#/definitions/models.Device"
  460. }
  461. }
  462. },
  463. "500": {
  464. "description": "error"
  465. }
  466. },
  467. "security": [
  468. {
  469. "token": []
  470. }
  471. ]
  472. }
  473. },
  474. "/api/device/unbinddevice": {
  475. "post": {
  476. "tags": [
  477. "api/device"
  478. ],
  479. "description": "解绑设备\n\u003cbr\u003e",
  480. "operationId": "DeviceApiController.UnBindDevice",
  481. "parameters": [
  482. {
  483. "in": "query",
  484. "name": "deviceid",
  485. "description": "设备ID",
  486. "required": true,
  487. "type": "integer",
  488. "format": "int64"
  489. }
  490. ],
  491. "responses": {
  492. "200": {
  493. "description": "success"
  494. },
  495. "500": {
  496. "description": "error"
  497. }
  498. },
  499. "security": [
  500. {
  501. "token": []
  502. }
  503. ]
  504. }
  505. },
  506. "/api/sysdic/getcheckitems": {
  507. "get": {
  508. "tags": [
  509. "api/sysdic"
  510. ],
  511. "description": "获取检测项目列表\n\u003cbr\u003e",
  512. "operationId": "SysDicApiController.GetCheckItems",
  513. "responses": {
  514. "200": {
  515. "description": "success",
  516. "schema": {
  517. "type": "array",
  518. "items": {
  519. "$ref": "#/definitions/models.CheckItem"
  520. }
  521. }
  522. },
  523. "500": {
  524. "description": "error"
  525. }
  526. }
  527. }
  528. },
  529. "/api/sysdic/getdevicetypes": {
  530. "get": {
  531. "tags": [
  532. "api/sysdic"
  533. ],
  534. "description": "获取设备类型列表\n\u003cbr\u003e",
  535. "operationId": "SysDicApiController.GetDeviceTypes",
  536. "responses": {
  537. "200": {
  538. "description": "success",
  539. "schema": {
  540. "type": "array",
  541. "items": {
  542. "$ref": "#/definitions/models.DicResp"
  543. }
  544. }
  545. },
  546. "500": {
  547. "description": "error"
  548. }
  549. }
  550. }
  551. },
  552. "/api/sysdic/getillness": {
  553. "get": {
  554. "tags": [
  555. "api/sysdic"
  556. ],
  557. "description": "获取病情字典\n\u003cbr\u003e",
  558. "operationId": "SysDicApiController.GetIllness",
  559. "responses": {
  560. "200": {
  561. "description": "success",
  562. "schema": {
  563. "type": "array",
  564. "items": {
  565. "$ref": "#/definitions/models.DicResp"
  566. }
  567. }
  568. },
  569. "500": {
  570. "description": "error"
  571. }
  572. }
  573. }
  574. },
  575. "/api/sysdic/getrenalstatus": {
  576. "get": {
  577. "tags": [
  578. "api/sysdic"
  579. ],
  580. "description": "获取肾功能情况列表\n\u003cbr\u003e",
  581. "operationId": "SysDicApiController.GetRenalStatus",
  582. "responses": {
  583. "200": {
  584. "description": "success",
  585. "schema": {
  586. "type": "array",
  587. "items": {
  588. "$ref": "#/definitions/models.DicResp"
  589. }
  590. }
  591. },
  592. "500": {
  593. "description": "error"
  594. }
  595. }
  596. }
  597. },
  598. "/api/user/gethealthprofile": {
  599. "get": {
  600. "tags": [
  601. "api/user"
  602. ],
  603. "description": "获取健康档案\n\u003cbr\u003e",
  604. "operationId": "UserApiController.GetHealthProfile",
  605. "responses": {
  606. "200": {
  607. "description": "success",
  608. "schema": {
  609. "$ref": "#/definitions/models.HealthProfileResp"
  610. }
  611. },
  612. "500": {
  613. "description": "error"
  614. }
  615. },
  616. "security": [
  617. {
  618. "token": []
  619. }
  620. ]
  621. }
  622. },
  623. "/api/user/getuserinfo": {
  624. "get": {
  625. "tags": [
  626. "api/user"
  627. ],
  628. "description": "获取个人中心信息\n\u003cbr\u003e",
  629. "operationId": "UserApiController.GetUserInfo",
  630. "responses": {
  631. "200": {
  632. "description": "success",
  633. "schema": {
  634. "$ref": "#/definitions/models.UserInfoResp"
  635. }
  636. },
  637. "500": {
  638. "description": "error"
  639. }
  640. },
  641. "security": [
  642. {
  643. "token": []
  644. }
  645. ]
  646. }
  647. },
  648. "/api/user/login": {
  649. "post": {
  650. "tags": [
  651. "api/user"
  652. ],
  653. "description": "微信小程序登录\n\u003cbr\u003e",
  654. "operationId": "LoginApiController.WxXcxLogin",
  655. "parameters": [
  656. {
  657. "in": "body",
  658. "name": "body",
  659. "description": "小程序登录code",
  660. "required": true,
  661. "schema": {
  662. "$ref": "#/definitions/models.WxXcxLoginReq"
  663. }
  664. }
  665. ],
  666. "responses": {
  667. "200": {
  668. "description": "",
  669. "schema": {
  670. "$ref": "#/definitions/models.WxXcxLoginResp"
  671. }
  672. },
  673. "500": {
  674. "description": "error"
  675. }
  676. }
  677. }
  678. },
  679. "/api/user/loginbyopenid": {
  680. "post": {
  681. "tags": [
  682. "api/user"
  683. ],
  684. "description": "微信小程序登录\n\u003cbr\u003e",
  685. "operationId": "LoginApiController.LoginByOpenId",
  686. "parameters": [
  687. {
  688. "in": "body",
  689. "name": "body",
  690. "description": "小程序登录openid",
  691. "required": true,
  692. "schema": {
  693. "$ref": "#/definitions/models.WxXcxLoginReq"
  694. }
  695. }
  696. ],
  697. "responses": {
  698. "200": {
  699. "description": "",
  700. "schema": {
  701. "$ref": "#/definitions/models.WxXcxLoginResp"
  702. }
  703. },
  704. "500": {
  705. "description": "error"
  706. }
  707. }
  708. }
  709. },
  710. "/api/user/savehealthprofile": {
  711. "post": {
  712. "tags": [
  713. "api/user"
  714. ],
  715. "description": "保存健康档案\n\u003cbr\u003e",
  716. "operationId": "UserApiController.SaveHealthProfile",
  717. "parameters": [
  718. {
  719. "in": "body",
  720. "name": "body",
  721. "description": "小程序登录请求参数",
  722. "required": true,
  723. "schema": {
  724. "$ref": "#/definitions/models.SaveHealthProfileReq"
  725. }
  726. }
  727. ],
  728. "responses": {
  729. "200": {
  730. "description": "success"
  731. },
  732. "500": {
  733. "description": "error"
  734. }
  735. },
  736. "security": [
  737. {
  738. "token": []
  739. }
  740. ]
  741. }
  742. },
  743. "/api/user/saveuserinfo": {
  744. "post": {
  745. "tags": [
  746. "api/user"
  747. ],
  748. "description": "个人中心保存用户信息和透析病友信息\n\u003cbr\u003e",
  749. "operationId": "UserApiController.SaveUserInfo",
  750. "parameters": [
  751. {
  752. "in": "body",
  753. "name": "body",
  754. "description": "小程序登录请求参数",
  755. "required": true,
  756. "schema": {
  757. "$ref": "#/definitions/models.SaveUserInfoReq"
  758. }
  759. }
  760. ],
  761. "responses": {
  762. "200": {
  763. "description": "success"
  764. },
  765. "500": {
  766. "description": "error"
  767. }
  768. },
  769. "security": [
  770. {
  771. "token": []
  772. }
  773. ]
  774. }
  775. },
  776. "/api/user/updatephonebycode": {
  777. "post": {
  778. "tags": [
  779. "api/user"
  780. ],
  781. "description": "获取小程序绑定的手机号码并更新到用户信息\n\u003cbr\u003e",
  782. "operationId": "UserApiController.UpdatePhoneByCode",
  783. "parameters": [
  784. {
  785. "in": "body",
  786. "name": "body",
  787. "description": "小程序登录请求参数",
  788. "required": true,
  789. "schema": {
  790. "$ref": "#/definitions/models.WxXcxLoginReq"
  791. }
  792. }
  793. ],
  794. "responses": {
  795. "200": {
  796. "description": "success",
  797. "schema": {
  798. "$ref": "#/definitions/models.XcxUser"
  799. }
  800. },
  801. "500": {
  802. "description": "error"
  803. }
  804. },
  805. "security": [
  806. {
  807. "token": []
  808. }
  809. ]
  810. }
  811. }
  812. },
  813. "definitions": {
  814. "models.AppCheckRecordItemDetailsVO": {
  815. "title": "AppCheckRecordItemDetailsVO",
  816. "type": "object",
  817. "properties": {
  818. "alert": {
  819. "description": "true:异常,false:正常",
  820. "type": "boolean"
  821. },
  822. "check_item_scopes": {
  823. "description": "检测范围",
  824. "type": "array",
  825. "items": {
  826. "$ref": "#/definitions/models.CheckItemScopeVO"
  827. }
  828. },
  829. "describe": {
  830. "description": "描述",
  831. "type": "string"
  832. },
  833. "id": {
  834. "description": "id",
  835. "type": "integer",
  836. "format": "int64"
  837. },
  838. "name_cn": {
  839. "description": "中文名字",
  840. "type": "string"
  841. },
  842. "name_en": {
  843. "description": "英文名字",
  844. "type": "string"
  845. },
  846. "reference_value": {
  847. "description": "参考值",
  848. "type": "string"
  849. },
  850. "unit": {
  851. "description": "单位",
  852. "type": "string"
  853. },
  854. "value": {
  855. "description": "检测值",
  856. "type": "string"
  857. },
  858. "value_index": {
  859. "description": "检测值索引",
  860. "type": "string"
  861. }
  862. }
  863. },
  864. "models.AppCheckRecordItemReportVO": {
  865. "title": "AppCheckRecordItemReportVO",
  866. "type": "object",
  867. "properties": {
  868. "check_value_index": {
  869. "description": "检测值下标",
  870. "type": "integer",
  871. "format": "int64"
  872. },
  873. "date": {
  874. "$ref": "#/definitions/models.Time",
  875. "description": "检测时间"
  876. },
  877. "describe": {
  878. "description": "描述",
  879. "type": "string"
  880. },
  881. "id": {
  882. "description": "id",
  883. "type": "integer",
  884. "format": "int64"
  885. },
  886. "unit": {
  887. "description": "单位",
  888. "type": "string"
  889. },
  890. "value": {
  891. "description": "检测值",
  892. "type": "string"
  893. }
  894. }
  895. },
  896. "models.AppCheckRecordItemVO": {
  897. "title": "AppCheckRecordItemVO",
  898. "type": "object",
  899. "properties": {
  900. "alert_count": {
  901. "description": "异常数量",
  902. "type": "integer",
  903. "format": "int64"
  904. },
  905. "alert_grade": {
  906. "description": "风险等级 1 低 2 中 3 高",
  907. "type": "integer",
  908. "format": "int64"
  909. },
  910. "bind": {
  911. "description": "false 未绑定用户 true 绑定",
  912. "type": "boolean"
  913. },
  914. "check_date": {
  915. "$ref": "#/definitions/models.Time",
  916. "description": "检测日期"
  917. },
  918. "check_record_id": {
  919. "description": "检测记录id",
  920. "type": "integer",
  921. "format": "int64"
  922. },
  923. "describe": {
  924. "description": "描述",
  925. "type": "string"
  926. },
  927. "items": {
  928. "description": "检测详情",
  929. "type": "array",
  930. "items": {
  931. "$ref": "#/definitions/models.AppCheckRecordItemDetailsVO"
  932. }
  933. },
  934. "normal_count": {
  935. "description": "正常数量",
  936. "type": "integer",
  937. "format": "int64"
  938. },
  939. "status": {
  940. "description": "设备绑定状态(扫码查看结果时返回):1 未绑定 2设备为他人绑定 3设备为自己绑定",
  941. "type": "integer",
  942. "format": "int64"
  943. },
  944. "user_id": {
  945. "description": "绑定用户id 默认自己",
  946. "type": "integer",
  947. "format": "int64"
  948. }
  949. }
  950. },
  951. "models.AppCheckRecordVO": {
  952. "title": "AppCheckRecordVO",
  953. "type": "object",
  954. "properties": {
  955. "alert_count": {
  956. "description": "异常数量",
  957. "type": "integer",
  958. "format": "int64"
  959. },
  960. "alert_items": {
  961. "description": "异常项",
  962. "type": "array",
  963. "items": {
  964. "type": "string"
  965. }
  966. },
  967. "bind": {
  968. "description": "0 未绑定用户 1 绑定",
  969. "type": "integer",
  970. "format": "int64"
  971. },
  972. "check_date": {
  973. "$ref": "#/definitions/models.Time",
  974. "description": "检测日期"
  975. },
  976. "check_record_id": {
  977. "description": "检测记录id",
  978. "type": "integer",
  979. "format": "int64"
  980. },
  981. "describe": {
  982. "description": "描述",
  983. "type": "string"
  984. },
  985. "normal_count": {
  986. "description": "正常数量",
  987. "type": "integer",
  988. "format": "int64"
  989. },
  990. "user_id": {
  991. "description": "绑定用户id 默认自己",
  992. "type": "integer",
  993. "format": "int64"
  994. },
  995. "view": {
  996. "description": "是否查看 1 已查看 0 未查看",
  997. "type": "integer",
  998. "format": "int64"
  999. }
  1000. }
  1001. },
  1002. "models.CheckItem": {
  1003. "title": "CheckItem",
  1004. "type": "object",
  1005. "properties": {
  1006. "check_item_number": {
  1007. "description": "排序",
  1008. "type": "integer",
  1009. "format": "int64"
  1010. },
  1011. "check_type": {
  1012. "description": "检测类型(试纸类型)",
  1013. "type": "string"
  1014. },
  1015. "ctime": {
  1016. "description": "创建时间",
  1017. "type": "string",
  1018. "format": "datetime"
  1019. },
  1020. "delete_flag": {
  1021. "description": "删除标志",
  1022. "type": "integer",
  1023. "format": "int64"
  1024. },
  1025. "details": {
  1026. "description": "描述",
  1027. "type": "string"
  1028. },
  1029. "device_type": {
  1030. "description": "设备类型",
  1031. "type": "string"
  1032. },
  1033. "id": {
  1034. "description": "检测项目ID",
  1035. "type": "integer",
  1036. "format": "int64"
  1037. },
  1038. "language": {
  1039. "description": "cn: 中文 en 英文",
  1040. "type": "string"
  1041. },
  1042. "mtime": {
  1043. "description": "更新时间 ",
  1044. "type": "string",
  1045. "format": "datetime"
  1046. },
  1047. "name_cn": {
  1048. "description": "检测项目中文名",
  1049. "type": "string"
  1050. },
  1051. "name_en": {
  1052. "description": "检测项目英文名",
  1053. "type": "string"
  1054. },
  1055. "reference_value": {
  1056. "description": " 参考值",
  1057. "type": "string"
  1058. },
  1059. "remark": {
  1060. "description": "备注",
  1061. "type": "string"
  1062. },
  1063. "scope_list": {
  1064. "description": "范围value 值,type =1为正常、2及以上为异 常",
  1065. "type": "string"
  1066. },
  1067. "text": {
  1068. "description": "文本",
  1069. "type": "string"
  1070. },
  1071. "unit": {
  1072. "description": "单位",
  1073. "type": "string"
  1074. }
  1075. }
  1076. },
  1077. "models.CheckItemNewsVO": {
  1078. "title": "CheckItemNewsVO",
  1079. "type": "object",
  1080. "properties": {
  1081. "author_id": {
  1082. "description": "新闻作者的ID",
  1083. "type": "integer",
  1084. "format": "int64"
  1085. },
  1086. "collect_count": {
  1087. "description": "收藏数",
  1088. "type": "integer",
  1089. "format": "int64"
  1090. },
  1091. "comment_count": {
  1092. "description": "评论数",
  1093. "type": "integer",
  1094. "format": "int64"
  1095. },
  1096. "content": {
  1097. "description": "新闻正文内容",
  1098. "type": "string"
  1099. },
  1100. "content_images": {
  1101. "description": "存储新闻内容中的图片路径,可能为逗号分隔的字符串或JSON格式",
  1102. "type": "string"
  1103. },
  1104. "create_time": {
  1105. "$ref": "#/definitions/models.Time",
  1106. "description": "创建时间"
  1107. },
  1108. "delete_flag": {
  1109. "description": "删除标记,0表示未删除,1表示已删除",
  1110. "type": "integer",
  1111. "format": "int64"
  1112. },
  1113. "id": {
  1114. "description": "主键,唯一标识每条记录",
  1115. "type": "integer",
  1116. "format": "int64"
  1117. },
  1118. "introduction": {
  1119. "description": "新闻简介或摘要",
  1120. "type": "string"
  1121. },
  1122. "like_count": {
  1123. "description": "点赞数",
  1124. "type": "integer",
  1125. "format": "int64"
  1126. },
  1127. "reading_quantity": {
  1128. "description": "阅读量",
  1129. "type": "integer",
  1130. "format": "int64"
  1131. },
  1132. "sort_in_tag": {
  1133. "description": "在特定标签内的排序规则",
  1134. "type": "string"
  1135. },
  1136. "status": {
  1137. "description": "新闻状态(例如,草稿、已发布等)",
  1138. "type": "integer",
  1139. "format": "int64"
  1140. },
  1141. "style_type": {
  1142. "description": "显示样式类型,可能用于控制前端展示效果",
  1143. "type": "integer",
  1144. "format": "int64"
  1145. },
  1146. "tags": {
  1147. "description": "新闻标签,用以分类或检索",
  1148. "type": "string"
  1149. },
  1150. "title": {
  1151. "description": "新闻标题",
  1152. "type": "string"
  1153. },
  1154. "update_time": {
  1155. "$ref": "#/definitions/models.Time",
  1156. "description": "记录最后更新的时间,自动更新"
  1157. }
  1158. }
  1159. },
  1160. "models.CheckItemScopeVO": {
  1161. "title": "CheckItemScopeVO",
  1162. "type": "object",
  1163. "properties": {
  1164. "index": {
  1165. "type": "integer",
  1166. "format": "int64"
  1167. },
  1168. "num": {
  1169. "type": "string"
  1170. },
  1171. "type": {
  1172. "type": "integer",
  1173. "format": "int64"
  1174. },
  1175. "value": {
  1176. "type": "string"
  1177. }
  1178. }
  1179. },
  1180. "models.Device": {
  1181. "title": "Device",
  1182. "type": "object",
  1183. "properties": {
  1184. "batch_number": {
  1185. "description": "批号",
  1186. "type": "integer",
  1187. "format": "int64"
  1188. },
  1189. "ctime": {
  1190. "description": "创建时间",
  1191. "type": "string",
  1192. "format": "datetime"
  1193. },
  1194. "delete_flag": {
  1195. "description": "删除标志",
  1196. "type": "integer",
  1197. "format": "int64"
  1198. },
  1199. "device_name": {
  1200. "description": "设备名称",
  1201. "type": "string"
  1202. },
  1203. "device_type": {
  1204. "description": "设备类型",
  1205. "type": "string"
  1206. },
  1207. "emq_password": {
  1208. "description": "emq密码",
  1209. "type": "string"
  1210. },
  1211. "id": {
  1212. "description": "设备ID",
  1213. "type": "integer",
  1214. "format": "int64"
  1215. },
  1216. "inform_type": {
  1217. "description": "通知类型:0跳转小程序、1跳转网页 、默认跳转小程序",
  1218. "type": "integer",
  1219. "format": "int64"
  1220. },
  1221. "language": {
  1222. "description": "语言",
  1223. "type": "string"
  1224. },
  1225. "mac": {
  1226. "type": "string"
  1227. },
  1228. "mcu": {
  1229. "type": "string"
  1230. },
  1231. "mcu_type": {
  1232. "description": "MCU芯片类型",
  1233. "type": "string"
  1234. },
  1235. "mtime": {
  1236. "description": "更新时间 ",
  1237. "type": "string",
  1238. "format": "datetime"
  1239. },
  1240. "name": {
  1241. "description": "设备名称",
  1242. "type": "string"
  1243. },
  1244. "number": {
  1245. "description": "序号",
  1246. "type": "integer",
  1247. "format": "int64"
  1248. },
  1249. "oem_company": {
  1250. "description": "厂商(0:自营 1:艾玛OEM)",
  1251. "type": "integer",
  1252. "format": "int64"
  1253. },
  1254. "org_id": {
  1255. "description": "所属机构",
  1256. "type": "integer",
  1257. "format": "int64"
  1258. },
  1259. "paper_check": {
  1260. "description": "试纸检查状态",
  1261. "type": "integer",
  1262. "format": "int64"
  1263. },
  1264. "production_date_number": {
  1265. "description": "生产日期",
  1266. "type": "integer",
  1267. "format": "int64"
  1268. },
  1269. "qr_code": {
  1270. "type": "string"
  1271. },
  1272. "sensor_mode": {
  1273. "description": "传感放大倍数",
  1274. "type": "string"
  1275. },
  1276. "serialno": {
  1277. "description": "设备编号",
  1278. "type": "string"
  1279. },
  1280. "status": {
  1281. "description": "状态(0:未分配 1:已分配 2:包装中 3:待出厂 6:废弃 99:已出厂 100:销售中 101:已售出)",
  1282. "type": "integer",
  1283. "format": "int64"
  1284. },
  1285. "ver": {
  1286. "description": "软件版本",
  1287. "type": "string"
  1288. },
  1289. "wifi_ver": {
  1290. "description": "WIFI版本",
  1291. "type": "string"
  1292. }
  1293. }
  1294. },
  1295. "models.DicResp": {
  1296. "title": "DicResp",
  1297. "type": "object",
  1298. "properties": {
  1299. "name": {
  1300. "description": "字典名称",
  1301. "type": "string"
  1302. },
  1303. "type": {
  1304. "type": "string"
  1305. },
  1306. "value": {
  1307. "description": "字典值",
  1308. "type": "integer",
  1309. "format": "int64"
  1310. },
  1311. "value_str": {
  1312. "description": "字典字符串值",
  1313. "type": "string"
  1314. }
  1315. }
  1316. },
  1317. "models.HealthProfileResp": {
  1318. "title": "HealthProfileResp",
  1319. "type": "object",
  1320. "properties": {
  1321. "birthday": {
  1322. "$ref": "#/definitions/models.Time",
  1323. "description": "生日"
  1324. },
  1325. "blood_type": {
  1326. "description": "血型",
  1327. "type": "string"
  1328. },
  1329. "creatine_time": {
  1330. "$ref": "#/definitions/models.Time",
  1331. "description": "肌酐检测时间"
  1332. },
  1333. "creatinine": {
  1334. "description": "血肌酐",
  1335. "type": "number",
  1336. "format": "double"
  1337. },
  1338. "creatinine_unit": {
  1339. "description": "肌酐单位(umol/L,mg/dl)",
  1340. "type": "string"
  1341. },
  1342. "ctime": {
  1343. "$ref": "#/definitions/models.Time",
  1344. "description": "创建时间"
  1345. },
  1346. "gender": {
  1347. "description": "性别(0:未知 1:男 2:女)",
  1348. "type": "integer",
  1349. "format": "int64"
  1350. },
  1351. "height": {
  1352. "description": "身高",
  1353. "type": "integer",
  1354. "format": "int64"
  1355. },
  1356. "id": {
  1357. "description": "Primary Key ID",
  1358. "type": "integer",
  1359. "format": "int64"
  1360. },
  1361. "illness_state": {
  1362. "description": "病情",
  1363. "type": "string"
  1364. },
  1365. "mtime": {
  1366. "$ref": "#/definitions/models.Time",
  1367. "description": "更新时间 "
  1368. },
  1369. "renal_function_status": {
  1370. "description": "肾功能情况(0:未透析,1: 血液透析,2:腹膜透析,3:肾脏移植)",
  1371. "type": "integer",
  1372. "format": "int64"
  1373. },
  1374. "status": {
  1375. "description": "状态(1:有效 0:无效 )",
  1376. "type": "integer",
  1377. "format": "int64"
  1378. },
  1379. "urine_protein": {
  1380. "description": "尿蛋白",
  1381. "type": "number",
  1382. "format": "double"
  1383. },
  1384. "urine_protein_24h": {
  1385. "description": "24小时尿蛋白",
  1386. "type": "number",
  1387. "format": "double"
  1388. },
  1389. "urine_protein_24h_time": {
  1390. "$ref": "#/definitions/models.Time",
  1391. "description": "24小时尿蛋白检测时间"
  1392. },
  1393. "urine_protein_24h_unit": {
  1394. "description": "24小时尿蛋白单位(g/24h,mg/24h)",
  1395. "type": "string"
  1396. },
  1397. "urine_protein_time": {
  1398. "$ref": "#/definitions/models.Time",
  1399. "description": "尿蛋白检测时间"
  1400. },
  1401. "urine_protein_unit": {
  1402. "description": "尿蛋白单位(g,mg)",
  1403. "type": "string"
  1404. },
  1405. "weight": {
  1406. "description": "体重",
  1407. "type": "number",
  1408. "format": "double"
  1409. }
  1410. }
  1411. },
  1412. "models.SaveHealthProfileReq": {
  1413. "title": "SaveHealthProfileReq",
  1414. "type": "object",
  1415. "properties": {
  1416. "birthday": {
  1417. "description": "生日 yyyy-MM-dd HH:mm:ss",
  1418. "type": "string"
  1419. },
  1420. "blood_type": {
  1421. "description": "血型",
  1422. "type": "string"
  1423. },
  1424. "creatine_time": {
  1425. "description": "肌酐检测时间 yyyy-MM-dd HH:mm:ss",
  1426. "type": "string"
  1427. },
  1428. "creatinine": {
  1429. "description": "血肌酐",
  1430. "type": "number",
  1431. "format": "double"
  1432. },
  1433. "creatinine_unit": {
  1434. "description": "肌酐单位(umol/L,mg/dl)",
  1435. "type": "string"
  1436. },
  1437. "gender": {
  1438. "description": "性别(0:未知 1:男 2:女)",
  1439. "type": "integer",
  1440. "format": "int64"
  1441. },
  1442. "height": {
  1443. "description": "身高",
  1444. "type": "integer",
  1445. "format": "int64"
  1446. },
  1447. "illness_state": {
  1448. "description": "病情",
  1449. "type": "string"
  1450. },
  1451. "renal_function_status": {
  1452. "description": "肾功能情况(0:未透析,1: 血液透析,2:腹膜透析,3:肾脏移植)",
  1453. "type": "integer",
  1454. "format": "int64"
  1455. },
  1456. "urine_protein": {
  1457. "description": "尿蛋白",
  1458. "type": "number",
  1459. "format": "double"
  1460. },
  1461. "urine_protein_24h": {
  1462. "description": "24小时尿蛋白",
  1463. "type": "number",
  1464. "format": "double"
  1465. },
  1466. "urine_protein_24h_time": {
  1467. "description": "24小时尿蛋白检测时间 yyyy-MM-dd HH:mm:ss",
  1468. "type": "string"
  1469. },
  1470. "urine_protein_24h_unit": {
  1471. "description": "24小时尿蛋白单位(g/24h,mg/24h)",
  1472. "type": "string"
  1473. },
  1474. "urine_protein_time": {
  1475. "description": "尿蛋白检测时间 yyyy-MM-dd HH:mm:ss",
  1476. "type": "string"
  1477. },
  1478. "urine_protein_unit": {
  1479. "description": "尿蛋白单位(g,mg)",
  1480. "type": "string"
  1481. },
  1482. "weight": {
  1483. "description": "体重",
  1484. "type": "number",
  1485. "format": "double"
  1486. }
  1487. }
  1488. },
  1489. "models.SaveUserInfoReq": {
  1490. "title": "SaveUserInfoReq",
  1491. "type": "object",
  1492. "properties": {
  1493. "avatar": {
  1494. "description": "头像",
  1495. "type": "string"
  1496. },
  1497. "email": {
  1498. "description": "邮件",
  1499. "type": "string"
  1500. },
  1501. "id_card": {
  1502. "description": "身份证号",
  1503. "type": "string"
  1504. },
  1505. "inpatient_reg_phone": {
  1506. "description": "住院登记手机号",
  1507. "type": "string"
  1508. },
  1509. "nick_name": {
  1510. "description": "昵称",
  1511. "type": "string"
  1512. },
  1513. "phone": {
  1514. "description": "手机号码",
  1515. "type": "string"
  1516. },
  1517. "real_name": {
  1518. "description": "真实姓名",
  1519. "type": "string"
  1520. },
  1521. "verify_code": {
  1522. "description": "手机验证码",
  1523. "type": "string"
  1524. }
  1525. }
  1526. },
  1527. "models.SyhArticlesMenu": {
  1528. "title": "SyhArticlesMenu",
  1529. "type": "object",
  1530. "properties": {
  1531. "id": {
  1532. "description": "自增主键ID",
  1533. "type": "integer",
  1534. "format": "int32"
  1535. },
  1536. "img": {
  1537. "description": "图片",
  1538. "type": "string"
  1539. },
  1540. "name": {
  1541. "description": "分类名",
  1542. "type": "string"
  1543. },
  1544. "order": {
  1545. "description": "排序",
  1546. "type": "integer",
  1547. "format": "int32"
  1548. },
  1549. "status": {
  1550. "description": "状态",
  1551. "type": "integer",
  1552. "format": "int32"
  1553. },
  1554. "summary": {
  1555. "description": "介绍",
  1556. "type": "string"
  1557. },
  1558. "type": {
  1559. "description": "分类类型",
  1560. "type": "integer",
  1561. "format": "int32"
  1562. }
  1563. }
  1564. },
  1565. "models.SyhArticlesVO": {
  1566. "title": "SyhArticlesVO",
  1567. "type": "object",
  1568. "properties": {
  1569. "article_type": {
  1570. "description": "文章类型",
  1571. "type": "integer",
  1572. "format": "int32"
  1573. },
  1574. "author": {
  1575. "description": "作者",
  1576. "type": "string"
  1577. },
  1578. "class_id": {
  1579. "description": "主分类",
  1580. "type": "integer",
  1581. "format": "int32"
  1582. },
  1583. "comment_num": {
  1584. "description": "评论数",
  1585. "type": "integer",
  1586. "format": "int32"
  1587. },
  1588. "content": {
  1589. "description": "内容",
  1590. "type": "string"
  1591. },
  1592. "ctime": {
  1593. "$ref": "#/definitions/models.Time",
  1594. "description": "创建时间"
  1595. },
  1596. "from_id": {
  1597. "description": "医生/机构ID",
  1598. "type": "integer",
  1599. "format": "int32"
  1600. },
  1601. "id": {
  1602. "description": "自增主键ID",
  1603. "type": "integer",
  1604. "format": "int32"
  1605. },
  1606. "img": {
  1607. "description": "图片",
  1608. "type": "string"
  1609. },
  1610. "is_del": {
  1611. "description": "是否删除",
  1612. "type": "integer",
  1613. "format": "int32"
  1614. },
  1615. "menu_id": {
  1616. "description": "辅分类",
  1617. "type": "integer",
  1618. "format": "int32"
  1619. },
  1620. "new_time": {
  1621. "$ref": "#/definitions/models.Time",
  1622. "description": "新建时间"
  1623. },
  1624. "num": {
  1625. "description": "点击次数",
  1626. "type": "integer",
  1627. "format": "int32"
  1628. },
  1629. "org_id": {
  1630. "description": "orgId",
  1631. "type": "integer",
  1632. "format": "int32"
  1633. },
  1634. "reason": {
  1635. "description": "原因",
  1636. "type": "string"
  1637. },
  1638. "star_num": {
  1639. "description": "点赞数",
  1640. "type": "integer",
  1641. "format": "int32"
  1642. },
  1643. "status": {
  1644. "description": "状态 0正在审核,1通过,2未通过,3草稿,4通过且大图显示视频",
  1645. "type": "integer",
  1646. "format": "int32"
  1647. },
  1648. "summary": {
  1649. "description": "简介",
  1650. "type": "string"
  1651. },
  1652. "t_module": {
  1653. "description": "模块",
  1654. "type": "string"
  1655. },
  1656. "tags": {
  1657. "description": "标签",
  1658. "type": "string"
  1659. },
  1660. "title": {
  1661. "description": "标题",
  1662. "type": "string"
  1663. },
  1664. "type": {
  1665. "description": "类型'0系统1医生2机构",
  1666. "type": "integer",
  1667. "format": "int32"
  1668. }
  1669. }
  1670. },
  1671. "models.Time": {
  1672. "title": "Time",
  1673. "type": "object"
  1674. },
  1675. "models.UserInfoResp": {
  1676. "title": "UserInfoResp",
  1677. "type": "object",
  1678. "properties": {
  1679. "avatar": {
  1680. "description": "头像",
  1681. "type": "string"
  1682. },
  1683. "ctime": {
  1684. "$ref": "#/definitions/models.Time",
  1685. "description": "创建时间"
  1686. },
  1687. "dialysis_no": {
  1688. "description": " 透析号",
  1689. "type": "string"
  1690. },
  1691. "email": {
  1692. "description": "邮件",
  1693. "type": "string"
  1694. },
  1695. "health_care_no": {
  1696. "description": " 医保号",
  1697. "type": "string"
  1698. },
  1699. "id": {
  1700. "description": "Primary Key ID",
  1701. "type": "integer",
  1702. "format": "int64"
  1703. },
  1704. "id_card": {
  1705. "description": "身份证号",
  1706. "type": "string"
  1707. },
  1708. "inpatient_reg_phone": {
  1709. "description": "住院登记手机号",
  1710. "type": "string"
  1711. },
  1712. "mtime": {
  1713. "$ref": "#/definitions/models.Time",
  1714. "description": "更新时间 "
  1715. },
  1716. "nick_name": {
  1717. "description": "昵称",
  1718. "type": "string"
  1719. },
  1720. "open_id": {
  1721. "description": "OpenID",
  1722. "type": "string"
  1723. },
  1724. "patient_id": {
  1725. "type": "integer",
  1726. "format": "int64"
  1727. },
  1728. "phone": {
  1729. "description": "手机号码",
  1730. "type": "string"
  1731. },
  1732. "privacy_protocol_versions": {
  1733. "description": "隐私政策版本",
  1734. "type": "integer",
  1735. "format": "int64"
  1736. },
  1737. "real_name": {
  1738. "description": "真实姓名",
  1739. "type": "string"
  1740. },
  1741. "source": {
  1742. "description": "用户来源",
  1743. "type": "string"
  1744. },
  1745. "status": {
  1746. "description": "状态(1:有效0:无效)",
  1747. "type": "integer",
  1748. "format": "int64"
  1749. },
  1750. "union_id": {
  1751. "description": "unionid",
  1752. "type": "string"
  1753. },
  1754. "user_org_id": {
  1755. "type": "integer",
  1756. "format": "int64"
  1757. }
  1758. }
  1759. },
  1760. "models.WxXcxLoginReq": {
  1761. "title": "WxXcxLoginReq",
  1762. "type": "object",
  1763. "properties": {
  1764. "code": {
  1765. "type": "string"
  1766. }
  1767. }
  1768. },
  1769. "models.WxXcxLoginResp": {
  1770. "title": "WxXcxLoginResp",
  1771. "type": "object",
  1772. "properties": {
  1773. "openid": {
  1774. "type": "string"
  1775. },
  1776. "patient_id": {
  1777. "type": "integer",
  1778. "format": "int64"
  1779. },
  1780. "token": {
  1781. "type": "string"
  1782. },
  1783. "user_org_id": {
  1784. "type": "integer",
  1785. "format": "int64"
  1786. }
  1787. }
  1788. },
  1789. "models.XcxUser": {
  1790. "title": "XcxUser",
  1791. "type": "object",
  1792. "properties": {
  1793. "avatar": {
  1794. "description": "头像",
  1795. "type": "string"
  1796. },
  1797. "ctime": {
  1798. "description": "创建时间",
  1799. "type": "string",
  1800. "format": "datetime"
  1801. },
  1802. "email": {
  1803. "description": "邮件",
  1804. "type": "string"
  1805. },
  1806. "id": {
  1807. "description": "Primary Key ID",
  1808. "type": "integer",
  1809. "format": "int64"
  1810. },
  1811. "mtime": {
  1812. "description": "更新时间 ",
  1813. "type": "string",
  1814. "format": "datetime"
  1815. },
  1816. "nick_name": {
  1817. "description": "昵称",
  1818. "type": "string"
  1819. },
  1820. "open_id": {
  1821. "description": "OpenID",
  1822. "type": "string"
  1823. },
  1824. "patient_id": {
  1825. "type": "integer",
  1826. "format": "int64"
  1827. },
  1828. "phone": {
  1829. "description": "手机号码",
  1830. "type": "string"
  1831. },
  1832. "privacy_protocol_versions": {
  1833. "description": "隐私政策版本",
  1834. "type": "integer",
  1835. "format": "int64"
  1836. },
  1837. "role_type": {
  1838. "description": "角色类型 0或空:普通 1:管理员 2:测试",
  1839. "type": "integer",
  1840. "format": "int64"
  1841. },
  1842. "session_key": {
  1843. "type": "string"
  1844. },
  1845. "source": {
  1846. "description": "用户来源",
  1847. "type": "string"
  1848. },
  1849. "status": {
  1850. "description": "状态(1:有效 0: 无效)",
  1851. "type": "integer",
  1852. "format": "int64"
  1853. },
  1854. "union_id": {
  1855. "description": "unionid",
  1856. "type": "string"
  1857. },
  1858. "user_org_id": {
  1859. "type": "integer",
  1860. "format": "int64"
  1861. }
  1862. }
  1863. }
  1864. },
  1865. "securityDefinitions": {
  1866. "token": {
  1867. "type": "apiKey",
  1868. "name": "Authorization",
  1869. "in": "header"
  1870. }
  1871. }
  1872. }