建材商城系统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.

2889 lines
99 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": "127.0.0.1",
  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. "name": "首页接口",
  37. "x-order": "2147483647"
  38. }
  39. ],
  40. "paths": {
  41. "/building-admin/all_login/appletLogin": {
  42. "get": {
  43. "tags": [
  44. "授权登录"
  45. ],
  46. "summary": "微信小程序授权登录",
  47. "description": "微信小程序授权登录",
  48. "operationId": "appletLoginUsingGET",
  49. "produces": [
  50. "*/*"
  51. ],
  52. "parameters": [
  53. {
  54. "name": "code",
  55. "in": "query",
  56. "description": "参数信息",
  57. "required": false,
  58. "type": "string"
  59. },
  60. {
  61. "name": "encryptedData",
  62. "in": "query",
  63. "description": "解密",
  64. "required": false,
  65. "type": "string"
  66. },
  67. {
  68. "name": "headimgurl",
  69. "in": "query",
  70. "description": "用户头像",
  71. "required": false,
  72. "type": "string"
  73. },
  74. {
  75. "name": "id",
  76. "in": "query",
  77. "description": "标识",
  78. "required": false,
  79. "type": "string"
  80. },
  81. {
  82. "name": "iv",
  83. "in": "query",
  84. "description": "解密标签",
  85. "required": false,
  86. "type": "string"
  87. },
  88. {
  89. "name": "nickName",
  90. "in": "query",
  91. "description": "用户姓名",
  92. "required": false,
  93. "type": "string"
  94. },
  95. {
  96. "name": "openid",
  97. "in": "query",
  98. "description": "用户唯一标识",
  99. "required": false,
  100. "type": "string"
  101. },
  102. {
  103. "name": "session_key",
  104. "in": "query",
  105. "description": "会话密钥",
  106. "required": false,
  107. "type": "string"
  108. },
  109. {
  110. "name": "shareId",
  111. "in": "query",
  112. "description": "邀请者销售标识",
  113. "required": false,
  114. "type": "string"
  115. },
  116. {
  117. "name": "state",
  118. "in": "query",
  119. "description": "类型",
  120. "required": false,
  121. "type": "string"
  122. },
  123. {
  124. "name": "vid",
  125. "in": "query",
  126. "description": "参数信息",
  127. "required": false,
  128. "type": "string"
  129. }
  130. ],
  131. "responses": {
  132. "200": {
  133. "description": "OK",
  134. "schema": {
  135. "$ref": "#/definitions/接口返回对象«object»",
  136. "originalRef": "接口返回对象«object»"
  137. }
  138. },
  139. "401": {
  140. "description": "Unauthorized"
  141. },
  142. "403": {
  143. "description": "Forbidden"
  144. },
  145. "404": {
  146. "description": "Not Found"
  147. }
  148. },
  149. "security": [
  150. {
  151. "X-Access-Token": [
  152. "global"
  153. ]
  154. }
  155. ],
  156. "x-order": "2147483647"
  157. }
  158. },
  159. "/building-admin/all_login/bindPhone": {
  160. "get": {
  161. "tags": [
  162. "授权登录"
  163. ],
  164. "summary": "绑定手机号码",
  165. "description": "绑定手机号码",
  166. "operationId": "bindPhoneUsingGET",
  167. "produces": [
  168. "*/*"
  169. ],
  170. "parameters": [
  171. {
  172. "name": "code",
  173. "in": "query",
  174. "description": "code",
  175. "required": false,
  176. "type": "string"
  177. }
  178. ],
  179. "responses": {
  180. "200": {
  181. "description": "OK",
  182. "schema": {
  183. "$ref": "#/definitions/接口返回对象«object»",
  184. "originalRef": "接口返回对象«object»"
  185. }
  186. },
  187. "401": {
  188. "description": "Unauthorized"
  189. },
  190. "403": {
  191. "description": "Forbidden"
  192. },
  193. "404": {
  194. "description": "Not Found"
  195. }
  196. },
  197. "security": [
  198. {
  199. "X-Access-Token": [
  200. "global"
  201. ]
  202. }
  203. ],
  204. "x-order": "2147483647"
  205. }
  206. },
  207. "/building-admin/cat/addCart": {
  208. "get": {
  209. "tags": [
  210. "购物车相关接口"
  211. ],
  212. "summary": "加入购物车 传入token shopId num",
  213. "description": "加入购物车 传入token shopId num",
  214. "operationId": "addCartUsingGET",
  215. "produces": [
  216. "*/*"
  217. ],
  218. "parameters": [
  219. {
  220. "name": "num",
  221. "in": "query",
  222. "description": "num",
  223. "required": false,
  224. "type": "integer",
  225. "format": "int32"
  226. },
  227. {
  228. "name": "shopId",
  229. "in": "query",
  230. "description": "shopId",
  231. "required": false,
  232. "type": "string"
  233. },
  234. {
  235. "name": "X-Access-Token",
  236. "in": "header",
  237. "description": "X-Access-Token",
  238. "required": true,
  239. "type": "string"
  240. }
  241. ],
  242. "responses": {
  243. "200": {
  244. "description": "OK",
  245. "schema": {
  246. "$ref": "#/definitions/接口返回对象«object»",
  247. "originalRef": "接口返回对象«object»"
  248. }
  249. },
  250. "401": {
  251. "description": "Unauthorized"
  252. },
  253. "403": {
  254. "description": "Forbidden"
  255. },
  256. "404": {
  257. "description": "Not Found"
  258. }
  259. },
  260. "security": [
  261. {
  262. "X-Access-Token": [
  263. "global"
  264. ]
  265. }
  266. ],
  267. "x-order": "2147483647"
  268. }
  269. },
  270. "/building-admin/cat/deleteCart": {
  271. "post": {
  272. "tags": [
  273. "购物车相关接口"
  274. ],
  275. "summary": "删除购物车信息",
  276. "description": "删除购物车信息",
  277. "operationId": "deleteCartUsingPOST",
  278. "consumes": [
  279. "application/json"
  280. ],
  281. "produces": [
  282. "*/*"
  283. ],
  284. "parameters": [
  285. {
  286. "name": "ids",
  287. "in": "query",
  288. "description": "ids",
  289. "required": false,
  290. "type": "string"
  291. },
  292. {
  293. "name": "X-Access-Token",
  294. "in": "header",
  295. "description": "X-Access-Token",
  296. "required": true,
  297. "type": "string"
  298. }
  299. ],
  300. "responses": {
  301. "200": {
  302. "description": "OK",
  303. "schema": {
  304. "$ref": "#/definitions/接口返回对象«object»",
  305. "originalRef": "接口返回对象«object»"
  306. }
  307. },
  308. "201": {
  309. "description": "Created"
  310. },
  311. "401": {
  312. "description": "Unauthorized"
  313. },
  314. "403": {
  315. "description": "Forbidden"
  316. },
  317. "404": {
  318. "description": "Not Found"
  319. }
  320. },
  321. "security": [
  322. {
  323. "X-Access-Token": [
  324. "global"
  325. ]
  326. }
  327. ],
  328. "x-order": "2147483647"
  329. }
  330. },
  331. "/building-admin/cat/getCartPageList": {
  332. "get": {
  333. "tags": [
  334. "购物车相关接口"
  335. ],
  336. "summary": "获取购物车信息列表带分页",
  337. "description": "获取购物车信息列表带分页",
  338. "operationId": "getCartPageListUsingGET",
  339. "produces": [
  340. "*/*"
  341. ],
  342. "parameters": [
  343. {
  344. "name": "pageNo",
  345. "in": "query",
  346. "description": "当前页",
  347. "required": false,
  348. "type": "integer",
  349. "format": "int32"
  350. },
  351. {
  352. "name": "pageSize",
  353. "in": "query",
  354. "description": "显示条数",
  355. "required": false,
  356. "type": "integer",
  357. "format": "int32"
  358. },
  359. {
  360. "name": "title",
  361. "in": "query",
  362. "description": "搜索标题",
  363. "required": false,
  364. "type": "string"
  365. },
  366. {
  367. "name": "X-Access-Token",
  368. "in": "header",
  369. "description": "X-Access-Token",
  370. "required": true,
  371. "type": "string"
  372. }
  373. ],
  374. "responses": {
  375. "200": {
  376. "description": "OK",
  377. "schema": {
  378. "$ref": "#/definitions/接口返回对象«object»",
  379. "originalRef": "接口返回对象«object»"
  380. }
  381. },
  382. "401": {
  383. "description": "Unauthorized"
  384. },
  385. "403": {
  386. "description": "Forbidden"
  387. },
  388. "404": {
  389. "description": "Not Found"
  390. }
  391. },
  392. "security": [
  393. {
  394. "X-Access-Token": [
  395. "global"
  396. ]
  397. }
  398. ],
  399. "x-order": "2147483647"
  400. }
  401. },
  402. "/building-admin/cat/updateCartNum": {
  403. "post": {
  404. "tags": [
  405. "购物车相关接口"
  406. ],
  407. "summary": "修改购物车信息数量",
  408. "description": "修改购物车信息数量",
  409. "operationId": "updateCartNumUsingPOST",
  410. "consumes": [
  411. "application/json"
  412. ],
  413. "produces": [
  414. "*/*"
  415. ],
  416. "parameters": [
  417. {
  418. "name": "id",
  419. "in": "query",
  420. "description": "id",
  421. "required": false,
  422. "type": "string"
  423. },
  424. {
  425. "name": "num",
  426. "in": "query",
  427. "description": "num",
  428. "required": false,
  429. "type": "integer",
  430. "format": "int32"
  431. },
  432. {
  433. "name": "X-Access-Token",
  434. "in": "header",
  435. "description": "X-Access-Token",
  436. "required": true,
  437. "type": "string"
  438. }
  439. ],
  440. "responses": {
  441. "200": {
  442. "description": "OK",
  443. "schema": {
  444. "$ref": "#/definitions/接口返回对象«object»",
  445. "originalRef": "接口返回对象«object»"
  446. }
  447. },
  448. "201": {
  449. "description": "Created"
  450. },
  451. "401": {
  452. "description": "Unauthorized"
  453. },
  454. "403": {
  455. "description": "Forbidden"
  456. },
  457. "404": {
  458. "description": "Not Found"
  459. }
  460. },
  461. "security": [
  462. {
  463. "X-Access-Token": [
  464. "global"
  465. ]
  466. }
  467. ],
  468. "x-order": "2147483647"
  469. }
  470. },
  471. "/building-admin/conf/getConfig": {
  472. "get": {
  473. "tags": [
  474. "公共配置接口"
  475. ],
  476. "summary": "获取平台基础配置",
  477. "description": "获取平台基础配置",
  478. "operationId": "getConfigUsingGET",
  479. "produces": [
  480. "*/*"
  481. ],
  482. "responses": {
  483. "200": {
  484. "description": "OK",
  485. "schema": {
  486. "$ref": "#/definitions/接口返回对象«object»",
  487. "originalRef": "接口返回对象«object»"
  488. }
  489. },
  490. "401": {
  491. "description": "Unauthorized"
  492. },
  493. "403": {
  494. "description": "Forbidden"
  495. },
  496. "404": {
  497. "description": "Not Found"
  498. }
  499. },
  500. "security": [
  501. {
  502. "X-Access-Token": [
  503. "global"
  504. ]
  505. }
  506. ],
  507. "x-order": "2147483647"
  508. }
  509. },
  510. "/building-admin/index/addOrder": {
  511. "post": {
  512. "tags": [
  513. "首页接口"
  514. ],
  515. "summary": "快捷下单-拍照下单/语音下单",
  516. "description": "快捷下单-拍照下单/语音下单",
  517. "operationId": "addOrderUsingPOST",
  518. "consumes": [
  519. "application/json"
  520. ],
  521. "produces": [
  522. "*/*"
  523. ],
  524. "parameters": [
  525. {
  526. "name": "commonShop[0].cityId",
  527. "in": "query",
  528. "description": "城市",
  529. "required": false,
  530. "type": "string"
  531. },
  532. {
  533. "name": "commonShop[0].createBy",
  534. "in": "query",
  535. "description": "创建人",
  536. "required": false,
  537. "type": "string"
  538. },
  539. {
  540. "name": "commonShop[0].createTime",
  541. "in": "query",
  542. "description": "创建日期",
  543. "required": false,
  544. "type": "string",
  545. "format": "date-time"
  546. },
  547. {
  548. "name": "commonShop[0].details",
  549. "in": "query",
  550. "description": "x详情富文本",
  551. "required": false,
  552. "type": "string"
  553. },
  554. {
  555. "name": "commonShop[0].id",
  556. "in": "query",
  557. "description": "主键",
  558. "required": false,
  559. "type": "string"
  560. },
  561. {
  562. "name": "commonShop[0].image",
  563. "in": "query",
  564. "description": "商品图片",
  565. "required": false,
  566. "type": "string"
  567. },
  568. {
  569. "name": "commonShop[0].isOpen",
  570. "in": "query",
  571. "description": "是否上架",
  572. "required": false,
  573. "type": "string"
  574. },
  575. {
  576. "name": "commonShop[0].material",
  577. "in": "query",
  578. "description": "材料",
  579. "required": false,
  580. "type": "string"
  581. },
  582. {
  583. "name": "commonShop[0].name",
  584. "in": "query",
  585. "description": "商品标题",
  586. "required": false,
  587. "type": "string"
  588. },
  589. {
  590. "name": "commonShop[0].num",
  591. "in": "query",
  592. "description": "库存",
  593. "required": false,
  594. "type": "integer",
  595. "format": "int32"
  596. },
  597. {
  598. "name": "commonShop[0].oneMoney",
  599. "in": "query",
  600. "description": "直接推荐佣金",
  601. "required": false,
  602. "type": "number"
  603. },
  604. {
  605. "name": "commonShop[0].parameter",
  606. "in": "query",
  607. "description": "参数",
  608. "required": false,
  609. "type": "string"
  610. },
  611. {
  612. "name": "commonShop[0].payNum",
  613. "in": "query",
  614. "description": "购买量",
  615. "required": false,
  616. "type": "integer",
  617. "format": "int32"
  618. },
  619. {
  620. "name": "commonShop[0].price",
  621. "in": "query",
  622. "description": "价格",
  623. "required": false,
  624. "type": "number"
  625. },
  626. {
  627. "name": "commonShop[0].service",
  628. "in": "query",
  629. "description": "服务",
  630. "required": false,
  631. "type": "string"
  632. },
  633. {
  634. "name": "commonShop[0].shopCion",
  635. "in": "query",
  636. "description": "所属区域",
  637. "required": false,
  638. "type": "string"
  639. },
  640. {
  641. "name": "commonShop[0].shopClass",
  642. "in": "query",
  643. "description": "商品分类",
  644. "required": false,
  645. "type": "string"
  646. },
  647. {
  648. "name": "commonShop[0].twoMoney",
  649. "in": "query",
  650. "description": "间接推荐佣金",
  651. "required": false,
  652. "type": "number"
  653. },
  654. {
  655. "name": "commonShop[0].unit",
  656. "in": "query",
  657. "description": "单位",
  658. "required": false,
  659. "type": "string"
  660. },
  661. {
  662. "name": "commonShop[0].updateBy",
  663. "in": "query",
  664. "description": "更新人",
  665. "required": false,
  666. "type": "string"
  667. },
  668. {
  669. "name": "commonShop[0].updateTime",
  670. "in": "query",
  671. "description": "更新日期",
  672. "required": false,
  673. "type": "string",
  674. "format": "date-time"
  675. },
  676. {
  677. "name": "createBy",
  678. "in": "query",
  679. "description": "创建人",
  680. "required": false,
  681. "type": "string"
  682. },
  683. {
  684. "name": "createTime",
  685. "in": "query",
  686. "description": "创建日期",
  687. "required": false,
  688. "type": "string",
  689. "format": "date-time"
  690. },
  691. {
  692. "name": "id",
  693. "in": "query",
  694. "description": "主键",
  695. "required": false,
  696. "type": "string"
  697. },
  698. {
  699. "name": "imageUrl",
  700. "in": "query",
  701. "description": "内容图片",
  702. "required": false,
  703. "type": "string"
  704. },
  705. {
  706. "name": "isPay",
  707. "in": "query",
  708. "description": "是否支付",
  709. "required": false,
  710. "type": "string"
  711. },
  712. {
  713. "name": "shopId",
  714. "in": "query",
  715. "description": "推荐商品",
  716. "required": false,
  717. "type": "string"
  718. },
  719. {
  720. "name": "status",
  721. "in": "query",
  722. "description": "审核状态",
  723. "required": false,
  724. "type": "string"
  725. },
  726. {
  727. "name": "type",
  728. "in": "query",
  729. "description": "类型",
  730. "required": false,
  731. "type": "string"
  732. },
  733. {
  734. "name": "updateBy",
  735. "in": "query",
  736. "description": "更新人",
  737. "required": false,
  738. "type": "string"
  739. },
  740. {
  741. "name": "updateTime",
  742. "in": "query",
  743. "description": "更新日期",
  744. "required": false,
  745. "type": "string",
  746. "format": "date-time"
  747. },
  748. {
  749. "name": "userId",
  750. "in": "query",
  751. "description": "提交用户",
  752. "required": false,
  753. "type": "string"
  754. },
  755. {
  756. "name": "voiceUrl",
  757. "in": "query",
  758. "description": "语音图片",
  759. "required": false,
  760. "type": "string"
  761. },
  762. {
  763. "name": "X-Access-Token",
  764. "in": "header",
  765. "description": "X-Access-Token",
  766. "required": true,
  767. "type": "string"
  768. }
  769. ],
  770. "responses": {
  771. "200": {
  772. "description": "OK",
  773. "schema": {
  774. "$ref": "#/definitions/接口返回对象«object»",
  775. "originalRef": "接口返回对象«object»"
  776. }
  777. },
  778. "201": {
  779. "description": "Created"
  780. },
  781. "401": {
  782. "description": "Unauthorized"
  783. },
  784. "403": {
  785. "description": "Forbidden"
  786. },
  787. "404": {
  788. "description": "Not Found"
  789. }
  790. },
  791. "security": [
  792. {
  793. "X-Access-Token": [
  794. "global"
  795. ]
  796. }
  797. ],
  798. "x-order": "2147483647"
  799. }
  800. },
  801. "/building-admin/index/cancelOrder": {
  802. "post": {
  803. "tags": [
  804. "首页接口"
  805. ],
  806. "summary": "取消快捷订单",
  807. "description": "取消快捷订单",
  808. "operationId": "cancelOrderUsingPOST",
  809. "consumes": [
  810. "application/json"
  811. ],
  812. "produces": [
  813. "*/*"
  814. ],
  815. "parameters": [
  816. {
  817. "name": "orderId",
  818. "in": "query",
  819. "description": "orderId",
  820. "required": false,
  821. "type": "string"
  822. },
  823. {
  824. "name": "X-Access-Token",
  825. "in": "header",
  826. "description": "X-Access-Token",
  827. "required": true,
  828. "type": "string"
  829. }
  830. ],
  831. "responses": {
  832. "200": {
  833. "description": "OK",
  834. "schema": {
  835. "$ref": "#/definitions/接口返回对象«object»",
  836. "originalRef": "接口返回对象«object»"
  837. }
  838. },
  839. "201": {
  840. "description": "Created"
  841. },
  842. "401": {
  843. "description": "Unauthorized"
  844. },
  845. "403": {
  846. "description": "Forbidden"
  847. },
  848. "404": {
  849. "description": "Not Found"
  850. }
  851. },
  852. "security": [
  853. {
  854. "X-Access-Token": [
  855. "global"
  856. ]
  857. }
  858. ],
  859. "x-order": "2147483647"
  860. }
  861. },
  862. "/building-admin/index/createOrder": {
  863. "post": {
  864. "tags": [
  865. "首页接口"
  866. ],
  867. "summary": "创建订单",
  868. "description": "创建订单",
  869. "operationId": "createOrderUsingPOST",
  870. "consumes": [
  871. "application/json"
  872. ],
  873. "produces": [
  874. "*/*"
  875. ],
  876. "parameters": [
  877. {
  878. "name": "addressId",
  879. "in": "query",
  880. "description": "addressId",
  881. "required": false,
  882. "type": "string"
  883. },
  884. {
  885. "name": "orderNum",
  886. "in": "query",
  887. "description": "orderNum",
  888. "required": false,
  889. "type": "integer",
  890. "format": "int32"
  891. },
  892. {
  893. "name": "payType",
  894. "in": "query",
  895. "description": "payType",
  896. "required": false,
  897. "type": "integer",
  898. "format": "int32"
  899. },
  900. {
  901. "name": "productId",
  902. "in": "query",
  903. "description": "productId",
  904. "required": false,
  905. "type": "string"
  906. },
  907. {
  908. "name": "X-Access-Token",
  909. "in": "header",
  910. "description": "X-Access-Token",
  911. "required": true,
  912. "type": "string"
  913. }
  914. ],
  915. "responses": {
  916. "200": {
  917. "description": "OK",
  918. "schema": {
  919. "$ref": "#/definitions/接口返回对象«object»",
  920. "originalRef": "接口返回对象«object»"
  921. }
  922. },
  923. "201": {
  924. "description": "Created"
  925. },
  926. "401": {
  927. "description": "Unauthorized"
  928. },
  929. "403": {
  930. "description": "Forbidden"
  931. },
  932. "404": {
  933. "description": "Not Found"
  934. }
  935. },
  936. "security": [
  937. {
  938. "X-Access-Token": [
  939. "global"
  940. ]
  941. }
  942. ],
  943. "x-order": "2147483647"
  944. }
  945. },
  946. "/building-admin/index/getAddOrderInfo": {
  947. "get": {
  948. "tags": [
  949. "首页接口"
  950. ],
  951. "summary": "查询快捷订单详情",
  952. "description": "查询快捷订单详情",
  953. "operationId": "getAddOrderInfoUsingGET",
  954. "produces": [
  955. "*/*"
  956. ],
  957. "parameters": [
  958. {
  959. "name": "orderId",
  960. "in": "query",
  961. "description": "orderId",
  962. "required": false,
  963. "type": "string"
  964. },
  965. {
  966. "name": "X-Access-Token",
  967. "in": "header",
  968. "description": "X-Access-Token",
  969. "required": true,
  970. "type": "string"
  971. }
  972. ],
  973. "responses": {
  974. "200": {
  975. "description": "OK",
  976. "schema": {
  977. "$ref": "#/definitions/接口返回对象«object»",
  978. "originalRef": "接口返回对象«object»"
  979. }
  980. },
  981. "401": {
  982. "description": "Unauthorized"
  983. },
  984. "403": {
  985. "description": "Forbidden"
  986. },
  987. "404": {
  988. "description": "Not Found"
  989. }
  990. },
  991. "security": [
  992. {
  993. "X-Access-Token": [
  994. "global"
  995. ]
  996. }
  997. ],
  998. "x-order": "2147483647"
  999. }
  1000. },
  1001. "/building-admin/index/getAddOrderPageBean": {
  1002. "get": {
  1003. "tags": [
  1004. "首页接口"
  1005. ],
  1006. "summary": "快捷订单列表数据带分页",
  1007. "description": "快捷订单列表数据带分页",
  1008. "operationId": "getAddOrderPageBeanUsingGET",
  1009. "produces": [
  1010. "*/*"
  1011. ],
  1012. "parameters": [
  1013. {
  1014. "name": "pageNo",
  1015. "in": "query",
  1016. "description": "当前页",
  1017. "required": false,
  1018. "type": "integer",
  1019. "format": "int32"
  1020. },
  1021. {
  1022. "name": "pageSize",
  1023. "in": "query",
  1024. "description": "显示条数",
  1025. "required": false,
  1026. "type": "integer",
  1027. "format": "int32"
  1028. },
  1029. {
  1030. "name": "state",
  1031. "in": "query",
  1032. "description": "state",
  1033. "required": false,
  1034. "type": "string"
  1035. },
  1036. {
  1037. "name": "title",
  1038. "in": "query",
  1039. "description": "搜索标题",
  1040. "required": false,
  1041. "type": "string"
  1042. },
  1043. {
  1044. "name": "X-Access-Token",
  1045. "in": "header",
  1046. "description": "X-Access-Token",
  1047. "required": true,
  1048. "type": "string"
  1049. }
  1050. ],
  1051. "responses": {
  1052. "200": {
  1053. "description": "OK",
  1054. "schema": {
  1055. "$ref": "#/definitions/接口返回对象«object»",
  1056. "originalRef": "接口返回对象«object»"
  1057. }
  1058. },
  1059. "401": {
  1060. "description": "Unauthorized"
  1061. },
  1062. "403": {
  1063. "description": "Forbidden"
  1064. },
  1065. "404": {
  1066. "description": "Not Found"
  1067. }
  1068. },
  1069. "security": [
  1070. {
  1071. "X-Access-Token": [
  1072. "global"
  1073. ]
  1074. }
  1075. ],
  1076. "x-order": "2147483647"
  1077. }
  1078. },
  1079. "/building-admin/index/getBanner": {
  1080. "get": {
  1081. "tags": [
  1082. "首页接口"
  1083. ],
  1084. "summary": "获取banner",
  1085. "description": "获取banner",
  1086. "operationId": "getBannerUsingGET",
  1087. "produces": [
  1088. "*/*"
  1089. ],
  1090. "responses": {
  1091. "200": {
  1092. "description": "OK",
  1093. "schema": {
  1094. "$ref": "#/definitions/接口返回对象«object»",
  1095. "originalRef": "接口返回对象«object»"
  1096. }
  1097. },
  1098. "401": {
  1099. "description": "Unauthorized"
  1100. },
  1101. "403": {
  1102. "description": "Forbidden"
  1103. },
  1104. "404": {
  1105. "description": "Not Found"
  1106. }
  1107. },
  1108. "security": [
  1109. {
  1110. "X-Access-Token": [
  1111. "global"
  1112. ]
  1113. }
  1114. ],
  1115. "x-order": "2147483647"
  1116. }
  1117. },
  1118. "/building-admin/index/getCity": {
  1119. "get": {
  1120. "tags": [
  1121. "首页接口"
  1122. ],
  1123. "summary": "获取城市",
  1124. "description": "获取城市",
  1125. "operationId": "getCityUsingGET",
  1126. "produces": [
  1127. "*/*"
  1128. ],
  1129. "responses": {
  1130. "200": {
  1131. "description": "OK",
  1132. "schema": {
  1133. "$ref": "#/definitions/接口返回对象«object»",
  1134. "originalRef": "接口返回对象«object»"
  1135. }
  1136. },
  1137. "401": {
  1138. "description": "Unauthorized"
  1139. },
  1140. "403": {
  1141. "description": "Forbidden"
  1142. },
  1143. "404": {
  1144. "description": "Not Found"
  1145. }
  1146. },
  1147. "security": [
  1148. {
  1149. "X-Access-Token": [
  1150. "global"
  1151. ]
  1152. }
  1153. ],
  1154. "x-order": "2147483647"
  1155. }
  1156. },
  1157. "/building-admin/index/getClassify": {
  1158. "get": {
  1159. "tags": [
  1160. "首页接口"
  1161. ],
  1162. "summary": "获取分类",
  1163. "description": "获取分类",
  1164. "operationId": "getClassifyUsingGET",
  1165. "produces": [
  1166. "*/*"
  1167. ],
  1168. "responses": {
  1169. "200": {
  1170. "description": "OK",
  1171. "schema": {
  1172. "$ref": "#/definitions/接口返回对象«object»",
  1173. "originalRef": "接口返回对象«object»"
  1174. }
  1175. },
  1176. "401": {
  1177. "description": "Unauthorized"
  1178. },
  1179. "403": {
  1180. "description": "Forbidden"
  1181. },
  1182. "404": {
  1183. "description": "Not Found"
  1184. }
  1185. },
  1186. "security": [
  1187. {
  1188. "X-Access-Token": [
  1189. "global"
  1190. ]
  1191. }
  1192. ],
  1193. "x-order": "2147483647"
  1194. }
  1195. },
  1196. "/building-admin/index/getIcon": {
  1197. "get": {
  1198. "tags": [
  1199. "首页接口"
  1200. ],
  1201. "summary": "获取金刚区icon",
  1202. "description": "获取金刚区icon",
  1203. "operationId": "getIconUsingGET",
  1204. "produces": [
  1205. "*/*"
  1206. ],
  1207. "responses": {
  1208. "200": {
  1209. "description": "OK",
  1210. "schema": {
  1211. "$ref": "#/definitions/接口返回对象«object»",
  1212. "originalRef": "接口返回对象«object»"
  1213. }
  1214. },
  1215. "401": {
  1216. "description": "Unauthorized"
  1217. },
  1218. "403": {
  1219. "description": "Forbidden"
  1220. },
  1221. "404": {
  1222. "description": "Not Found"
  1223. }
  1224. },
  1225. "security": [
  1226. {
  1227. "X-Access-Token": [
  1228. "global"
  1229. ]
  1230. }
  1231. ],
  1232. "x-order": "2147483647"
  1233. }
  1234. },
  1235. "/building-admin/index/getOrderInfo": {
  1236. "get": {
  1237. "tags": [
  1238. "首页接口"
  1239. ],
  1240. "summary": "根据用户登录信息获取当前是否有快捷下单订单",
  1241. "description": "根据用户登录信息获取当前是否有快捷下单订单",
  1242. "operationId": "getOrderInfoUsingGET",
  1243. "produces": [
  1244. "*/*"
  1245. ],
  1246. "parameters": [
  1247. {
  1248. "name": "X-Access-Token",
  1249. "in": "header",
  1250. "description": "X-Access-Token",
  1251. "required": true,
  1252. "type": "string"
  1253. }
  1254. ],
  1255. "responses": {
  1256. "200": {
  1257. "description": "OK",
  1258. "schema": {
  1259. "$ref": "#/definitions/接口返回对象«object»",
  1260. "originalRef": "接口返回对象«object»"
  1261. }
  1262. },
  1263. "401": {
  1264. "description": "Unauthorized"
  1265. },
  1266. "403": {
  1267. "description": "Forbidden"
  1268. },
  1269. "404": {
  1270. "description": "Not Found"
  1271. }
  1272. },
  1273. "security": [
  1274. {
  1275. "X-Access-Token": [
  1276. "global"
  1277. ]
  1278. }
  1279. ],
  1280. "x-order": "2147483647"
  1281. }
  1282. },
  1283. "/building-admin/index/getProductDetail": {
  1284. "get": {
  1285. "tags": [
  1286. "首页接口"
  1287. ],
  1288. "summary": "获取商品信息详情",
  1289. "description": "获取商品信息详情",
  1290. "operationId": "getProductDetailUsingGET",
  1291. "produces": [
  1292. "*/*"
  1293. ],
  1294. "parameters": [
  1295. {
  1296. "name": "productId",
  1297. "in": "query",
  1298. "description": "productId",
  1299. "required": false,
  1300. "type": "string"
  1301. }
  1302. ],
  1303. "responses": {
  1304. "200": {
  1305. "description": "OK",
  1306. "schema": {
  1307. "$ref": "#/definitions/接口返回对象«object»",
  1308. "originalRef": "接口返回对象«object»"
  1309. }
  1310. },
  1311. "401": {
  1312. "description": "Unauthorized"
  1313. },
  1314. "403": {
  1315. "description": "Forbidden"
  1316. },
  1317. "404": {
  1318. "description": "Not Found"
  1319. }
  1320. },
  1321. "security": [
  1322. {
  1323. "X-Access-Token": [
  1324. "global"
  1325. ]
  1326. }
  1327. ],
  1328. "x-order": "2147483647"
  1329. }
  1330. },
  1331. "/building-admin/index/getProductList": {
  1332. "get": {
  1333. "tags": [
  1334. "首页接口"
  1335. ],
  1336. "summary": "获取建材商品信息列表",
  1337. "description": "获取建材商品信息列表",
  1338. "operationId": "getProductListUsingGET",
  1339. "produces": [
  1340. "*/*"
  1341. ],
  1342. "parameters": [
  1343. {
  1344. "name": "cityId",
  1345. "in": "query",
  1346. "description": "cityId",
  1347. "required": false,
  1348. "type": "string"
  1349. },
  1350. {
  1351. "name": "pageNo",
  1352. "in": "query",
  1353. "description": "当前页",
  1354. "required": false,
  1355. "type": "integer",
  1356. "format": "int32"
  1357. },
  1358. {
  1359. "name": "pageSize",
  1360. "in": "query",
  1361. "description": "显示条数",
  1362. "required": false,
  1363. "type": "integer",
  1364. "format": "int32"
  1365. },
  1366. {
  1367. "name": "shopClassId",
  1368. "in": "query",
  1369. "description": "shopClassId",
  1370. "required": false,
  1371. "type": "string"
  1372. },
  1373. {
  1374. "name": "shopIconId",
  1375. "in": "query",
  1376. "description": "shopIconId",
  1377. "required": false,
  1378. "type": "string"
  1379. },
  1380. {
  1381. "name": "title",
  1382. "in": "query",
  1383. "description": "搜索标题",
  1384. "required": false,
  1385. "type": "string"
  1386. }
  1387. ],
  1388. "responses": {
  1389. "200": {
  1390. "description": "OK",
  1391. "schema": {
  1392. "$ref": "#/definitions/接口返回对象«object»",
  1393. "originalRef": "接口返回对象«object»"
  1394. }
  1395. },
  1396. "401": {
  1397. "description": "Unauthorized"
  1398. },
  1399. "403": {
  1400. "description": "Forbidden"
  1401. },
  1402. "404": {
  1403. "description": "Not Found"
  1404. }
  1405. },
  1406. "security": [
  1407. {
  1408. "X-Access-Token": [
  1409. "global"
  1410. ]
  1411. }
  1412. ],
  1413. "x-order": "2147483647"
  1414. }
  1415. },
  1416. "/building-admin/index/payOrder": {
  1417. "post": {
  1418. "tags": [
  1419. "首页接口"
  1420. ],
  1421. "summary": "立即支付",
  1422. "description": "立即支付",
  1423. "operationId": "payOrderUsingPOST",
  1424. "consumes": [
  1425. "application/json"
  1426. ],
  1427. "produces": [
  1428. "*/*"
  1429. ],
  1430. "parameters": [
  1431. {
  1432. "name": "orderId",
  1433. "in": "query",
  1434. "description": "orderId",
  1435. "required": false,
  1436. "type": "string"
  1437. },
  1438. {
  1439. "name": "type",
  1440. "in": "query",
  1441. "description": "type",
  1442. "required": false,
  1443. "type": "integer",
  1444. "format": "int32"
  1445. },
  1446. {
  1447. "name": "X-Access-Token",
  1448. "in": "header",
  1449. "description": "X-Access-Token",
  1450. "required": true,
  1451. "type": "string"
  1452. }
  1453. ],
  1454. "responses": {
  1455. "200": {
  1456. "description": "OK",
  1457. "schema": {
  1458. "$ref": "#/definitions/接口返回对象«object»",
  1459. "originalRef": "接口返回对象«object»"
  1460. }
  1461. },
  1462. "201": {
  1463. "description": "Created"
  1464. },
  1465. "401": {
  1466. "description": "Unauthorized"
  1467. },
  1468. "403": {
  1469. "description": "Forbidden"
  1470. },
  1471. "404": {
  1472. "description": "Not Found"
  1473. }
  1474. },
  1475. "security": [
  1476. {
  1477. "X-Access-Token": [
  1478. "global"
  1479. ]
  1480. }
  1481. ],
  1482. "x-order": "2147483647"
  1483. }
  1484. },
  1485. "/building-admin/info/addHelp": {
  1486. "post": {
  1487. "tags": [
  1488. "个人中心"
  1489. ],
  1490. "summary": "添加帮助",
  1491. "description": "添加帮助",
  1492. "operationId": "addHelpUsingPOST",
  1493. "consumes": [
  1494. "application/json"
  1495. ],
  1496. "produces": [
  1497. "*/*"
  1498. ],
  1499. "parameters": [
  1500. {
  1501. "name": "createBy",
  1502. "in": "query",
  1503. "description": "创建人",
  1504. "required": false,
  1505. "type": "string"
  1506. },
  1507. {
  1508. "name": "createTime",
  1509. "in": "query",
  1510. "description": "创建日期",
  1511. "required": false,
  1512. "type": "string",
  1513. "format": "date-time"
  1514. },
  1515. {
  1516. "name": "id",
  1517. "in": "query",
  1518. "description": "主键",
  1519. "required": false,
  1520. "type": "string"
  1521. },
  1522. {
  1523. "name": "image",
  1524. "in": "query",
  1525. "description": "问题截图",
  1526. "required": false,
  1527. "type": "string"
  1528. },
  1529. {
  1530. "name": "name",
  1531. "in": "query",
  1532. "description": "姓名",
  1533. "required": false,
  1534. "type": "string"
  1535. },
  1536. {
  1537. "name": "phone",
  1538. "in": "query",
  1539. "description": "联系方式",
  1540. "required": false,
  1541. "type": "string"
  1542. },
  1543. {
  1544. "name": "title",
  1545. "in": "query",
  1546. "description": "描述内容",
  1547. "required": false,
  1548. "type": "string"
  1549. },
  1550. {
  1551. "name": "updateBy",
  1552. "in": "query",
  1553. "description": "更新人",
  1554. "required": false,
  1555. "type": "string"
  1556. },
  1557. {
  1558. "name": "updateTime",
  1559. "in": "query",
  1560. "description": "更新日期",
  1561. "required": false,
  1562. "type": "string",
  1563. "format": "date-time"
  1564. },
  1565. {
  1566. "name": "userId",
  1567. "in": "query",
  1568. "description": "提交用户",
  1569. "required": false,
  1570. "type": "string"
  1571. },
  1572. {
  1573. "name": "X-Access-Token",
  1574. "in": "header",
  1575. "description": "X-Access-Token",
  1576. "required": true,
  1577. "type": "string"
  1578. }
  1579. ],
  1580. "responses": {
  1581. "200": {
  1582. "description": "OK",
  1583. "schema": {
  1584. "$ref": "#/definitions/接口返回对象«object»",
  1585. "originalRef": "接口返回对象«object»"
  1586. }
  1587. },
  1588. "201": {
  1589. "description": "Created"
  1590. },
  1591. "401": {
  1592. "description": "Unauthorized"
  1593. },
  1594. "403": {
  1595. "description": "Forbidden"
  1596. },
  1597. "404": {
  1598. "description": "Not Found"
  1599. }
  1600. },
  1601. "security": [
  1602. {
  1603. "X-Access-Token": [
  1604. "global"
  1605. ]
  1606. }
  1607. ],
  1608. "x-order": "2147483647"
  1609. }
  1610. },
  1611. "/building-admin/info/createQrCode": {
  1612. "get": {
  1613. "tags": [
  1614. "个人中心"
  1615. ],
  1616. "summary": "获取个人邀请码",
  1617. "description": "获取个人邀请码",
  1618. "operationId": "createQrCodeUsingGET",
  1619. "produces": [
  1620. "image/png"
  1621. ],
  1622. "parameters": [
  1623. {
  1624. "name": "token",
  1625. "in": "query",
  1626. "description": "token",
  1627. "required": false,
  1628. "type": "string"
  1629. }
  1630. ],
  1631. "responses": {
  1632. "200": {
  1633. "description": "OK",
  1634. "schema": {
  1635. "type": "string",
  1636. "format": "byte"
  1637. }
  1638. },
  1639. "401": {
  1640. "description": "Unauthorized"
  1641. },
  1642. "403": {
  1643. "description": "Forbidden"
  1644. },
  1645. "404": {
  1646. "description": "Not Found"
  1647. }
  1648. },
  1649. "security": [
  1650. {
  1651. "X-Access-Token": [
  1652. "global"
  1653. ]
  1654. }
  1655. ],
  1656. "x-order": "2147483647"
  1657. }
  1658. },
  1659. "/building-admin/info/deleteAddress": {
  1660. "post": {
  1661. "tags": [
  1662. "个人中心"
  1663. ],
  1664. "summary": "删除地址",
  1665. "description": "删除地址",
  1666. "operationId": "deleteAddressUsingPOST",
  1667. "consumes": [
  1668. "application/json"
  1669. ],
  1670. "produces": [
  1671. "*/*"
  1672. ],
  1673. "parameters": [
  1674. {
  1675. "name": "id",
  1676. "in": "query",
  1677. "description": "id",
  1678. "required": false,
  1679. "type": "string"
  1680. },
  1681. {
  1682. "name": "X-Access-Token",
  1683. "in": "header",
  1684. "description": "X-Access-Token",
  1685. "required": true,
  1686. "type": "string"
  1687. }
  1688. ],
  1689. "responses": {
  1690. "200": {
  1691. "description": "OK",
  1692. "schema": {
  1693. "$ref": "#/definitions/接口返回对象«object»",
  1694. "originalRef": "接口返回对象«object»"
  1695. }
  1696. },
  1697. "201": {
  1698. "description": "Created"
  1699. },
  1700. "401": {
  1701. "description": "Unauthorized"
  1702. },
  1703. "403": {
  1704. "description": "Forbidden"
  1705. },
  1706. "404": {
  1707. "description": "Not Found"
  1708. }
  1709. },
  1710. "security": [
  1711. {
  1712. "X-Access-Token": [
  1713. "global"
  1714. ]
  1715. }
  1716. ],
  1717. "x-order": "2147483647"
  1718. }
  1719. },
  1720. "/building-admin/info/getAddressInfo": {
  1721. "get": {
  1722. "tags": [
  1723. "个人中心"
  1724. ],
  1725. "summary": "获取地址详情",
  1726. "description": "获取地址详情",
  1727. "operationId": "getAddressInfoUsingGET",
  1728. "produces": [
  1729. "*/*"
  1730. ],
  1731. "parameters": [
  1732. {
  1733. "name": "id",
  1734. "in": "query",
  1735. "description": "id",
  1736. "required": false,
  1737. "type": "string"
  1738. },
  1739. {
  1740. "name": "X-Access-Token",
  1741. "in": "header",
  1742. "description": "X-Access-Token",
  1743. "required": true,
  1744. "type": "string"
  1745. }
  1746. ],
  1747. "responses": {
  1748. "200": {
  1749. "description": "OK",
  1750. "schema": {
  1751. "$ref": "#/definitions/接口返回对象«object»",
  1752. "originalRef": "接口返回对象«object»"
  1753. }
  1754. },
  1755. "401": {
  1756. "description": "Unauthorized"
  1757. },
  1758. "403": {
  1759. "description": "Forbidden"
  1760. },
  1761. "404": {
  1762. "description": "Not Found"
  1763. }
  1764. },
  1765. "security": [
  1766. {
  1767. "X-Access-Token": [
  1768. "global"
  1769. ]
  1770. }
  1771. ],
  1772. "x-order": "2147483647"
  1773. }
  1774. },
  1775. "/building-admin/info/getAddressList": {
  1776. "get": {
  1777. "tags": [
  1778. "个人中心"
  1779. ],
  1780. "summary": "获取地址列表",
  1781. "description": "获取地址列表",
  1782. "operationId": "getAddressListUsingGET",
  1783. "produces": [
  1784. "*/*"
  1785. ],
  1786. "parameters": [
  1787. {
  1788. "name": "pageNo",
  1789. "in": "query",
  1790. "description": "当前页",
  1791. "required": false,
  1792. "type": "integer",
  1793. "format": "int32"
  1794. },
  1795. {
  1796. "name": "pageSize",
  1797. "in": "query",
  1798. "description": "显示条数",
  1799. "required": false,
  1800. "type": "integer",
  1801. "format": "int32"
  1802. },
  1803. {
  1804. "name": "title",
  1805. "in": "query",
  1806. "description": "搜索标题",
  1807. "required": false,
  1808. "type": "string"
  1809. },
  1810. {
  1811. "name": "X-Access-Token",
  1812. "in": "header",
  1813. "description": "X-Access-Token",
  1814. "required": true,
  1815. "type": "string"
  1816. }
  1817. ],
  1818. "responses": {
  1819. "200": {
  1820. "description": "OK",
  1821. "schema": {
  1822. "$ref": "#/definitions/接口返回对象«object»",
  1823. "originalRef": "接口返回对象«object»"
  1824. }
  1825. },
  1826. "401": {
  1827. "description": "Unauthorized"
  1828. },
  1829. "403": {
  1830. "description": "Forbidden"
  1831. },
  1832. "404": {
  1833. "description": "Not Found"
  1834. }
  1835. },
  1836. "security": [
  1837. {
  1838. "X-Access-Token": [
  1839. "global"
  1840. ]
  1841. }
  1842. ],
  1843. "x-order": "2147483647"
  1844. }
  1845. },
  1846. "/building-admin/info/getLogList": {
  1847. "get": {
  1848. "tags": [
  1849. "个人中心"
  1850. ],
  1851. "summary": "获取流水日志列表",
  1852. "description": "获取流水日志列表",
  1853. "operationId": "getLogListUsingGET",
  1854. "produces": [
  1855. "*/*"
  1856. ],
  1857. "parameters": [
  1858. {
  1859. "name": "pageNo",
  1860. "in": "query",
  1861. "description": "当前页",
  1862. "required": false,
  1863. "type": "integer",
  1864. "format": "int32"
  1865. },
  1866. {
  1867. "name": "pageSize",
  1868. "in": "query",
  1869. "description": "显示条数",
  1870. "required": false,
  1871. "type": "integer",
  1872. "format": "int32"
  1873. },
  1874. {
  1875. "name": "timeDate",
  1876. "in": "query",
  1877. "description": "timeDate",
  1878. "required": false,
  1879. "type": "string"
  1880. },
  1881. {
  1882. "name": "title",
  1883. "in": "query",
  1884. "description": "搜索标题",
  1885. "required": false,
  1886. "type": "string"
  1887. },
  1888. {
  1889. "name": "X-Access-Token",
  1890. "in": "header",
  1891. "description": "X-Access-Token",
  1892. "required": true,
  1893. "type": "string"
  1894. }
  1895. ],
  1896. "responses": {
  1897. "200": {
  1898. "description": "OK",
  1899. "schema": {
  1900. "$ref": "#/definitions/接口返回对象«object»",
  1901. "originalRef": "接口返回对象«object»"
  1902. }
  1903. },
  1904. "401": {
  1905. "description": "Unauthorized"
  1906. },
  1907. "403": {
  1908. "description": "Forbidden"
  1909. },
  1910. "404": {
  1911. "description": "Not Found"
  1912. }
  1913. },
  1914. "security": [
  1915. {
  1916. "X-Access-Token": [
  1917. "global"
  1918. ]
  1919. }
  1920. ],
  1921. "x-order": "2147483647"
  1922. }
  1923. },
  1924. "/building-admin/info/getTeamHeader": {
  1925. "get": {
  1926. "tags": [
  1927. "个人中心"
  1928. ],
  1929. "summary": "获取团队头部信息",
  1930. "description": "获取团队头部信息",
  1931. "operationId": "getTeamHeaderUsingGET",
  1932. "produces": [
  1933. "*/*"
  1934. ],
  1935. "parameters": [
  1936. {
  1937. "name": "X-Access-Token",
  1938. "in": "header",
  1939. "description": "X-Access-Token",
  1940. "required": true,
  1941. "type": "string"
  1942. }
  1943. ],
  1944. "responses": {
  1945. "200": {
  1946. "description": "OK",
  1947. "schema": {
  1948. "$ref": "#/definitions/接口返回对象«object»",
  1949. "originalRef": "接口返回对象«object»"
  1950. }
  1951. },
  1952. "401": {
  1953. "description": "Unauthorized"
  1954. },
  1955. "403": {
  1956. "description": "Forbidden"
  1957. },
  1958. "404": {
  1959. "description": "Not Found"
  1960. }
  1961. },
  1962. "security": [
  1963. {
  1964. "X-Access-Token": [
  1965. "global"
  1966. ]
  1967. }
  1968. ],
  1969. "x-order": "2147483647"
  1970. }
  1971. },
  1972. "/building-admin/info/getTeamList": {
  1973. "get": {
  1974. "tags": [
  1975. "个人中心"
  1976. ],
  1977. "summary": "获取团队列表",
  1978. "description": "获取团队列表",
  1979. "operationId": "getTeamListUsingGET",
  1980. "produces": [
  1981. "*/*"
  1982. ],
  1983. "parameters": [
  1984. {
  1985. "name": "pageNo",
  1986. "in": "query",
  1987. "description": "当前页",
  1988. "required": false,
  1989. "type": "integer",
  1990. "format": "int32"
  1991. },
  1992. {
  1993. "name": "pageSize",
  1994. "in": "query",
  1995. "description": "显示条数",
  1996. "required": false,
  1997. "type": "integer",
  1998. "format": "int32"
  1999. },
  2000. {
  2001. "name": "state",
  2002. "in": "query",
  2003. "description": "state",
  2004. "required": false,
  2005. "type": "integer",
  2006. "format": "int32"
  2007. },
  2008. {
  2009. "name": "title",
  2010. "in": "query",
  2011. "description": "搜索标题",
  2012. "required": false,
  2013. "type": "string"
  2014. },
  2015. {
  2016. "name": "X-Access-Token",
  2017. "in": "header",
  2018. "description": "X-Access-Token",
  2019. "required": true,
  2020. "type": "string"
  2021. }
  2022. ],
  2023. "responses": {
  2024. "200": {
  2025. "description": "OK",
  2026. "schema": {
  2027. "$ref": "#/definitions/接口返回对象«object»",
  2028. "originalRef": "接口返回对象«object»"
  2029. }
  2030. },
  2031. "401": {
  2032. "description": "Unauthorized"
  2033. },
  2034. "403": {
  2035. "description": "Forbidden"
  2036. },
  2037. "404": {
  2038. "description": "Not Found"
  2039. }
  2040. },
  2041. "security": [
  2042. {
  2043. "X-Access-Token": [
  2044. "global"
  2045. ]
  2046. }
  2047. ],
  2048. "x-order": "2147483647"
  2049. }
  2050. },
  2051. "/building-admin/info/getUserInfo": {
  2052. "get": {
  2053. "tags": [
  2054. "个人中心"
  2055. ],
  2056. "summary": "获取用户信息",
  2057. "description": "获取用户信息",
  2058. "operationId": "getUserInfoUsingGET",
  2059. "produces": [
  2060. "*/*"
  2061. ],
  2062. "parameters": [
  2063. {
  2064. "name": "X-Access-Token",
  2065. "in": "header",
  2066. "description": "X-Access-Token",
  2067. "required": true,
  2068. "type": "string"
  2069. }
  2070. ],
  2071. "responses": {
  2072. "200": {
  2073. "description": "OK",
  2074. "schema": {
  2075. "$ref": "#/definitions/接口返回对象«object»",
  2076. "originalRef": "接口返回对象«object»"
  2077. }
  2078. },
  2079. "401": {
  2080. "description": "Unauthorized"
  2081. },
  2082. "403": {
  2083. "description": "Forbidden"
  2084. },
  2085. "404": {
  2086. "description": "Not Found"
  2087. }
  2088. },
  2089. "security": [
  2090. {
  2091. "X-Access-Token": [
  2092. "global"
  2093. ]
  2094. }
  2095. ],
  2096. "x-order": "2147483647"
  2097. }
  2098. },
  2099. "/building-admin/info/openMoney": {
  2100. "post": {
  2101. "tags": [
  2102. "个人中心"
  2103. ],
  2104. "summary": "提现",
  2105. "description": "提现",
  2106. "operationId": "openMoneyUsingPOST",
  2107. "consumes": [
  2108. "application/json"
  2109. ],
  2110. "produces": [
  2111. "*/*"
  2112. ],
  2113. "parameters": [
  2114. {
  2115. "name": "money",
  2116. "in": "query",
  2117. "description": "money",
  2118. "required": false,
  2119. "type": "number"
  2120. },
  2121. {
  2122. "name": "X-Access-Token",
  2123. "in": "header",
  2124. "description": "X-Access-Token",
  2125. "required": true,
  2126. "type": "string"
  2127. }
  2128. ],
  2129. "responses": {
  2130. "200": {
  2131. "description": "OK",
  2132. "schema": {
  2133. "$ref": "#/definitions/接口返回对象«object»",
  2134. "originalRef": "接口返回对象«object»"
  2135. }
  2136. },
  2137. "201": {
  2138. "description": "Created"
  2139. },
  2140. "401": {
  2141. "description": "Unauthorized"
  2142. },
  2143. "403": {
  2144. "description": "Forbidden"
  2145. },
  2146. "404": {
  2147. "description": "Not Found"
  2148. }
  2149. },
  2150. "security": [
  2151. {
  2152. "X-Access-Token": [
  2153. "global"
  2154. ]
  2155. }
  2156. ],
  2157. "x-order": "2147483647"
  2158. }
  2159. },
  2160. "/building-admin/info/saveOrUpdateAddress": {
  2161. "post": {
  2162. "tags": [
  2163. "个人中心"
  2164. ],
  2165. "summary": "保存或修改地址",
  2166. "description": "保存或修改地址",
  2167. "operationId": "saveOrUpdateAddressUsingPOST",
  2168. "consumes": [
  2169. "application/json"
  2170. ],
  2171. "produces": [
  2172. "*/*"
  2173. ],
  2174. "parameters": [
  2175. {
  2176. "name": "address",
  2177. "in": "query",
  2178. "description": "地址",
  2179. "required": false,
  2180. "type": "string"
  2181. },
  2182. {
  2183. "name": "addressDetails",
  2184. "in": "query",
  2185. "description": "详细",
  2186. "required": false,
  2187. "type": "string"
  2188. },
  2189. {
  2190. "name": "createBy",
  2191. "in": "query",
  2192. "description": "创建人",
  2193. "required": false,
  2194. "type": "string"
  2195. },
  2196. {
  2197. "name": "createTime",
  2198. "in": "query",
  2199. "description": "创建日期",
  2200. "required": false,
  2201. "type": "string",
  2202. "format": "date-time"
  2203. },
  2204. {
  2205. "name": "defaultFlag",
  2206. "in": "query",
  2207. "description": "默认",
  2208. "required": false,
  2209. "type": "string"
  2210. },
  2211. {
  2212. "name": "id",
  2213. "in": "query",
  2214. "description": "主键",
  2215. "required": false,
  2216. "type": "string"
  2217. },
  2218. {
  2219. "name": "latitude",
  2220. "in": "query",
  2221. "description": "经度",
  2222. "required": false,
  2223. "type": "string"
  2224. },
  2225. {
  2226. "name": "longitude",
  2227. "in": "query",
  2228. "description": "纬度",
  2229. "required": false,
  2230. "type": "string"
  2231. },
  2232. {
  2233. "name": "name",
  2234. "in": "query",
  2235. "description": "姓名",
  2236. "required": false,
  2237. "type": "string"
  2238. },
  2239. {
  2240. "name": "phone",
  2241. "in": "query",
  2242. "description": "电话",
  2243. "required": false,
  2244. "type": "string"
  2245. },
  2246. {
  2247. "name": "updateBy",
  2248. "in": "query",
  2249. "description": "更新人",
  2250. "required": false,
  2251. "type": "string"
  2252. },
  2253. {
  2254. "name": "updateTime",
  2255. "in": "query",
  2256. "description": "更新日期",
  2257. "required": false,
  2258. "type": "string",
  2259. "format": "date-time"
  2260. },
  2261. {
  2262. "name": "userId",
  2263. "in": "query",
  2264. "description": "用户",
  2265. "required": false,
  2266. "type": "string"
  2267. },
  2268. {
  2269. "name": "X-Access-Token",
  2270. "in": "header",
  2271. "description": "X-Access-Token",
  2272. "required": true,
  2273. "type": "string"
  2274. }
  2275. ],
  2276. "responses": {
  2277. "200": {
  2278. "description": "OK",
  2279. "schema": {
  2280. "$ref": "#/definitions/接口返回对象«object»",
  2281. "originalRef": "接口返回对象«object»"
  2282. }
  2283. },
  2284. "201": {
  2285. "description": "Created"
  2286. },
  2287. "401": {
  2288. "description": "Unauthorized"
  2289. },
  2290. "403": {
  2291. "description": "Forbidden"
  2292. },
  2293. "404": {
  2294. "description": "Not Found"
  2295. }
  2296. },
  2297. "security": [
  2298. {
  2299. "X-Access-Token": [
  2300. "global"
  2301. ]
  2302. }
  2303. ],
  2304. "x-order": "2147483647"
  2305. }
  2306. },
  2307. "/building-admin/info/updateDefaultAddress": {
  2308. "post": {
  2309. "tags": [
  2310. "个人中心"
  2311. ],
  2312. "summary": "修改默认地址",
  2313. "description": "修改默认地址",
  2314. "operationId": "updateDefaultAddressUsingPOST",
  2315. "consumes": [
  2316. "application/json"
  2317. ],
  2318. "produces": [
  2319. "*/*"
  2320. ],
  2321. "parameters": [
  2322. {
  2323. "name": "id",
  2324. "in": "query",
  2325. "description": "id",
  2326. "required": false,
  2327. "type": "string"
  2328. },
  2329. {
  2330. "name": "X-Access-Token",
  2331. "in": "header",
  2332. "description": "X-Access-Token",
  2333. "required": true,
  2334. "type": "string"
  2335. }
  2336. ],
  2337. "responses": {
  2338. "200": {
  2339. "description": "OK",
  2340. "schema": {
  2341. "$ref": "#/definitions/接口返回对象«object»",
  2342. "originalRef": "接口返回对象«object»"
  2343. }
  2344. },
  2345. "201": {
  2346. "description": "Created"
  2347. },
  2348. "401": {
  2349. "description": "Unauthorized"
  2350. },
  2351. "403": {
  2352. "description": "Forbidden"
  2353. },
  2354. "404": {
  2355. "description": "Not Found"
  2356. }
  2357. },
  2358. "security": [
  2359. {
  2360. "X-Access-Token": [
  2361. "global"
  2362. ]
  2363. }
  2364. ],
  2365. "x-order": "2147483647"
  2366. }
  2367. },
  2368. "/building-admin/info/updateUserInfo": {
  2369. "post": {
  2370. "tags": [
  2371. "个人中心"
  2372. ],
  2373. "summary": "修改用户信息",
  2374. "description": "修改用户信息",
  2375. "operationId": "updateUserInfoUsingPOST",
  2376. "consumes": [
  2377. "application/json"
  2378. ],
  2379. "produces": [
  2380. "*/*"
  2381. ],
  2382. "parameters": [
  2383. {
  2384. "name": "headImage",
  2385. "in": "query",
  2386. "description": "headImage",
  2387. "required": false,
  2388. "type": "string"
  2389. },
  2390. {
  2391. "name": "nickName",
  2392. "in": "query",
  2393. "description": "nickName",
  2394. "required": false,
  2395. "type": "string"
  2396. },
  2397. {
  2398. "name": "phone",
  2399. "in": "query",
  2400. "description": "phone",
  2401. "required": false,
  2402. "type": "string"
  2403. },
  2404. {
  2405. "name": "X-Access-Token",
  2406. "in": "header",
  2407. "description": "X-Access-Token",
  2408. "required": true,
  2409. "type": "string"
  2410. }
  2411. ],
  2412. "responses": {
  2413. "200": {
  2414. "description": "OK",
  2415. "schema": {
  2416. "$ref": "#/definitions/接口返回对象«object»",
  2417. "originalRef": "接口返回对象«object»"
  2418. }
  2419. },
  2420. "201": {
  2421. "description": "Created"
  2422. },
  2423. "401": {
  2424. "description": "Unauthorized"
  2425. },
  2426. "403": {
  2427. "description": "Forbidden"
  2428. },
  2429. "404": {
  2430. "description": "Not Found"
  2431. }
  2432. },
  2433. "security": [
  2434. {
  2435. "X-Access-Token": [
  2436. "global"
  2437. ]
  2438. }
  2439. ],
  2440. "x-order": "2147483647"
  2441. }
  2442. },
  2443. "/building-admin/order/cancelOrder": {
  2444. "post": {
  2445. "tags": [
  2446. "订单接口"
  2447. ],
  2448. "summary": "取消订单",
  2449. "description": "取消订单",
  2450. "operationId": "cancelOrderUsingPOST_1",
  2451. "consumes": [
  2452. "application/json"
  2453. ],
  2454. "produces": [
  2455. "*/*"
  2456. ],
  2457. "parameters": [
  2458. {
  2459. "name": "orderId",
  2460. "in": "query",
  2461. "description": "orderId",
  2462. "required": false,
  2463. "type": "string"
  2464. },
  2465. {
  2466. "name": "X-Access-Token",
  2467. "in": "header",
  2468. "description": "X-Access-Token",
  2469. "required": true,
  2470. "type": "string"
  2471. }
  2472. ],
  2473. "responses": {
  2474. "200": {
  2475. "description": "OK",
  2476. "schema": {
  2477. "$ref": "#/definitions/接口返回对象«object»",
  2478. "originalRef": "接口返回对象«object»"
  2479. }
  2480. },
  2481. "201": {
  2482. "description": "Created"
  2483. },
  2484. "401": {
  2485. "description": "Unauthorized"
  2486. },
  2487. "403": {
  2488. "description": "Forbidden"
  2489. },
  2490. "404": {
  2491. "description": "Not Found"
  2492. }
  2493. },
  2494. "security": [
  2495. {
  2496. "X-Access-Token": [
  2497. "global"
  2498. ]
  2499. }
  2500. ],
  2501. "x-order": "2147483647"
  2502. }
  2503. },
  2504. "/building-admin/order/confirmOrder": {
  2505. "post": {
  2506. "tags": [
  2507. "订单接口"
  2508. ],
  2509. "summary": "确认收货",
  2510. "description": "确认收货",
  2511. "operationId": "confirmOrderUsingPOST",
  2512. "consumes": [
  2513. "application/json"
  2514. ],
  2515. "produces": [
  2516. "*/*"
  2517. ],
  2518. "parameters": [
  2519. {
  2520. "name": "orderId",
  2521. "in": "query",
  2522. "description": "orderId",
  2523. "required": false,
  2524. "type": "string"
  2525. },
  2526. {
  2527. "name": "X-Access-Token",
  2528. "in": "header",
  2529. "description": "X-Access-Token",
  2530. "required": true,
  2531. "type": "string"
  2532. }
  2533. ],
  2534. "responses": {
  2535. "200": {
  2536. "description": "OK",
  2537. "schema": {
  2538. "$ref": "#/definitions/接口返回对象«object»",
  2539. "originalRef": "接口返回对象«object»"
  2540. }
  2541. },
  2542. "201": {
  2543. "description": "Created"
  2544. },
  2545. "401": {
  2546. "description": "Unauthorized"
  2547. },
  2548. "403": {
  2549. "description": "Forbidden"
  2550. },
  2551. "404": {
  2552. "description": "Not Found"
  2553. }
  2554. },
  2555. "security": [
  2556. {
  2557. "X-Access-Token": [
  2558. "global"
  2559. ]
  2560. }
  2561. ],
  2562. "x-order": "2147483647"
  2563. }
  2564. },
  2565. "/building-admin/order/createSumOrder": {
  2566. "post": {
  2567. "tags": [
  2568. "订单接口"
  2569. ],
  2570. "summary": "商城-加入购物车之后一次下多个订单",
  2571. "description": "商城-加入购物车之后一次下多个订单",
  2572. "operationId": "createSumOrderUsingPOST",
  2573. "consumes": [
  2574. "application/json"
  2575. ],
  2576. "produces": [
  2577. "*/*"
  2578. ],
  2579. "parameters": [
  2580. {
  2581. "name": "addressId",
  2582. "in": "query",
  2583. "description": "addressId",
  2584. "required": false,
  2585. "type": "string"
  2586. },
  2587. {
  2588. "name": "list",
  2589. "in": "query",
  2590. "description": "list",
  2591. "required": false,
  2592. "type": "string"
  2593. },
  2594. {
  2595. "name": "orderId",
  2596. "in": "query",
  2597. "description": "orderId",
  2598. "required": false,
  2599. "type": "string"
  2600. },
  2601. {
  2602. "name": "payType",
  2603. "in": "query",
  2604. "description": "payType",
  2605. "required": false,
  2606. "type": "integer",
  2607. "format": "int32"
  2608. },
  2609. {
  2610. "name": "X-Access-Token",
  2611. "in": "header",
  2612. "description": "X-Access-Token",
  2613. "required": true,
  2614. "type": "string"
  2615. }
  2616. ],
  2617. "responses": {
  2618. "200": {
  2619. "description": "OK",
  2620. "schema": {
  2621. "$ref": "#/definitions/接口返回对象«object»",
  2622. "originalRef": "接口返回对象«object»"
  2623. }
  2624. },
  2625. "201": {
  2626. "description": "Created"
  2627. },
  2628. "401": {
  2629. "description": "Unauthorized"
  2630. },
  2631. "403": {
  2632. "description": "Forbidden"
  2633. },
  2634. "404": {
  2635. "description": "Not Found"
  2636. }
  2637. },
  2638. "security": [
  2639. {
  2640. "X-Access-Token": [
  2641. "global"
  2642. ]
  2643. }
  2644. ],
  2645. "x-order": "2147483647"
  2646. }
  2647. },
  2648. "/building-admin/order/getOrderInfo": {
  2649. "get": {
  2650. "tags": [
  2651. "订单接口"
  2652. ],
  2653. "summary": "获取订单详情",
  2654. "description": "获取订单详情",
  2655. "operationId": "getOrderInfoUsingGET_1",
  2656. "produces": [
  2657. "*/*"
  2658. ],
  2659. "parameters": [
  2660. {
  2661. "name": "orderId",
  2662. "in": "query",
  2663. "description": "orderId",
  2664. "required": false,
  2665. "type": "string"
  2666. },
  2667. {
  2668. "name": "X-Access-Token",
  2669. "in": "header",
  2670. "description": "X-Access-Token",
  2671. "required": true,
  2672. "type": "string"
  2673. }
  2674. ],
  2675. "responses": {
  2676. "200": {
  2677. "description": "OK",
  2678. "schema": {
  2679. "$ref": "#/definitions/接口返回对象«object»",
  2680. "originalRef": "接口返回对象«object»"
  2681. }
  2682. },
  2683. "401": {
  2684. "description": "Unauthorized"
  2685. },
  2686. "403": {
  2687. "description": "Forbidden"
  2688. },
  2689. "404": {
  2690. "description": "Not Found"
  2691. }
  2692. },
  2693. "security": [
  2694. {
  2695. "X-Access-Token": [
  2696. "global"
  2697. ]
  2698. }
  2699. ],
  2700. "x-order": "2147483647"
  2701. }
  2702. },
  2703. "/building-admin/order/getOrderPageBean": {
  2704. "get": {
  2705. "tags": [
  2706. "订单接口"
  2707. ],
  2708. "summary": "获取订单列表带分页",
  2709. "description": "获取订单列表带分页",
  2710. "operationId": "getOrderPageBeanUsingGET",
  2711. "produces": [
  2712. "*/*"
  2713. ],
  2714. "parameters": [
  2715. {
  2716. "name": "pageNo",
  2717. "in": "query",
  2718. "description": "当前页",
  2719. "required": false,
  2720. "type": "integer",
  2721. "format": "int32"
  2722. },
  2723. {
  2724. "name": "pageSize",
  2725. "in": "query",
  2726. "description": "显示条数",
  2727. "required": false,
  2728. "type": "integer",
  2729. "format": "int32"
  2730. },
  2731. {
  2732. "name": "state",
  2733. "in": "query",
  2734. "description": "state",
  2735. "required": false,
  2736. "type": "integer",
  2737. "format": "int32"
  2738. },
  2739. {
  2740. "name": "title",
  2741. "in": "query",
  2742. "description": "搜索标题",
  2743. "required": false,
  2744. "type": "string"
  2745. },
  2746. {
  2747. "name": "X-Access-Token",
  2748. "in": "header",
  2749. "description": "X-Access-Token",
  2750. "required": true,
  2751. "type": "string"
  2752. }
  2753. ],
  2754. "responses": {
  2755. "200": {
  2756. "description": "OK",
  2757. "schema": {
  2758. "$ref": "#/definitions/接口返回对象«object»",
  2759. "originalRef": "接口返回对象«object»"
  2760. }
  2761. },
  2762. "401": {
  2763. "description": "Unauthorized"
  2764. },
  2765. "403": {
  2766. "description": "Forbidden"
  2767. },
  2768. "404": {
  2769. "description": "Not Found"
  2770. }
  2771. },
  2772. "security": [
  2773. {
  2774. "X-Access-Token": [
  2775. "global"
  2776. ]
  2777. }
  2778. ],
  2779. "x-order": "2147483647"
  2780. }
  2781. },
  2782. "/building-admin/order/payOrder": {
  2783. "post": {
  2784. "tags": [
  2785. "订单接口"
  2786. ],
  2787. "summary": "再次支付",
  2788. "description": "再次支付",
  2789. "operationId": "payOrderUsingPOST_1",
  2790. "consumes": [
  2791. "application/json"
  2792. ],
  2793. "produces": [
  2794. "*/*"
  2795. ],
  2796. "parameters": [
  2797. {
  2798. "name": "orderId",
  2799. "in": "query",
  2800. "description": "orderId",
  2801. "required": false,
  2802. "type": "string"
  2803. },
  2804. {
  2805. "name": "type",
  2806. "in": "query",
  2807. "description": "type",
  2808. "required": false,
  2809. "type": "integer",
  2810. "format": "int32"
  2811. },
  2812. {
  2813. "name": "X-Access-Token",
  2814. "in": "header",
  2815. "description": "X-Access-Token",
  2816. "required": true,
  2817. "type": "string"
  2818. }
  2819. ],
  2820. "responses": {
  2821. "200": {
  2822. "description": "OK",
  2823. "schema": {
  2824. "$ref": "#/definitions/接口返回对象«object»",
  2825. "originalRef": "接口返回对象«object»"
  2826. }
  2827. },
  2828. "201": {
  2829. "description": "Created"
  2830. },
  2831. "401": {
  2832. "description": "Unauthorized"
  2833. },
  2834. "403": {
  2835. "description": "Forbidden"
  2836. },
  2837. "404": {
  2838. "description": "Not Found"
  2839. }
  2840. },
  2841. "security": [
  2842. {
  2843. "X-Access-Token": [
  2844. "global"
  2845. ]
  2846. }
  2847. ],
  2848. "x-order": "2147483647"
  2849. }
  2850. }
  2851. },
  2852. "securityDefinitions": {
  2853. "X-Access-Token": {
  2854. "type": "apiKey",
  2855. "name": "X-Access-Token",
  2856. "in": "header"
  2857. }
  2858. },
  2859. "definitions": {
  2860. "接口返回对象«object»": {
  2861. "type": "object",
  2862. "properties": {
  2863. "code": {
  2864. "type": "integer",
  2865. "format": "int32",
  2866. "description": "返回代码"
  2867. },
  2868. "message": {
  2869. "type": "string",
  2870. "description": "返回处理消息"
  2871. },
  2872. "result": {
  2873. "type": "object",
  2874. "description": "返回数据对象"
  2875. },
  2876. "success": {
  2877. "type": "boolean",
  2878. "description": "成功标志"
  2879. },
  2880. "timestamp": {
  2881. "type": "integer",
  2882. "format": "int64",
  2883. "description": "时间戳"
  2884. }
  2885. },
  2886. "title": "接口返回对象«object»",
  2887. "description": "接口返回对象"
  2888. }
  2889. }
  2890. }