建材商城系统20241014
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1930 lines
66 KiB

  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "后台API接口",
  5. "version": "1.0",
  6. "title": "后台服务API接口文档",
  7. "contact": {
  8. "name": "*********有限公司",
  9. "url": "*********有限公司",
  10. "email": "*********@qq.com"
  11. }
  12. },
  13. "host": "h5.xzaiyp.top",
  14. "tags": [
  15. {
  16. "name": "个人中心",
  17. "x-order": "2147483647"
  18. },
  19. {
  20. "name": "公共配置接口",
  21. "x-order": "2147483647"
  22. },
  23. {
  24. "name": "授权登录",
  25. "x-order": "2147483647"
  26. },
  27. {
  28. "name": "订单接口",
  29. "x-order": "2147483647"
  30. },
  31. {
  32. "name": "首页接口",
  33. "x-order": "2147483647"
  34. }
  35. ],
  36. "paths": {
  37. "/building-admin/all_login/appletLogin": {
  38. "get": {
  39. "tags": [
  40. "授权登录"
  41. ],
  42. "summary": "微信小程序授权登录",
  43. "description": "微信小程序授权登录",
  44. "operationId": "appletLoginUsingGET",
  45. "produces": [
  46. "*/*"
  47. ],
  48. "parameters": [
  49. {
  50. "name": "code",
  51. "in": "query",
  52. "description": "参数信息",
  53. "required": false,
  54. "type": "string"
  55. },
  56. {
  57. "name": "encryptedData",
  58. "in": "query",
  59. "description": "解密",
  60. "required": false,
  61. "type": "string"
  62. },
  63. {
  64. "name": "headimgurl",
  65. "in": "query",
  66. "description": "用户头像",
  67. "required": false,
  68. "type": "string"
  69. },
  70. {
  71. "name": "id",
  72. "in": "query",
  73. "description": "标识",
  74. "required": false,
  75. "type": "string"
  76. },
  77. {
  78. "name": "iv",
  79. "in": "query",
  80. "description": "解密标签",
  81. "required": false,
  82. "type": "string"
  83. },
  84. {
  85. "name": "nickName",
  86. "in": "query",
  87. "description": "用户姓名",
  88. "required": false,
  89. "type": "string"
  90. },
  91. {
  92. "name": "openid",
  93. "in": "query",
  94. "description": "用户唯一标识",
  95. "required": false,
  96. "type": "string"
  97. },
  98. {
  99. "name": "session_key",
  100. "in": "query",
  101. "description": "会话密钥",
  102. "required": false,
  103. "type": "string"
  104. },
  105. {
  106. "name": "shareId",
  107. "in": "query",
  108. "description": "邀请者销售标识",
  109. "required": false,
  110. "type": "string"
  111. },
  112. {
  113. "name": "state",
  114. "in": "query",
  115. "description": "类型",
  116. "required": false,
  117. "type": "string"
  118. },
  119. {
  120. "name": "vid",
  121. "in": "query",
  122. "description": "参数信息",
  123. "required": false,
  124. "type": "string"
  125. }
  126. ],
  127. "responses": {
  128. "200": {
  129. "description": "OK",
  130. "schema": {
  131. "$ref": "#/definitions/接口返回对象«object»",
  132. "originalRef": "接口返回对象«object»"
  133. }
  134. },
  135. "401": {
  136. "description": "Unauthorized"
  137. },
  138. "403": {
  139. "description": "Forbidden"
  140. },
  141. "404": {
  142. "description": "Not Found"
  143. }
  144. },
  145. "security": [
  146. {
  147. "X-Access-Token": [
  148. "global"
  149. ]
  150. }
  151. ],
  152. "x-order": "2147483647"
  153. }
  154. },
  155. "/building-admin/all_login/bindPhone": {
  156. "get": {
  157. "tags": [
  158. "授权登录"
  159. ],
  160. "summary": "绑定手机号码",
  161. "description": "绑定手机号码",
  162. "operationId": "bindPhoneUsingGET",
  163. "produces": [
  164. "*/*"
  165. ],
  166. "parameters": [
  167. {
  168. "name": "code",
  169. "in": "query",
  170. "description": "code",
  171. "required": false,
  172. "type": "string"
  173. }
  174. ],
  175. "responses": {
  176. "200": {
  177. "description": "OK",
  178. "schema": {
  179. "$ref": "#/definitions/接口返回对象«object»",
  180. "originalRef": "接口返回对象«object»"
  181. }
  182. },
  183. "401": {
  184. "description": "Unauthorized"
  185. },
  186. "403": {
  187. "description": "Forbidden"
  188. },
  189. "404": {
  190. "description": "Not Found"
  191. }
  192. },
  193. "security": [
  194. {
  195. "X-Access-Token": [
  196. "global"
  197. ]
  198. }
  199. ],
  200. "x-order": "2147483647"
  201. }
  202. },
  203. "/building-admin/conf/getConfig": {
  204. "get": {
  205. "tags": [
  206. "公共配置接口"
  207. ],
  208. "summary": "获取平台基础配置",
  209. "description": "获取平台基础配置",
  210. "operationId": "getConfigUsingGET",
  211. "produces": [
  212. "*/*"
  213. ],
  214. "responses": {
  215. "200": {
  216. "description": "OK",
  217. "schema": {
  218. "$ref": "#/definitions/接口返回对象«object»",
  219. "originalRef": "接口返回对象«object»"
  220. }
  221. },
  222. "401": {
  223. "description": "Unauthorized"
  224. },
  225. "403": {
  226. "description": "Forbidden"
  227. },
  228. "404": {
  229. "description": "Not Found"
  230. }
  231. },
  232. "security": [
  233. {
  234. "X-Access-Token": [
  235. "global"
  236. ]
  237. }
  238. ],
  239. "x-order": "2147483647"
  240. }
  241. },
  242. "/building-admin/index/addOrder": {
  243. "post": {
  244. "tags": [
  245. "首页接口"
  246. ],
  247. "summary": "快捷下单-拍照下单/语音下单",
  248. "description": "快捷下单-拍照下单/语音下单",
  249. "operationId": "addOrderUsingPOST",
  250. "consumes": [
  251. "application/json"
  252. ],
  253. "produces": [
  254. "*/*"
  255. ],
  256. "parameters": [
  257. {
  258. "name": "createBy",
  259. "in": "query",
  260. "description": "创建人",
  261. "required": false,
  262. "type": "string"
  263. },
  264. {
  265. "name": "createTime",
  266. "in": "query",
  267. "description": "创建日期",
  268. "required": false,
  269. "type": "string",
  270. "format": "date-time"
  271. },
  272. {
  273. "name": "id",
  274. "in": "query",
  275. "description": "主键",
  276. "required": false,
  277. "type": "string"
  278. },
  279. {
  280. "name": "imageUrl",
  281. "in": "query",
  282. "description": "内容图片",
  283. "required": false,
  284. "type": "string"
  285. },
  286. {
  287. "name": "isPay",
  288. "in": "query",
  289. "description": "是否支付",
  290. "required": false,
  291. "type": "string"
  292. },
  293. {
  294. "name": "shopId",
  295. "in": "query",
  296. "description": "推荐商品",
  297. "required": false,
  298. "type": "string"
  299. },
  300. {
  301. "name": "status",
  302. "in": "query",
  303. "description": "审核状态",
  304. "required": false,
  305. "type": "string"
  306. },
  307. {
  308. "name": "type",
  309. "in": "query",
  310. "description": "类型",
  311. "required": false,
  312. "type": "string"
  313. },
  314. {
  315. "name": "updateBy",
  316. "in": "query",
  317. "description": "更新人",
  318. "required": false,
  319. "type": "string"
  320. },
  321. {
  322. "name": "updateTime",
  323. "in": "query",
  324. "description": "更新日期",
  325. "required": false,
  326. "type": "string",
  327. "format": "date-time"
  328. },
  329. {
  330. "name": "userId",
  331. "in": "query",
  332. "description": "提交用户",
  333. "required": false,
  334. "type": "string"
  335. },
  336. {
  337. "name": "voiceUrl",
  338. "in": "query",
  339. "description": "语音图片",
  340. "required": false,
  341. "type": "string"
  342. },
  343. {
  344. "name": "X-Access-Token",
  345. "in": "header",
  346. "description": "X-Access-Token",
  347. "required": true,
  348. "type": "string"
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/接口返回对象«object»",
  356. "originalRef": "接口返回对象«object»"
  357. }
  358. },
  359. "201": {
  360. "description": "Created"
  361. },
  362. "401": {
  363. "description": "Unauthorized"
  364. },
  365. "403": {
  366. "description": "Forbidden"
  367. },
  368. "404": {
  369. "description": "Not Found"
  370. }
  371. },
  372. "security": [
  373. {
  374. "X-Access-Token": [
  375. "global"
  376. ]
  377. }
  378. ],
  379. "x-order": "2147483647"
  380. }
  381. },
  382. "/building-admin/index/createOrder": {
  383. "post": {
  384. "tags": [
  385. "首页接口"
  386. ],
  387. "summary": "创建订单",
  388. "description": "创建订单",
  389. "operationId": "createOrderUsingPOST",
  390. "consumes": [
  391. "application/json"
  392. ],
  393. "produces": [
  394. "*/*"
  395. ],
  396. "parameters": [
  397. {
  398. "name": "addressId",
  399. "in": "query",
  400. "description": "addressId",
  401. "required": false,
  402. "type": "string"
  403. },
  404. {
  405. "name": "payType",
  406. "in": "query",
  407. "description": "payType",
  408. "required": false,
  409. "type": "integer",
  410. "format": "int32"
  411. },
  412. {
  413. "name": "productId",
  414. "in": "query",
  415. "description": "productId",
  416. "required": false,
  417. "type": "string"
  418. },
  419. {
  420. "name": "X-Access-Token",
  421. "in": "header",
  422. "description": "X-Access-Token",
  423. "required": true,
  424. "type": "string"
  425. }
  426. ],
  427. "responses": {
  428. "200": {
  429. "description": "OK",
  430. "schema": {
  431. "$ref": "#/definitions/接口返回对象«object»",
  432. "originalRef": "接口返回对象«object»"
  433. }
  434. },
  435. "201": {
  436. "description": "Created"
  437. },
  438. "401": {
  439. "description": "Unauthorized"
  440. },
  441. "403": {
  442. "description": "Forbidden"
  443. },
  444. "404": {
  445. "description": "Not Found"
  446. }
  447. },
  448. "security": [
  449. {
  450. "X-Access-Token": [
  451. "global"
  452. ]
  453. }
  454. ],
  455. "x-order": "2147483647"
  456. }
  457. },
  458. "/building-admin/index/getBanner": {
  459. "get": {
  460. "tags": [
  461. "首页接口"
  462. ],
  463. "summary": "获取banner",
  464. "description": "获取banner",
  465. "operationId": "getBannerUsingGET",
  466. "produces": [
  467. "*/*"
  468. ],
  469. "responses": {
  470. "200": {
  471. "description": "OK",
  472. "schema": {
  473. "$ref": "#/definitions/接口返回对象«object»",
  474. "originalRef": "接口返回对象«object»"
  475. }
  476. },
  477. "401": {
  478. "description": "Unauthorized"
  479. },
  480. "403": {
  481. "description": "Forbidden"
  482. },
  483. "404": {
  484. "description": "Not Found"
  485. }
  486. },
  487. "security": [
  488. {
  489. "X-Access-Token": [
  490. "global"
  491. ]
  492. }
  493. ],
  494. "x-order": "2147483647"
  495. }
  496. },
  497. "/building-admin/index/getIcon": {
  498. "get": {
  499. "tags": [
  500. "首页接口"
  501. ],
  502. "summary": "获取金刚区icon",
  503. "description": "获取金刚区icon",
  504. "operationId": "getIconUsingGET",
  505. "produces": [
  506. "*/*"
  507. ],
  508. "responses": {
  509. "200": {
  510. "description": "OK",
  511. "schema": {
  512. "$ref": "#/definitions/接口返回对象«object»",
  513. "originalRef": "接口返回对象«object»"
  514. }
  515. },
  516. "401": {
  517. "description": "Unauthorized"
  518. },
  519. "403": {
  520. "description": "Forbidden"
  521. },
  522. "404": {
  523. "description": "Not Found"
  524. }
  525. },
  526. "security": [
  527. {
  528. "X-Access-Token": [
  529. "global"
  530. ]
  531. }
  532. ],
  533. "x-order": "2147483647"
  534. }
  535. },
  536. "/building-admin/index/getOrderInfo": {
  537. "get": {
  538. "tags": [
  539. "首页接口"
  540. ],
  541. "summary": "根据用户登录信息获取当前是否有快捷下单订单",
  542. "description": "根据用户登录信息获取当前是否有快捷下单订单",
  543. "operationId": "getOrderInfoUsingGET",
  544. "produces": [
  545. "*/*"
  546. ],
  547. "parameters": [
  548. {
  549. "name": "X-Access-Token",
  550. "in": "header",
  551. "description": "X-Access-Token",
  552. "required": true,
  553. "type": "string"
  554. }
  555. ],
  556. "responses": {
  557. "200": {
  558. "description": "OK",
  559. "schema": {
  560. "$ref": "#/definitions/接口返回对象«object»",
  561. "originalRef": "接口返回对象«object»"
  562. }
  563. },
  564. "401": {
  565. "description": "Unauthorized"
  566. },
  567. "403": {
  568. "description": "Forbidden"
  569. },
  570. "404": {
  571. "description": "Not Found"
  572. }
  573. },
  574. "security": [
  575. {
  576. "X-Access-Token": [
  577. "global"
  578. ]
  579. }
  580. ],
  581. "x-order": "2147483647"
  582. }
  583. },
  584. "/building-admin/index/getProductDetail": {
  585. "get": {
  586. "tags": [
  587. "首页接口"
  588. ],
  589. "summary": "获取商品信息详情",
  590. "description": "获取商品信息详情",
  591. "operationId": "getProductDetailUsingGET",
  592. "produces": [
  593. "*/*"
  594. ],
  595. "parameters": [
  596. {
  597. "name": "productId",
  598. "in": "query",
  599. "description": "productId",
  600. "required": false,
  601. "type": "string"
  602. }
  603. ],
  604. "responses": {
  605. "200": {
  606. "description": "OK",
  607. "schema": {
  608. "$ref": "#/definitions/接口返回对象«object»",
  609. "originalRef": "接口返回对象«object»"
  610. }
  611. },
  612. "401": {
  613. "description": "Unauthorized"
  614. },
  615. "403": {
  616. "description": "Forbidden"
  617. },
  618. "404": {
  619. "description": "Not Found"
  620. }
  621. },
  622. "security": [
  623. {
  624. "X-Access-Token": [
  625. "global"
  626. ]
  627. }
  628. ],
  629. "x-order": "2147483647"
  630. }
  631. },
  632. "/building-admin/index/getProductList": {
  633. "get": {
  634. "tags": [
  635. "首页接口"
  636. ],
  637. "summary": "获取建材商品信息列表",
  638. "description": "获取建材商品信息列表",
  639. "operationId": "getProductListUsingGET",
  640. "produces": [
  641. "*/*"
  642. ],
  643. "parameters": [
  644. {
  645. "name": "pageNo",
  646. "in": "query",
  647. "description": "当前页",
  648. "required": false,
  649. "type": "integer",
  650. "format": "int32"
  651. },
  652. {
  653. "name": "pageSize",
  654. "in": "query",
  655. "description": "显示条数",
  656. "required": false,
  657. "type": "integer",
  658. "format": "int32"
  659. },
  660. {
  661. "name": "shopClassId",
  662. "in": "query",
  663. "description": "shopClassId",
  664. "required": false,
  665. "type": "string"
  666. },
  667. {
  668. "name": "shopIconId",
  669. "in": "query",
  670. "description": "shopIconId",
  671. "required": false,
  672. "type": "string"
  673. },
  674. {
  675. "name": "title",
  676. "in": "query",
  677. "description": "搜索标题",
  678. "required": false,
  679. "type": "string"
  680. }
  681. ],
  682. "responses": {
  683. "200": {
  684. "description": "OK",
  685. "schema": {
  686. "$ref": "#/definitions/接口返回对象«object»",
  687. "originalRef": "接口返回对象«object»"
  688. }
  689. },
  690. "401": {
  691. "description": "Unauthorized"
  692. },
  693. "403": {
  694. "description": "Forbidden"
  695. },
  696. "404": {
  697. "description": "Not Found"
  698. }
  699. },
  700. "security": [
  701. {
  702. "X-Access-Token": [
  703. "global"
  704. ]
  705. }
  706. ],
  707. "x-order": "2147483647"
  708. }
  709. },
  710. "/building-admin/index/payOrder": {
  711. "post": {
  712. "tags": [
  713. "首页接口"
  714. ],
  715. "summary": "立即支付",
  716. "description": "立即支付",
  717. "operationId": "payOrderUsingPOST",
  718. "consumes": [
  719. "application/json"
  720. ],
  721. "produces": [
  722. "*/*"
  723. ],
  724. "parameters": [
  725. {
  726. "name": "orderId",
  727. "in": "query",
  728. "description": "orderId",
  729. "required": false,
  730. "type": "string"
  731. },
  732. {
  733. "name": "type",
  734. "in": "query",
  735. "description": "type",
  736. "required": false,
  737. "type": "integer",
  738. "format": "int32"
  739. },
  740. {
  741. "name": "X-Access-Token",
  742. "in": "header",
  743. "description": "X-Access-Token",
  744. "required": true,
  745. "type": "string"
  746. }
  747. ],
  748. "responses": {
  749. "200": {
  750. "description": "OK",
  751. "schema": {
  752. "$ref": "#/definitions/接口返回对象«object»",
  753. "originalRef": "接口返回对象«object»"
  754. }
  755. },
  756. "201": {
  757. "description": "Created"
  758. },
  759. "401": {
  760. "description": "Unauthorized"
  761. },
  762. "403": {
  763. "description": "Forbidden"
  764. },
  765. "404": {
  766. "description": "Not Found"
  767. }
  768. },
  769. "security": [
  770. {
  771. "X-Access-Token": [
  772. "global"
  773. ]
  774. }
  775. ],
  776. "x-order": "2147483647"
  777. }
  778. },
  779. "/building-admin/info/addHelp": {
  780. "post": {
  781. "tags": [
  782. "个人中心"
  783. ],
  784. "summary": "添加帮助",
  785. "description": "添加帮助",
  786. "operationId": "addHelpUsingPOST",
  787. "consumes": [
  788. "application/json"
  789. ],
  790. "produces": [
  791. "*/*"
  792. ],
  793. "parameters": [
  794. {
  795. "name": "createBy",
  796. "in": "query",
  797. "description": "创建人",
  798. "required": false,
  799. "type": "string"
  800. },
  801. {
  802. "name": "createTime",
  803. "in": "query",
  804. "description": "创建日期",
  805. "required": false,
  806. "type": "string",
  807. "format": "date-time"
  808. },
  809. {
  810. "name": "id",
  811. "in": "query",
  812. "description": "主键",
  813. "required": false,
  814. "type": "string"
  815. },
  816. {
  817. "name": "image",
  818. "in": "query",
  819. "description": "问题截图",
  820. "required": false,
  821. "type": "string"
  822. },
  823. {
  824. "name": "name",
  825. "in": "query",
  826. "description": "姓名",
  827. "required": false,
  828. "type": "string"
  829. },
  830. {
  831. "name": "phone",
  832. "in": "query",
  833. "description": "联系方式",
  834. "required": false,
  835. "type": "string"
  836. },
  837. {
  838. "name": "title",
  839. "in": "query",
  840. "description": "描述内容",
  841. "required": false,
  842. "type": "string"
  843. },
  844. {
  845. "name": "updateBy",
  846. "in": "query",
  847. "description": "更新人",
  848. "required": false,
  849. "type": "string"
  850. },
  851. {
  852. "name": "updateTime",
  853. "in": "query",
  854. "description": "更新日期",
  855. "required": false,
  856. "type": "string",
  857. "format": "date-time"
  858. },
  859. {
  860. "name": "userId",
  861. "in": "query",
  862. "description": "提交用户",
  863. "required": false,
  864. "type": "string"
  865. },
  866. {
  867. "name": "X-Access-Token",
  868. "in": "header",
  869. "description": "X-Access-Token",
  870. "required": true,
  871. "type": "string"
  872. }
  873. ],
  874. "responses": {
  875. "200": {
  876. "description": "OK",
  877. "schema": {
  878. "$ref": "#/definitions/接口返回对象«object»",
  879. "originalRef": "接口返回对象«object»"
  880. }
  881. },
  882. "201": {
  883. "description": "Created"
  884. },
  885. "401": {
  886. "description": "Unauthorized"
  887. },
  888. "403": {
  889. "description": "Forbidden"
  890. },
  891. "404": {
  892. "description": "Not Found"
  893. }
  894. },
  895. "security": [
  896. {
  897. "X-Access-Token": [
  898. "global"
  899. ]
  900. }
  901. ],
  902. "x-order": "2147483647"
  903. }
  904. },
  905. "/building-admin/info/createQrCode": {
  906. "get": {
  907. "tags": [
  908. "个人中心"
  909. ],
  910. "summary": "创建二维码",
  911. "description": "创建二维码",
  912. "operationId": "createQrCodeUsingGET",
  913. "produces": [
  914. "*/*"
  915. ],
  916. "parameters": [
  917. {
  918. "name": "X-Access-Token",
  919. "in": "header",
  920. "description": "X-Access-Token",
  921. "required": true,
  922. "type": "string"
  923. }
  924. ],
  925. "responses": {
  926. "200": {
  927. "description": "OK",
  928. "schema": {
  929. "$ref": "#/definitions/接口返回对象«object»",
  930. "originalRef": "接口返回对象«object»"
  931. }
  932. },
  933. "401": {
  934. "description": "Unauthorized"
  935. },
  936. "403": {
  937. "description": "Forbidden"
  938. },
  939. "404": {
  940. "description": "Not Found"
  941. }
  942. },
  943. "security": [
  944. {
  945. "X-Access-Token": [
  946. "global"
  947. ]
  948. }
  949. ],
  950. "x-order": "2147483647"
  951. }
  952. },
  953. "/building-admin/info/deleteAddress": {
  954. "post": {
  955. "tags": [
  956. "个人中心"
  957. ],
  958. "summary": "删除地址",
  959. "description": "删除地址",
  960. "operationId": "deleteAddressUsingPOST",
  961. "consumes": [
  962. "application/json"
  963. ],
  964. "produces": [
  965. "*/*"
  966. ],
  967. "parameters": [
  968. {
  969. "name": "id",
  970. "in": "query",
  971. "description": "id",
  972. "required": false,
  973. "type": "string"
  974. },
  975. {
  976. "name": "X-Access-Token",
  977. "in": "header",
  978. "description": "X-Access-Token",
  979. "required": true,
  980. "type": "string"
  981. }
  982. ],
  983. "responses": {
  984. "200": {
  985. "description": "OK",
  986. "schema": {
  987. "$ref": "#/definitions/接口返回对象«object»",
  988. "originalRef": "接口返回对象«object»"
  989. }
  990. },
  991. "201": {
  992. "description": "Created"
  993. },
  994. "401": {
  995. "description": "Unauthorized"
  996. },
  997. "403": {
  998. "description": "Forbidden"
  999. },
  1000. "404": {
  1001. "description": "Not Found"
  1002. }
  1003. },
  1004. "security": [
  1005. {
  1006. "X-Access-Token": [
  1007. "global"
  1008. ]
  1009. }
  1010. ],
  1011. "x-order": "2147483647"
  1012. }
  1013. },
  1014. "/building-admin/info/getAddressInfo": {
  1015. "get": {
  1016. "tags": [
  1017. "个人中心"
  1018. ],
  1019. "summary": "获取地址详情",
  1020. "description": "获取地址详情",
  1021. "operationId": "getAddressInfoUsingGET",
  1022. "produces": [
  1023. "*/*"
  1024. ],
  1025. "parameters": [
  1026. {
  1027. "name": "id",
  1028. "in": "query",
  1029. "description": "id",
  1030. "required": false,
  1031. "type": "string"
  1032. },
  1033. {
  1034. "name": "X-Access-Token",
  1035. "in": "header",
  1036. "description": "X-Access-Token",
  1037. "required": true,
  1038. "type": "string"
  1039. }
  1040. ],
  1041. "responses": {
  1042. "200": {
  1043. "description": "OK",
  1044. "schema": {
  1045. "$ref": "#/definitions/接口返回对象«object»",
  1046. "originalRef": "接口返回对象«object»"
  1047. }
  1048. },
  1049. "401": {
  1050. "description": "Unauthorized"
  1051. },
  1052. "403": {
  1053. "description": "Forbidden"
  1054. },
  1055. "404": {
  1056. "description": "Not Found"
  1057. }
  1058. },
  1059. "security": [
  1060. {
  1061. "X-Access-Token": [
  1062. "global"
  1063. ]
  1064. }
  1065. ],
  1066. "x-order": "2147483647"
  1067. }
  1068. },
  1069. "/building-admin/info/getAddressList": {
  1070. "get": {
  1071. "tags": [
  1072. "个人中心"
  1073. ],
  1074. "summary": "获取地址列表",
  1075. "description": "获取地址列表",
  1076. "operationId": "getAddressListUsingGET",
  1077. "produces": [
  1078. "*/*"
  1079. ],
  1080. "parameters": [
  1081. {
  1082. "name": "pageNo",
  1083. "in": "query",
  1084. "description": "当前页",
  1085. "required": false,
  1086. "type": "integer",
  1087. "format": "int32"
  1088. },
  1089. {
  1090. "name": "pageSize",
  1091. "in": "query",
  1092. "description": "显示条数",
  1093. "required": false,
  1094. "type": "integer",
  1095. "format": "int32"
  1096. },
  1097. {
  1098. "name": "title",
  1099. "in": "query",
  1100. "description": "搜索标题",
  1101. "required": false,
  1102. "type": "string"
  1103. },
  1104. {
  1105. "name": "X-Access-Token",
  1106. "in": "header",
  1107. "description": "X-Access-Token",
  1108. "required": true,
  1109. "type": "string"
  1110. }
  1111. ],
  1112. "responses": {
  1113. "200": {
  1114. "description": "OK",
  1115. "schema": {
  1116. "$ref": "#/definitions/接口返回对象«object»",
  1117. "originalRef": "接口返回对象«object»"
  1118. }
  1119. },
  1120. "401": {
  1121. "description": "Unauthorized"
  1122. },
  1123. "403": {
  1124. "description": "Forbidden"
  1125. },
  1126. "404": {
  1127. "description": "Not Found"
  1128. }
  1129. },
  1130. "security": [
  1131. {
  1132. "X-Access-Token": [
  1133. "global"
  1134. ]
  1135. }
  1136. ],
  1137. "x-order": "2147483647"
  1138. }
  1139. },
  1140. "/building-admin/info/getLogList": {
  1141. "get": {
  1142. "tags": [
  1143. "个人中心"
  1144. ],
  1145. "summary": "获取流水日志列表",
  1146. "description": "获取流水日志列表",
  1147. "operationId": "getLogListUsingGET",
  1148. "produces": [
  1149. "*/*"
  1150. ],
  1151. "parameters": [
  1152. {
  1153. "name": "pageNo",
  1154. "in": "query",
  1155. "description": "当前页",
  1156. "required": false,
  1157. "type": "integer",
  1158. "format": "int32"
  1159. },
  1160. {
  1161. "name": "pageSize",
  1162. "in": "query",
  1163. "description": "显示条数",
  1164. "required": false,
  1165. "type": "integer",
  1166. "format": "int32"
  1167. },
  1168. {
  1169. "name": "timeDate",
  1170. "in": "query",
  1171. "description": "timeDate",
  1172. "required": false,
  1173. "type": "string"
  1174. },
  1175. {
  1176. "name": "title",
  1177. "in": "query",
  1178. "description": "搜索标题",
  1179. "required": false,
  1180. "type": "string"
  1181. },
  1182. {
  1183. "name": "X-Access-Token",
  1184. "in": "header",
  1185. "description": "X-Access-Token",
  1186. "required": true,
  1187. "type": "string"
  1188. }
  1189. ],
  1190. "responses": {
  1191. "200": {
  1192. "description": "OK",
  1193. "schema": {
  1194. "$ref": "#/definitions/接口返回对象«object»",
  1195. "originalRef": "接口返回对象«object»"
  1196. }
  1197. },
  1198. "401": {
  1199. "description": "Unauthorized"
  1200. },
  1201. "403": {
  1202. "description": "Forbidden"
  1203. },
  1204. "404": {
  1205. "description": "Not Found"
  1206. }
  1207. },
  1208. "security": [
  1209. {
  1210. "X-Access-Token": [
  1211. "global"
  1212. ]
  1213. }
  1214. ],
  1215. "x-order": "2147483647"
  1216. }
  1217. },
  1218. "/building-admin/info/getTeamList": {
  1219. "get": {
  1220. "tags": [
  1221. "个人中心"
  1222. ],
  1223. "summary": "获取团队列表",
  1224. "description": "获取团队列表",
  1225. "operationId": "getTeamListUsingGET",
  1226. "produces": [
  1227. "*/*"
  1228. ],
  1229. "parameters": [
  1230. {
  1231. "name": "pageNo",
  1232. "in": "query",
  1233. "description": "当前页",
  1234. "required": false,
  1235. "type": "integer",
  1236. "format": "int32"
  1237. },
  1238. {
  1239. "name": "pageSize",
  1240. "in": "query",
  1241. "description": "显示条数",
  1242. "required": false,
  1243. "type": "integer",
  1244. "format": "int32"
  1245. },
  1246. {
  1247. "name": "state",
  1248. "in": "query",
  1249. "description": "state",
  1250. "required": false,
  1251. "type": "integer",
  1252. "format": "int32"
  1253. },
  1254. {
  1255. "name": "title",
  1256. "in": "query",
  1257. "description": "搜索标题",
  1258. "required": false,
  1259. "type": "string"
  1260. },
  1261. {
  1262. "name": "X-Access-Token",
  1263. "in": "header",
  1264. "description": "X-Access-Token",
  1265. "required": true,
  1266. "type": "string"
  1267. }
  1268. ],
  1269. "responses": {
  1270. "200": {
  1271. "description": "OK",
  1272. "schema": {
  1273. "$ref": "#/definitions/接口返回对象«object»",
  1274. "originalRef": "接口返回对象«object»"
  1275. }
  1276. },
  1277. "401": {
  1278. "description": "Unauthorized"
  1279. },
  1280. "403": {
  1281. "description": "Forbidden"
  1282. },
  1283. "404": {
  1284. "description": "Not Found"
  1285. }
  1286. },
  1287. "security": [
  1288. {
  1289. "X-Access-Token": [
  1290. "global"
  1291. ]
  1292. }
  1293. ],
  1294. "x-order": "2147483647"
  1295. }
  1296. },
  1297. "/building-admin/info/getUserInfo": {
  1298. "get": {
  1299. "tags": [
  1300. "个人中心"
  1301. ],
  1302. "summary": "获取用户信息",
  1303. "description": "获取用户信息",
  1304. "operationId": "getUserInfoUsingGET",
  1305. "produces": [
  1306. "*/*"
  1307. ],
  1308. "parameters": [
  1309. {
  1310. "name": "X-Access-Token",
  1311. "in": "header",
  1312. "description": "X-Access-Token",
  1313. "required": true,
  1314. "type": "string"
  1315. }
  1316. ],
  1317. "responses": {
  1318. "200": {
  1319. "description": "OK",
  1320. "schema": {
  1321. "$ref": "#/definitions/接口返回对象«object»",
  1322. "originalRef": "接口返回对象«object»"
  1323. }
  1324. },
  1325. "401": {
  1326. "description": "Unauthorized"
  1327. },
  1328. "403": {
  1329. "description": "Forbidden"
  1330. },
  1331. "404": {
  1332. "description": "Not Found"
  1333. }
  1334. },
  1335. "security": [
  1336. {
  1337. "X-Access-Token": [
  1338. "global"
  1339. ]
  1340. }
  1341. ],
  1342. "x-order": "2147483647"
  1343. }
  1344. },
  1345. "/building-admin/info/openMoney": {
  1346. "post": {
  1347. "tags": [
  1348. "个人中心"
  1349. ],
  1350. "summary": "提现",
  1351. "description": "提现",
  1352. "operationId": "openMoneyUsingPOST",
  1353. "consumes": [
  1354. "application/json"
  1355. ],
  1356. "produces": [
  1357. "*/*"
  1358. ],
  1359. "parameters": [
  1360. {
  1361. "name": "money",
  1362. "in": "query",
  1363. "description": "money",
  1364. "required": false,
  1365. "type": "number"
  1366. },
  1367. {
  1368. "name": "X-Access-Token",
  1369. "in": "header",
  1370. "description": "X-Access-Token",
  1371. "required": true,
  1372. "type": "string"
  1373. }
  1374. ],
  1375. "responses": {
  1376. "200": {
  1377. "description": "OK",
  1378. "schema": {
  1379. "$ref": "#/definitions/接口返回对象«object»",
  1380. "originalRef": "接口返回对象«object»"
  1381. }
  1382. },
  1383. "201": {
  1384. "description": "Created"
  1385. },
  1386. "401": {
  1387. "description": "Unauthorized"
  1388. },
  1389. "403": {
  1390. "description": "Forbidden"
  1391. },
  1392. "404": {
  1393. "description": "Not Found"
  1394. }
  1395. },
  1396. "security": [
  1397. {
  1398. "X-Access-Token": [
  1399. "global"
  1400. ]
  1401. }
  1402. ],
  1403. "x-order": "2147483647"
  1404. }
  1405. },
  1406. "/building-admin/info/saveOrUpdateAddress": {
  1407. "post": {
  1408. "tags": [
  1409. "个人中心"
  1410. ],
  1411. "summary": "保存或修改地址",
  1412. "description": "保存或修改地址",
  1413. "operationId": "saveOrUpdateAddressUsingPOST",
  1414. "consumes": [
  1415. "application/json"
  1416. ],
  1417. "produces": [
  1418. "*/*"
  1419. ],
  1420. "parameters": [
  1421. {
  1422. "name": "address",
  1423. "in": "query",
  1424. "description": "地址",
  1425. "required": false,
  1426. "type": "string"
  1427. },
  1428. {
  1429. "name": "addressDetails",
  1430. "in": "query",
  1431. "description": "详细",
  1432. "required": false,
  1433. "type": "string"
  1434. },
  1435. {
  1436. "name": "createBy",
  1437. "in": "query",
  1438. "description": "创建人",
  1439. "required": false,
  1440. "type": "string"
  1441. },
  1442. {
  1443. "name": "createTime",
  1444. "in": "query",
  1445. "description": "创建日期",
  1446. "required": false,
  1447. "type": "string",
  1448. "format": "date-time"
  1449. },
  1450. {
  1451. "name": "defaultFlag",
  1452. "in": "query",
  1453. "description": "默认",
  1454. "required": false,
  1455. "type": "string"
  1456. },
  1457. {
  1458. "name": "id",
  1459. "in": "query",
  1460. "description": "主键",
  1461. "required": false,
  1462. "type": "string"
  1463. },
  1464. {
  1465. "name": "latitude",
  1466. "in": "query",
  1467. "description": "经度",
  1468. "required": false,
  1469. "type": "string"
  1470. },
  1471. {
  1472. "name": "longitude",
  1473. "in": "query",
  1474. "description": "纬度",
  1475. "required": false,
  1476. "type": "string"
  1477. },
  1478. {
  1479. "name": "name",
  1480. "in": "query",
  1481. "description": "姓名",
  1482. "required": false,
  1483. "type": "string"
  1484. },
  1485. {
  1486. "name": "phone",
  1487. "in": "query",
  1488. "description": "电话",
  1489. "required": false,
  1490. "type": "string"
  1491. },
  1492. {
  1493. "name": "updateBy",
  1494. "in": "query",
  1495. "description": "更新人",
  1496. "required": false,
  1497. "type": "string"
  1498. },
  1499. {
  1500. "name": "updateTime",
  1501. "in": "query",
  1502. "description": "更新日期",
  1503. "required": false,
  1504. "type": "string",
  1505. "format": "date-time"
  1506. },
  1507. {
  1508. "name": "userId",
  1509. "in": "query",
  1510. "description": "用户",
  1511. "required": false,
  1512. "type": "string"
  1513. },
  1514. {
  1515. "name": "X-Access-Token",
  1516. "in": "header",
  1517. "description": "X-Access-Token",
  1518. "required": true,
  1519. "type": "string"
  1520. }
  1521. ],
  1522. "responses": {
  1523. "200": {
  1524. "description": "OK",
  1525. "schema": {
  1526. "$ref": "#/definitions/接口返回对象«object»",
  1527. "originalRef": "接口返回对象«object»"
  1528. }
  1529. },
  1530. "201": {
  1531. "description": "Created"
  1532. },
  1533. "401": {
  1534. "description": "Unauthorized"
  1535. },
  1536. "403": {
  1537. "description": "Forbidden"
  1538. },
  1539. "404": {
  1540. "description": "Not Found"
  1541. }
  1542. },
  1543. "security": [
  1544. {
  1545. "X-Access-Token": [
  1546. "global"
  1547. ]
  1548. }
  1549. ],
  1550. "x-order": "2147483647"
  1551. }
  1552. },
  1553. "/building-admin/info/updateUserInfo": {
  1554. "post": {
  1555. "tags": [
  1556. "个人中心"
  1557. ],
  1558. "summary": "修改用户信息",
  1559. "description": "修改用户信息",
  1560. "operationId": "updateUserInfoUsingPOST",
  1561. "consumes": [
  1562. "application/json"
  1563. ],
  1564. "produces": [
  1565. "*/*"
  1566. ],
  1567. "parameters": [
  1568. {
  1569. "name": "headImage",
  1570. "in": "query",
  1571. "description": "headImage",
  1572. "required": false,
  1573. "type": "string"
  1574. },
  1575. {
  1576. "name": "nickName",
  1577. "in": "query",
  1578. "description": "nickName",
  1579. "required": false,
  1580. "type": "string"
  1581. },
  1582. {
  1583. "name": "phone",
  1584. "in": "query",
  1585. "description": "phone",
  1586. "required": false,
  1587. "type": "string"
  1588. },
  1589. {
  1590. "name": "X-Access-Token",
  1591. "in": "header",
  1592. "description": "X-Access-Token",
  1593. "required": true,
  1594. "type": "string"
  1595. }
  1596. ],
  1597. "responses": {
  1598. "200": {
  1599. "description": "OK",
  1600. "schema": {
  1601. "$ref": "#/definitions/接口返回对象«object»",
  1602. "originalRef": "接口返回对象«object»"
  1603. }
  1604. },
  1605. "201": {
  1606. "description": "Created"
  1607. },
  1608. "401": {
  1609. "description": "Unauthorized"
  1610. },
  1611. "403": {
  1612. "description": "Forbidden"
  1613. },
  1614. "404": {
  1615. "description": "Not Found"
  1616. }
  1617. },
  1618. "security": [
  1619. {
  1620. "X-Access-Token": [
  1621. "global"
  1622. ]
  1623. }
  1624. ],
  1625. "x-order": "2147483647"
  1626. }
  1627. },
  1628. "/building-admin/order/confirmOrder": {
  1629. "post": {
  1630. "tags": [
  1631. "订单接口"
  1632. ],
  1633. "summary": "确认收货",
  1634. "description": "确认收货",
  1635. "operationId": "confirmOrderUsingPOST",
  1636. "consumes": [
  1637. "application/json"
  1638. ],
  1639. "produces": [
  1640. "*/*"
  1641. ],
  1642. "parameters": [
  1643. {
  1644. "name": "orderId",
  1645. "in": "query",
  1646. "description": "orderId",
  1647. "required": false,
  1648. "type": "string"
  1649. },
  1650. {
  1651. "name": "X-Access-Token",
  1652. "in": "header",
  1653. "description": "X-Access-Token",
  1654. "required": true,
  1655. "type": "string"
  1656. }
  1657. ],
  1658. "responses": {
  1659. "200": {
  1660. "description": "OK",
  1661. "schema": {
  1662. "$ref": "#/definitions/接口返回对象«object»",
  1663. "originalRef": "接口返回对象«object»"
  1664. }
  1665. },
  1666. "201": {
  1667. "description": "Created"
  1668. },
  1669. "401": {
  1670. "description": "Unauthorized"
  1671. },
  1672. "403": {
  1673. "description": "Forbidden"
  1674. },
  1675. "404": {
  1676. "description": "Not Found"
  1677. }
  1678. },
  1679. "security": [
  1680. {
  1681. "X-Access-Token": [
  1682. "global"
  1683. ]
  1684. }
  1685. ],
  1686. "x-order": "2147483647"
  1687. }
  1688. },
  1689. "/building-admin/order/getOrderInfo": {
  1690. "get": {
  1691. "tags": [
  1692. "订单接口"
  1693. ],
  1694. "summary": "获取订单详情",
  1695. "description": "获取订单详情",
  1696. "operationId": "getOrderInfoUsingGET_1",
  1697. "produces": [
  1698. "*/*"
  1699. ],
  1700. "parameters": [
  1701. {
  1702. "name": "orderId",
  1703. "in": "query",
  1704. "description": "orderId",
  1705. "required": false,
  1706. "type": "string"
  1707. },
  1708. {
  1709. "name": "X-Access-Token",
  1710. "in": "header",
  1711. "description": "X-Access-Token",
  1712. "required": true,
  1713. "type": "string"
  1714. }
  1715. ],
  1716. "responses": {
  1717. "200": {
  1718. "description": "OK",
  1719. "schema": {
  1720. "$ref": "#/definitions/接口返回对象«object»",
  1721. "originalRef": "接口返回对象«object»"
  1722. }
  1723. },
  1724. "401": {
  1725. "description": "Unauthorized"
  1726. },
  1727. "403": {
  1728. "description": "Forbidden"
  1729. },
  1730. "404": {
  1731. "description": "Not Found"
  1732. }
  1733. },
  1734. "security": [
  1735. {
  1736. "X-Access-Token": [
  1737. "global"
  1738. ]
  1739. }
  1740. ],
  1741. "x-order": "2147483647"
  1742. }
  1743. },
  1744. "/building-admin/order/getOrderPageBean": {
  1745. "get": {
  1746. "tags": [
  1747. "订单接口"
  1748. ],
  1749. "summary": "获取订单列表带分页",
  1750. "description": "获取订单列表带分页",
  1751. "operationId": "getOrderPageBeanUsingGET",
  1752. "produces": [
  1753. "*/*"
  1754. ],
  1755. "parameters": [
  1756. {
  1757. "name": "pageNo",
  1758. "in": "query",
  1759. "description": "当前页",
  1760. "required": false,
  1761. "type": "integer",
  1762. "format": "int32"
  1763. },
  1764. {
  1765. "name": "pageSize",
  1766. "in": "query",
  1767. "description": "显示条数",
  1768. "required": false,
  1769. "type": "integer",
  1770. "format": "int32"
  1771. },
  1772. {
  1773. "name": "status",
  1774. "in": "query",
  1775. "description": "status",
  1776. "required": false,
  1777. "type": "integer",
  1778. "format": "int32"
  1779. },
  1780. {
  1781. "name": "title",
  1782. "in": "query",
  1783. "description": "搜索标题",
  1784. "required": false,
  1785. "type": "string"
  1786. },
  1787. {
  1788. "name": "X-Access-Token",
  1789. "in": "header",
  1790. "description": "X-Access-Token",
  1791. "required": true,
  1792. "type": "string"
  1793. }
  1794. ],
  1795. "responses": {
  1796. "200": {
  1797. "description": "OK",
  1798. "schema": {
  1799. "$ref": "#/definitions/接口返回对象«object»",
  1800. "originalRef": "接口返回对象«object»"
  1801. }
  1802. },
  1803. "401": {
  1804. "description": "Unauthorized"
  1805. },
  1806. "403": {
  1807. "description": "Forbidden"
  1808. },
  1809. "404": {
  1810. "description": "Not Found"
  1811. }
  1812. },
  1813. "security": [
  1814. {
  1815. "X-Access-Token": [
  1816. "global"
  1817. ]
  1818. }
  1819. ],
  1820. "x-order": "2147483647"
  1821. }
  1822. },
  1823. "/building-admin/order/payOrder": {
  1824. "post": {
  1825. "tags": [
  1826. "订单接口"
  1827. ],
  1828. "summary": "再次支付",
  1829. "description": "再次支付",
  1830. "operationId": "payOrderUsingPOST_1",
  1831. "consumes": [
  1832. "application/json"
  1833. ],
  1834. "produces": [
  1835. "*/*"
  1836. ],
  1837. "parameters": [
  1838. {
  1839. "name": "orderId",
  1840. "in": "query",
  1841. "description": "orderId",
  1842. "required": false,
  1843. "type": "string"
  1844. },
  1845. {
  1846. "name": "type",
  1847. "in": "query",
  1848. "description": "type",
  1849. "required": false,
  1850. "type": "integer",
  1851. "format": "int32"
  1852. },
  1853. {
  1854. "name": "X-Access-Token",
  1855. "in": "header",
  1856. "description": "X-Access-Token",
  1857. "required": true,
  1858. "type": "string"
  1859. }
  1860. ],
  1861. "responses": {
  1862. "200": {
  1863. "description": "OK",
  1864. "schema": {
  1865. "$ref": "#/definitions/接口返回对象«object»",
  1866. "originalRef": "接口返回对象«object»"
  1867. }
  1868. },
  1869. "201": {
  1870. "description": "Created"
  1871. },
  1872. "401": {
  1873. "description": "Unauthorized"
  1874. },
  1875. "403": {
  1876. "description": "Forbidden"
  1877. },
  1878. "404": {
  1879. "description": "Not Found"
  1880. }
  1881. },
  1882. "security": [
  1883. {
  1884. "X-Access-Token": [
  1885. "global"
  1886. ]
  1887. }
  1888. ],
  1889. "x-order": "2147483647"
  1890. }
  1891. }
  1892. },
  1893. "securityDefinitions": {
  1894. "X-Access-Token": {
  1895. "type": "apiKey",
  1896. "name": "X-Access-Token",
  1897. "in": "header"
  1898. }
  1899. },
  1900. "definitions": {
  1901. "接口返回对象«object»": {
  1902. "type": "object",
  1903. "properties": {
  1904. "code": {
  1905. "type": "integer",
  1906. "format": "int32",
  1907. "description": "返回代码"
  1908. },
  1909. "message": {
  1910. "type": "string",
  1911. "description": "返回处理消息"
  1912. },
  1913. "result": {
  1914. "type": "object",
  1915. "description": "返回数据对象"
  1916. },
  1917. "success": {
  1918. "type": "boolean",
  1919. "description": "成功标志"
  1920. },
  1921. "timestamp": {
  1922. "type": "integer",
  1923. "format": "int64",
  1924. "description": "时间戳"
  1925. }
  1926. },
  1927. "title": "接口返回对象«object»",
  1928. "description": "接口返回对象"
  1929. }
  1930. }
  1931. }