From 5b1181405eb404d85355cf577390bb0a27d54769 Mon Sep 17 00:00:00 2001 From: zpc Date: Wed, 23 Jul 2025 14:37:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=8E=A5=E5=8F=A3=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/server/config.js | 19 +- common/server/home.js | 19 +- common/server/interface/advert.js | 27 + common/server/interface/agent.js | 115 + common/server/interface/article.js | 40 + common/server/interface/cart.js | 66 + common/server/interface/common.js | 74 + common/server/interface/coupon.js | 66 + common/server/interface/distribution.js | 102 + common/server/interface/form.js | 27 + common/server/interface/good.js | 141 + common/server/interface/group.js | 27 + common/server/interface/notice.js | 27 + common/server/interface/order.js | 131 + common/server/interface/page.js | 27 + common/server/interface/payments.js | 27 + common/server/interface/pintuan.js | 53 + common/server/interface/service.js | 92 + common/server/interface/store.js | 166 + common/server/interface/user.js | 63 + common/server/swagger.json | 9855 +++++++++++++++++++++++ common/system/system.js | 6 +- pages/index/index.vue | 7 + 23 files changed, 11150 insertions(+), 27 deletions(-) create mode 100644 common/server/interface/advert.js create mode 100644 common/server/interface/agent.js create mode 100644 common/server/interface/article.js create mode 100644 common/server/interface/cart.js create mode 100644 common/server/interface/common.js create mode 100644 common/server/interface/coupon.js create mode 100644 common/server/interface/distribution.js create mode 100644 common/server/interface/form.js create mode 100644 common/server/interface/good.js create mode 100644 common/server/interface/group.js create mode 100644 common/server/interface/notice.js create mode 100644 common/server/interface/order.js create mode 100644 common/server/interface/page.js create mode 100644 common/server/interface/payments.js create mode 100644 common/server/interface/pintuan.js create mode 100644 common/server/interface/service.js create mode 100644 common/server/interface/store.js create mode 100644 common/server/interface/user.js create mode 100644 common/server/swagger.json diff --git a/common/server/config.js b/common/server/config.js index b9d6f2b..3910e74 100644 --- a/common/server/config.js +++ b/common/server/config.js @@ -5,13 +5,14 @@ export const getConfig = async () => { return res.data; } -/** - * 获取公告 - * @param {Number} id 9:首页滚动公告 - * @returns - */ -export const getNoticeInfo = async (id) => { - let res = await request.getOrCache("Notice/NoticeInfo", { id: id }) - return res.data; -} +export class Config { + constructor() { + this.config = null; + } + async getConfig() { + if (this.config == null) { + this.config = await getConfig(); + } + } +} \ No newline at end of file diff --git a/common/server/home.js b/common/server/home.js index 2ac5ec7..0e2cee5 100644 --- a/common/server/home.js +++ b/common/server/home.js @@ -1,17 +1,6 @@ -import request from '@/common/system/request'; -import { getConfig, getNoticeInfo } from '@/common/server/config'; -/** - * 获取滚动条 - * @param {String} code 编码 TplIndexBanner1:首页轮播图 - * @returns - */ -export const GetAdvertList = async (code) => { - if (code == null || code == "") { - return []; - } - const res = await request.getOrCache("advert/getadvertlist", { code: code }); - return res.data; -} + +import { getAdvertList } from '@/common/server/interface/advert' +import { noticeInfo as getNoticeInfo } from '@/common/server/interface/notice' /** * 获取首页关键数据 @@ -19,7 +8,7 @@ export const GetAdvertList = async (code) => { */ export const getHomePage = async () => { // 获取首页banner位 - const advertTask = GetAdvertList("TplIndexBanner1"); + const advertTask = getAdvertList("TplIndexBanner1"); // 获取首页滚动文字 const noticeInfoTask = getNoticeInfo(9); diff --git a/common/server/interface/advert.js b/common/server/interface/advert.js new file mode 100644 index 0000000..d30e97d --- /dev/null +++ b/common/server/interface/advert.js @@ -0,0 +1,27 @@ +import request from '@/common/system/request'; + +/** + * 获取滚动条 + * @param {String} code 编码 TplIndexBanner1:首页轮播图 + * @returns + */ +export const getAdvertList = async (code) => { + if (code == null || code == "") { + return []; + } + const res = await request.getOrCache("advert/GetAdvertList", { code: code }); + return res.data; +} + +/** + * 获取广告位置信息 + * @param {Object} data 查询参数 + * @returns {Promise} + */ +export const getPositionList = async (data) => { + const res = await request.post("Advert/GetPositionList", data); + if (res.code == 0) { + return res.data; + } + return null; +} \ No newline at end of file diff --git a/common/server/interface/agent.js b/common/server/interface/agent.js new file mode 100644 index 0000000..86609d1 --- /dev/null +++ b/common/server/interface/agent.js @@ -0,0 +1,115 @@ +import request from '@/common/system/request'; + +/** + * 申请成为代理商接口 + * @param {Object} data 代理商申请数据 + * @returns {Promise} + */ +export const applyAgent = async (data) => { + const res = await request.post("Agent/ApplyAgent", data); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取代理商排行 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const getAgentRanking = async (params) => { + const res = await request.post("Agent/GetAgentRanking", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 根据查询条件获取分页数据 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const getGoodsPageList = async (params) => { + const res = await request.post("Agent/GetGoodsPageList", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取我的订单统计 + * @returns {Promise} + */ +export const getOrderSum = async () => { + const res = await request.post("Agent/GetOrderSum"); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取店铺信息 + * @param {number} id 店铺ID + * @returns {Promise} + */ +export const getStoreInfo = async (id) => { + const res = await request.post("Agent/GetStoreInfo", { id }); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取我的下级用户数量 + * @returns {Promise} + */ +export const getTeamSum = async () => { + const res = await request.post("Agent/GetTeamSum"); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 查询用户是否可以成为代理商 + * @returns {Promise} + */ +export const info = async () => { + const res = await request.post("Agent/Info"); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 我推广的订单 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const myOrder = async (params) => { + const res = await request.post("Agent/MyOrder", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 店铺设置 + * @param {Object} data 店铺设置数据 + * @returns {Promise} + */ +export const setStore = async (data) => { + const res = await request.post("Agent/SetStore", data); + if (res.code == 0) { + return res.data; + } + return null; +} \ No newline at end of file diff --git a/common/server/interface/article.js b/common/server/interface/article.js new file mode 100644 index 0000000..3a0820a --- /dev/null +++ b/common/server/interface/article.js @@ -0,0 +1,40 @@ +import request from '@/common/system/request'; + +/** + * 获取文章列表 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const getArticleList = async (params) => { + const res = await request.post("Article/GetArticleList", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取单个文章内容 + * @param {number} id 文章ID + * @returns {Promise} + */ +export const getArticleDetail = async (id) => { + const res = await request.post("Article/GetArticleDetail", { id }); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取通知列表 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const noticeList = async (params) => { + const res = await request.post("Article/NoticeList", params); + if (res.code == 0) { + return res.data; + } + return null; +} \ No newline at end of file diff --git a/common/server/interface/cart.js b/common/server/interface/cart.js new file mode 100644 index 0000000..066b956 --- /dev/null +++ b/common/server/interface/cart.js @@ -0,0 +1,66 @@ +import request from '@/common/system/request'; + +/** + * 添加单个货品到购物车 + * @param {Object} data 包含商品信息的数据 + * @returns {Promise} + */ +export const addCart = async (data) => { + const res = await request.post("Cart/AddCart", data); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 删除购物车商品 + * @param {number} id 购物车ID + * @returns {Promise} + */ +export const doDelete = async (id) => { + const res = await request.post("Cart/DoDelete", { id }); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取购物车列表 + * @param {Object} params 参数 + * @returns {Promise} + */ +export const getList = async (params) => { + const res = await request.post("Cart/GetList", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 设置购物车商品数量 + * @param {Object} data 设置数量参数 + * @returns {Promise} + */ +export const setCartNum = async (data) => { + const res = await request.post("Cart/SetCartNum", data); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 根据提交的数据判断哪些购物券可以使用 + * @param {Object} data 优惠券判断参数 + * @returns {Promise} + */ +export const getCartAvailableCoupon = async (data) => { + const res = await request.post("Cart/GetCartAvailableCoupon", data); + if (res.code == 0) { + return res.data; + } + return null; +} \ No newline at end of file diff --git a/common/server/interface/common.js b/common/server/interface/common.js new file mode 100644 index 0000000..17131d1 --- /dev/null +++ b/common/server/interface/common.js @@ -0,0 +1,74 @@ +import request from '@/common/system/request'; + +/** + * 获取层级分配后的区域信息 + * @returns {Promise} + */ +export const getAreas = async () => { + const res = await request.post("Common/GetAreas"); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 返回配置数据文件V2.0 + * @returns {Promise} + */ +export const getConfigV2 = async () => { + const res = await request.post("Common/GetConfigV2"); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 返回配置数据文件V3.0 + * @returns {Promise} + */ +export const getConfigV3 = async () => { + const res = await request.get("Common/GetConfigV3"); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取商城关键词说明列表 + * @returns {Promise} + */ +export const getServiceDescription = async () => { + const res = await request.post("Common/GetServiceDescription"); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 接口测试反馈 + * @returns {Promise} + */ +export const interFaceTest = async () => { + const res = await request.post("Common/InterFaceTest"); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 上传附件通用接口 + * @param {FormData} formData 上传的表单数据 + * @returns {Promise} + */ +export const uploadImages = async (formData) => { + const res = await request.post("Common/UploadImages", formData); + if (res.code == 0) { + return res.data; + } + return null; +} \ No newline at end of file diff --git a/common/server/interface/coupon.js b/common/server/interface/coupon.js new file mode 100644 index 0000000..bd06af1 --- /dev/null +++ b/common/server/interface/coupon.js @@ -0,0 +1,66 @@ +import request from '@/common/system/request'; + +/** + * 获取可领取的优惠券 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const couponList = async (params) => { + const res = await request.post("Coupon/CouponList", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取优惠券详情 + * @param {number} id 优惠券ID + * @returns {Promise} + */ +export const couponDetail = async (id) => { + const res = await request.post("Coupon/CouponDetail", { id }); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 用户领取优惠券 + * @param {number} id 优惠券ID + * @returns {Promise} + */ +export const getCoupon = async (id) => { + const res = await request.post("Coupon/GetCoupon", { id }); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 用户输入code领取优惠券 + * @param {Object} data 包含code的数据 + * @returns {Promise} + */ +export const getCouponKey = async (data) => { + const res = await request.post("Coupon/GetCouponKey", data); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取用户已领取的优惠券 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const userCoupon = async (params) => { + const res = await request.post("Coupon/UserCoupon", params); + if (res.code == 0) { + return res.data; + } + return null; +} \ No newline at end of file diff --git a/common/server/interface/distribution.js b/common/server/interface/distribution.js new file mode 100644 index 0000000..a65e5c0 --- /dev/null +++ b/common/server/interface/distribution.js @@ -0,0 +1,102 @@ +import request from '@/common/system/request'; + +/** + * 申请成为分销商接口 + * @param {Object} data 分销商申请数据 + * @returns {Promise} + */ +export const applyDistribution = async (data) => { + const res = await request.post("Distribution/ApplyDistribution", data); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取分销商排行 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const getDistributionRanking = async (params) => { + const res = await request.post("Distribution/GetDistributionRanking", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取我的订单统计 + * @returns {Promise} + */ +export const getOrderSum = async () => { + const res = await request.post("Distribution/GetOrderSum"); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取店铺信息 + * @param {number} id 店铺ID + * @returns {Promise} + */ +export const getStoreInfo = async (id) => { + const res = await request.post("Distribution/GetStoreInfo", { id }); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取我的下级用户数量 + * @returns {Promise} + */ +export const getTeamSum = async () => { + const res = await request.post("Distribution/GetTeamSum"); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 查询用户是否可以成为分销商 + * @returns {Promise} + */ +export const info = async () => { + const res = await request.post("Distribution/Info"); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 我推广的订单 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const myOrder = async (params) => { + const res = await request.post("Distribution/MyOrder", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 店铺设置 + * @param {Object} data 设置数据 + * @returns {Promise} + */ +export const setStore = async (data) => { + const res = await request.post("Distribution/SetStore", data); + if (res.code == 0) { + return res.data; + } + return null; +} \ No newline at end of file diff --git a/common/server/interface/form.js b/common/server/interface/form.js new file mode 100644 index 0000000..8c3c071 --- /dev/null +++ b/common/server/interface/form.js @@ -0,0 +1,27 @@ +import request from '@/common/system/request'; + +/** + * 万能表单/提交表单 + * @param {Object} data 表单数据 + * @returns {Promise} + */ +export const addSubmit = async (data) => { + const res = await request.post("Form/AddSubmit", data); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 万能表单/获取活动商品详情 + * @param {Object} data 查询参数 + * @returns {Promise} + */ +export const getFormDetial = async (data) => { + const res = await request.post("Form/GetFormDetial", data); + if (res.code == 0) { + return res.data; + } + return null; +} \ No newline at end of file diff --git a/common/server/interface/good.js b/common/server/interface/good.js new file mode 100644 index 0000000..0a91bb9 --- /dev/null +++ b/common/server/interface/good.js @@ -0,0 +1,141 @@ +import request from '@/common/system/request'; + +/** + * 获取所有分类 + * @returns + */ +export const getAllCategories = async () => { + const res = await request.get("Good/GetAllCategories"); + if (res.code == 0) { + return res.data; + } + return null; +} + + +/** + * 获取商品评价列表分页数据 + * @returns {} + */ +export const getGoodsComment = async (otherData, id, page, limit, order, where) => { + const res = await request.post("Good/GetGoodsComment", { + "otherData": otherData, + "id": id, + "page": page, + "limit": limit, + "order": order, + "where": where + }); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取商品详情 + * @param {number} id 商品ID + * @returns {Promise} + */ +export const getDetial = async (id) => { + const res = await request.get("Good/GetDetial", { params: { id } }); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 根据Token获取商品详情 + * @param {number} id 商品ID + * @returns {Promise} + */ +export const getDetialByToken = async (id) => { + const res = await request.post("Good/GetDetialByToken", { id }); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 根据查询条件获取分页数据 + * @param {number} page 页码 + * @param {number} limit 每页数量 + * @param {string} order 排序 + * @param {string} where 条件 + * @returns {Promise} + */ +export const getGoodsPageList = async (page, limit, order, where) => { + const res = await request.get("Good/GetGoodsPageList", { + params: { + page, + limit, + order, + where + } + }); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取单个商品参数 + * @param {number} id 商品ID + * @param {Object} data 附加数据 + * @returns {Promise} + */ +export const getGoodsParams = async (id, data = {}) => { + const res = await request.get("Good/GetGoodsParams", { + params: { + id, + data + } + }); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取随机推荐商品 + * @param {number} id 商品ID + * @param {Object} data 附加数据 + * @returns {Promise} + */ +export const getGoodsRecommendList = async (id, data = {}) => { + const res = await request.get("Good/GetGoodsRecommendList", { + params: { + id, + data + } + }); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取单个货品信息 + * @param {number} id 货品ID + * @param {string} type 类型 + * @param {number} groupId 分组ID + * @returns {Promise} + */ +export const getProductInfo = async (id, type, groupId) => { + const res = await request.get("Good/GetProductInfo", { + params: { + id, + type, + groupId + } + }); + if (res.code == 0) { + return res.data; + } + return null; +} diff --git a/common/server/interface/group.js b/common/server/interface/group.js new file mode 100644 index 0000000..6677b44 --- /dev/null +++ b/common/server/interface/group.js @@ -0,0 +1,27 @@ +import request from '@/common/system/request'; + +/** + * 获取秒杀团购详情 + * @param {Object} data 查询参数 + * @returns {Promise} + */ +export const getGoodsDetial = async (data) => { + const res = await request.post("Group/GetGoodsDetial", data); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取秒杀团购列表 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const getList = async (params) => { + const res = await request.post("Group/GetList", params); + if (res.code == 0) { + return res.data; + } + return null; +} \ No newline at end of file diff --git a/common/server/interface/notice.js b/common/server/interface/notice.js new file mode 100644 index 0000000..36e8b94 --- /dev/null +++ b/common/server/interface/notice.js @@ -0,0 +1,27 @@ +import request from '@/common/system/request'; + +/** + * 获取单个公告内容 + * @param {number} id 公告ID + * @returns {Promise} + */ +export const noticeInfo = async (id) => { + const res = await request.getOrCache("Notice/NoticeInfo", { id }); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取公告列表 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const noticeList = async (params) => { + const res = await request.post("Notice/NoticeList", params); + if (res.code == 0) { + return res.data; + } + return null; +} \ No newline at end of file diff --git a/common/server/interface/order.js b/common/server/interface/order.js new file mode 100644 index 0000000..d9d6c97 --- /dev/null +++ b/common/server/interface/order.js @@ -0,0 +1,131 @@ +import request from '@/common/system/request'; + +/** + * 创建订单 + * @param {Object} data 订单数据 + * @returns {Promise} + */ +export const createOrder = async (data) => { + const res = await request.post("Order/CreateOrder", data); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取个人订单列表 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const getOrderList = async (params) => { + const res = await request.post("Order/GetOrderList", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取订单不同状态的数量 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const getOrderStatusNum = async (params) => { + const res = await request.post("Order/GetOrderStatusNum", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 订单详情 + * @param {string} id 订单ID + * @returns {Promise} + */ +export const orderDetails = async (id) => { + const res = await request.post("Order/OrderDetails", { id }); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 取消订单 + * @param {string} id 订单ID + * @returns {Promise} + */ +export const cancelOrder = async (id) => { + const res = await request.post("Order/CancelOrder", { id }); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 删除订单 + * @param {string} id 订单ID + * @returns {Promise} + */ +export const deleteOrder = async (id) => { + const res = await request.post("Order/DeleteOrder", { id }); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 确认签收订单 + * @param {string} id 订单ID + * @returns {Promise} + */ +export const orderConfirm = async (id) => { + const res = await request.post("Order/OrderConfirm", { id }); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 添加售后单 + * @param {Object} data 售后单数据 + * @returns {Promise} + */ +export const addAftersales = async (data) => { + const res = await request.post("Order/AddAftersales", data); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取售后单列表 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const aftersalesList = async (params) => { + const res = await request.post("Order/AftersalesList", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取售后单详情 + * @param {string} id 售后单ID + * @returns {Promise} + */ +export const aftersalesinfo = async (id) => { + const res = await request.post("Order/Aftersalesinfo", { id }); + if (res.code == 0) { + return res.data; + } + return null; +} \ No newline at end of file diff --git a/common/server/interface/page.js b/common/server/interface/page.js new file mode 100644 index 0000000..961e31d --- /dev/null +++ b/common/server/interface/page.js @@ -0,0 +1,27 @@ +import request from '@/common/system/request'; + +/** + * 获取页面布局数据 + * @param {Object} data 查询参数 + * @returns {Promise} + */ +export const getPageConfig = async (data) => { + const res = await request.post("Page/GetPageConfig", data); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取用户购买记录 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const getRecod = async (params) => { + const res = await request.post("Page/GetRecod", params); + if (res.code == 0) { + return res.data; + } + return null; +} \ No newline at end of file diff --git a/common/server/interface/payments.js b/common/server/interface/payments.js new file mode 100644 index 0000000..98900b3 --- /dev/null +++ b/common/server/interface/payments.js @@ -0,0 +1,27 @@ +import request from '@/common/system/request'; + +/** + * 支付确认页面取信息 + * @param {Object} params 支付参数 + * @returns {Promise} + */ +export const checkPay = async (params) => { + const res = await request.post("Payments/CheckPay", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取支付单详情 + * @param {string} id 支付单ID + * @returns {Promise} + */ +export const getInfo = async (id) => { + const res = await request.post("Payments/GetInfo", { id }); + if (res.code == 0) { + return res.data; + } + return null; +} \ No newline at end of file diff --git a/common/server/interface/pintuan.js b/common/server/interface/pintuan.js new file mode 100644 index 0000000..3ae92ef --- /dev/null +++ b/common/server/interface/pintuan.js @@ -0,0 +1,53 @@ +import request from '@/common/system/request'; + +/** + * 获取拼团商品信息 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const getGoodsInfo = async (params) => { + const res = await request.post("PinTuan/GetGoodsInfo", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取拼团列表 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const getList = async (params) => { + const res = await request.post("PinTuan/GetList", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取拼团团队 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const getPinTuanTeam = async (params) => { + const res = await request.post("PinTuan/GetPinTuanTeam", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取拼团产品信息 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const getProductInfo = async (params) => { + const res = await request.post("PinTuan/GetProductInfo", params); + if (res.code == 0) { + return res.data; + } + return null; +} \ No newline at end of file diff --git a/common/server/interface/service.js b/common/server/interface/service.js new file mode 100644 index 0000000..3efffb3 --- /dev/null +++ b/common/server/interface/service.js @@ -0,0 +1,92 @@ +import request from '@/common/system/request'; + +/** + * 添加服务订单 + * @param {Object} data 服务订单数据 + * @returns {Promise} + */ +export const addServiceOrder = async (data) => { + const res = await request.post("Service/AddServiceOrder", data); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取服务详情 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const getDetails = async (params) => { + const res = await request.post("Service/GetDetails", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取服务分页列表 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const getPageList = async (params) => { + const res = await request.post("Service/GetPageList", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取票务信息 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const getTicketInfo = async (params) => { + const res = await request.post("Service/GetTicketInfo", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 删除日志 + * @param {Object} params 删除参数 + * @returns {Promise} + */ +export const logDelete = async (params) => { + const res = await request.post("Service/LogDelete", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取验证分页列表 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const verificationPageList = async (params) => { + const res = await request.post("Service/VerificationPageList", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 验证票据 + * @param {Object} params 验证参数 + * @returns {Promise} + */ +export const verificationTicket = async (params) => { + const res = await request.post("Service/VerificationTicket", params); + if (res.code == 0) { + return res.data; + } + return null; +} \ No newline at end of file diff --git a/common/server/interface/store.js b/common/server/interface/store.js new file mode 100644 index 0000000..dc42c4c --- /dev/null +++ b/common/server/interface/store.js @@ -0,0 +1,166 @@ +import request from '@/common/system/request'; + +/** + * 获取默认商店 + * @returns {Promise} + */ +export const getDefaultStore = async () => { + const res = await request.post("Store/GetDefaultStore"); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取商家订单分页 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const getOrderPageByMerchant = async (params) => { + const res = await request.post("Store/GetOrderPageByMerchant", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取商家订单搜索分页 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const getOrderPageByMerchantSearch = async (params) => { + const res = await request.post("Store/GetOrderPageByMerchantSearch", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取推荐关键词 + * @returns {Promise} + */ +export const getRecommendKeys = async () => { + const res = await request.post("Store/GetRecommendKeys"); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 根据ID获取商店 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const getStoreById = async (params) => { + const res = await request.post("Store/GetStoreById", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 根据用户ID获取商店 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const getStoreByUserId = async (params) => { + const res = await request.post("Store/GetStoreByUserId", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取商店列表 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const getStoreList = async (params) => { + const res = await request.post("Store/GetStoreList", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取商店开关 + * @returns {Promise} + */ +export const getStoreSwitch = async () => { + const res = await request.post("Store/GetStoreSwitch"); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 是否店员 + * @returns {Promise} + */ +export const isClerk = async () => { + const res = await request.post("Store/IsClerk"); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 装载 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const lading = async (params) => { + const res = await request.post("Store/Lading", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 删除装载 + * @param {Object} params 删除参数 + * @returns {Promise} + */ +export const ladingDelete = async (params) => { + const res = await request.post("Store/LadingDelete", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取装载信息 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const ladingInfo = async (params) => { + const res = await request.post("Store/LadingInfo", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取商店装载列表 + * @param {Object} params 查询参数 + * @returns {Promise} + */ +export const storeLadingList = async (params) => { + const res = await request.post("Store/StoreLadingList", params); + if (res.code == 0) { + return res.data; + } + return null; +} \ No newline at end of file diff --git a/common/server/interface/user.js b/common/server/interface/user.js new file mode 100644 index 0000000..6f95273 --- /dev/null +++ b/common/server/interface/user.js @@ -0,0 +1,63 @@ +import request from '@/common/system/request'; + +/** + * 查询用户是否可以成为分销商 + * @returns {Promise} + */ +export const getDistributionInfo = async () => { + const res = await request.post("Distribution/Info"); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 申请成为分销商接口 + * @param {Object} data 分销商申请数据 + * @returns {Promise} + */ +export const applyDistribution = async (data) => { + const res = await request.post("Distribution/ApplyDistribution", data); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取分销商排行 + * @param {Object} params 分页参数 + * @returns {Promise} + */ +export const getDistributionRanking = async (params) => { + const res = await request.post("Distribution/GetDistributionRanking", params); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取我的订单统计 + * @returns {Promise} + */ +export const getOrderSum = async () => { + const res = await request.post("Distribution/GetOrderSum"); + if (res.code == 0) { + return res.data; + } + return null; +} + +/** + * 获取我的下级用户数量 + * @returns {Promise} + */ +export const getTeamSum = async () => { + const res = await request.post("Distribution/GetTeamSum"); + if (res.code == 0) { + return res.data; + } + return null; +} \ No newline at end of file diff --git a/common/server/swagger.json b/common/server/swagger.json new file mode 100644 index 0000000..7c10d4b --- /dev/null +++ b/common/server/swagger.json @@ -0,0 +1,9855 @@ +{ + "openapi": "3.0.1", + "info": { + "title": "核心商城系统接口端 接口文档", + "description": "核心商城系统接口端 HTTP API V2", + "contact": { + "name": "核心商城系统接口端", + "url": "https://CoreCms.Net", + "email": "JianWeie@163.com" + }, + "version": "V2" + }, + "paths": { + "/api/Advert/GetAdvertList": { + "get": { + "tags": [ + "Advert" + ], + "summary": "获取广告列表", + "parameters": [ + { + "name": "code", + "in": "query", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Advert/GetPositionList": { + "post": { + "tags": [ + "Advert" + ], + "summary": "获取广告位置信息", + "requestBody": { + "description": "", + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/WxAdvert" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WxAdvert" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WxAdvert" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/WxAdvert" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Agent/ApplyAgent": { + "post": { + "tags": [ + "Agent" + ], + "summary": "申请成为代理商接口 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMAgentApply" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMAgentApply" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMAgentApply" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMAgentApply" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Agent/GetAgentRanking": { + "post": { + "tags": [ + "Agent" + ], + "summary": "获取代理商排行 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Agent/GetGoodsPageList": { + "post": { + "tags": [ + "Agent" + ], + "summary": "根据查询条件获取分页数据", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByWhereOrder" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByWhereOrder" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByWhereOrder" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByWhereOrder" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Agent/GetOrderSum": { + "post": { + "tags": [ + "Agent" + ], + "summary": "获取我的订单统计 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Agent/GetStoreInfo": { + "post": { + "tags": [ + "Agent" + ], + "summary": "获取店铺信息", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Agent/GetTeamSum": { + "post": { + "tags": [ + "Agent" + ], + "summary": "获取我的下级用户数量 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Agent/Info": { + "post": { + "tags": [ + "Agent" + ], + "summary": "查询用户是否可以成为代理商 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Agent/MyOrder": { + "post": { + "tags": [ + "Agent" + ], + "summary": "我推广的订单 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Agent/SetStore": { + "post": { + "tags": [ + "Agent" + ], + "summary": "店铺设置 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMSetAgentStorePost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMSetAgentStorePost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMSetAgentStorePost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMSetAgentStorePost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Article/GetArticleDetail": { + "post": { + "tags": [ + "Article" + ], + "summary": "获取单个文章内容", + "requestBody": { + "description": "", + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Article/GetArticleList": { + "post": { + "tags": [ + "Article" + ], + "summary": "获取文章列表", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Article/NoticeList": { + "post": { + "tags": [ + "Article" + ], + "summary": "获取通知列表", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Cart/AddCart": { + "post": { + "tags": [ + "Cart" + ], + "summary": "添加单个货品到购物车 (Auth)", + "requestBody": { + "description": "", + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMCartAdd" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMCartAdd" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMCartAdd" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMCartAdd" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Cart/DoDelete": { + "post": { + "tags": [ + "Cart" + ], + "summary": "获取购物车列表 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Cart/GetCartAvailableCoupon": { + "post": { + "tags": [ + "Cart" + ], + "summary": "根据提交的数据判断哪些购物券可以使用 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMCouponForUserCouponPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMCouponForUserCouponPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMCouponForUserCouponPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMCouponForUserCouponPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Cart/GetList": { + "post": { + "tags": [ + "Cart" + ], + "summary": "获取购物车列表 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMCartGetList" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMCartGetList" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMCartGetList" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMCartGetList" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Cart/SetCartNum": { + "post": { + "tags": [ + "Cart" + ], + "summary": "设置购物车商品数量 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMSetCartNum" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMSetCartNum" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMSetCartNum" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMSetCartNum" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Common/GetAreas": { + "post": { + "tags": [ + "Common" + ], + "summary": "获取层级分配后的区域信息", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Common/GetConfigV2": { + "post": { + "tags": [ + "Common" + ], + "summary": "返回配置数据文件V2.0", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Common/GetConfigV3": { + "get": { + "tags": [ + "Common" + ], + "summary": "返回配置数据文件V3.0", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Common/GetServiceDescription": { + "post": { + "tags": [ + "Common" + ], + "summary": "获取商城关键词说明列表", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Common/InterFaceTest": { + "post": { + "tags": [ + "Common" + ], + "summary": "接口测试反馈", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Common/UploadImages": { + "post": { + "tags": [ + "Common" + ], + "summary": "上传附件通用接口 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Coupon/CouponDetail": { + "post": { + "tags": [ + "Coupon" + ], + "summary": "获取优惠券 详情 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Coupon/CouponList": { + "post": { + "tags": [ + "Coupon" + ], + "summary": "获取 可领取的优惠券", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMCouponForUserCouponPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMCouponForUserCouponPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMCouponForUserCouponPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMCouponForUserCouponPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Coupon/GetCoupon": { + "post": { + "tags": [ + "Coupon" + ], + "summary": "用户领取优惠券 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Coupon/GetCouponKey": { + "post": { + "tags": [ + "Coupon" + ], + "summary": "用户输入code领取优惠券 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMCouponForGetCouponKeyPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMCouponForGetCouponKeyPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMCouponForGetCouponKeyPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMCouponForGetCouponKeyPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Coupon/UserCoupon": { + "post": { + "tags": [ + "Coupon" + ], + "summary": "获取用户已领取的优惠券 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMCouponForUserCouponPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMCouponForUserCouponPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMCouponForUserCouponPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMCouponForUserCouponPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Distribution/ApplyDistribution": { + "post": { + "tags": [ + "Distribution" + ], + "summary": "申请成为分销商接口 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMDistributionApply" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMDistributionApply" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMDistributionApply" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMDistributionApply" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Distribution/GetDistributionRanking": { + "post": { + "tags": [ + "Distribution" + ], + "summary": "获取分销商排行 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Distribution/GetOrderSum": { + "post": { + "tags": [ + "Distribution" + ], + "summary": "获取我的订单统计 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Distribution/GetStoreInfo": { + "post": { + "tags": [ + "Distribution" + ], + "summary": "获取店铺信息", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Distribution/GetTeamSum": { + "post": { + "tags": [ + "Distribution" + ], + "summary": "获取我的下级用户数量 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Distribution/Info": { + "post": { + "tags": [ + "Distribution" + ], + "summary": "查询用户是否可以成为分销商 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Distribution/MyOrder": { + "post": { + "tags": [ + "Distribution" + ], + "summary": "我推广的订单 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Distribution/SetStore": { + "post": { + "tags": [ + "Distribution" + ], + "summary": "店铺设置 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMSetDistributionStorePost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMSetDistributionStorePost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMSetDistributionStorePost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMSetDistributionStorePost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Form/AddSubmit": { + "post": { + "tags": [ + "Form" + ], + "summary": "万能表单/提交表单", + "requestBody": { + "description": "", + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FmAddSubmit" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FmAddSubmit" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FmAddSubmit" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FmAddSubmit" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Form/GetFormDetial": { + "post": { + "tags": [ + "Form" + ], + "summary": "万能表单/获取活动商品详情", + "requestBody": { + "description": "", + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FmGetForm" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FmGetForm" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FmGetForm" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FmGetForm" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Good/GetAllCategories": { + "get": { + "tags": [ + "Good" + ], + "summary": "获取所有商品分类栏目数据", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Good/GetDetial": { + "get": { + "tags": [ + "Good" + ], + "summary": "获取商品详情", + "parameters": [ + { + "name": "id", + "in": "query", + "description": "", + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Good/GetDetialByToken": { + "post": { + "tags": [ + "Good" + ], + "summary": "根据Token获取商品详情 (Auth)", + "requestBody": { + "description": "", + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Good/GetGoodsComment": { + "post": { + "tags": [ + "Good" + ], + "summary": "获取商品评价列表分页数据", + "requestBody": { + "description": "", + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Good/GetGoodsPageList": { + "get": { + "tags": [ + "Good" + ], + "summary": "根据查询条件获取分页数据", + "parameters": [ + { + "name": "page", + "in": "query", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "limit", + "in": "query", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "order", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "where", + "in": "query", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Good/GetGoodsParams": { + "get": { + "tags": [ + "Good" + ], + "summary": "获取单个商品参数", + "parameters": [ + { + "name": "id", + "in": "query", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "data", + "in": "query", + "schema": { } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Good/GetGoodsRecommendList": { + "get": { + "tags": [ + "Good" + ], + "summary": "获取随机推荐商品", + "parameters": [ + { + "name": "id", + "in": "query", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "data", + "in": "query", + "schema": { } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Good/GetProductInfo": { + "get": { + "tags": [ + "Good" + ], + "summary": "获取单个货品信息", + "parameters": [ + { + "name": "id", + "in": "query", + "schema": { + "type": "integer", + "format": "int32" + } + }, + { + "name": "type", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "groupId", + "in": "query", + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Group/GetGoodsDetial": { + "post": { + "tags": [ + "Group" + ], + "summary": "获取秒杀团购详情", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMGetGoodsDetial" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMGetGoodsDetial" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMGetGoodsDetial" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMGetGoodsDetial" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Group/GetList": { + "post": { + "tags": [ + "Group" + ], + "summary": "获取秒杀团购列表", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMGroupGetListPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMGroupGetListPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMGroupGetListPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMGroupGetListPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Notice/NoticeInfo": { + "get": { + "tags": [ + "Notice" + ], + "summary": "获取单个公告内容", + "parameters": [ + { + "name": "id", + "in": "query", + "description": "", + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Notice/NoticeList": { + "post": { + "tags": [ + "Notice" + ], + "summary": "列表", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Order/AddAftersales": { + "post": { + "tags": [ + "Order" + ], + "summary": "添加售后单 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/ToAddBillAfterSalesPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ToAddBillAfterSalesPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ToAddBillAfterSalesPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/ToAddBillAfterSalesPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Order/Aftersalesinfo": { + "post": { + "tags": [ + "Order" + ], + "summary": "获取售后单列表 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Order/AftersalesList": { + "post": { + "tags": [ + "Order" + ], + "summary": "获取售后单列表 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByStringId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByStringId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByStringId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByStringId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Order/CancelOrder": { + "post": { + "tags": [ + "Order" + ], + "summary": "取消订单 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Order/CreateOrder": { + "post": { + "tags": [ + "Order" + ], + "summary": "创建订单 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CreateOrder" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateOrder" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CreateOrder" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CreateOrder" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Order/DeleteOrder": { + "post": { + "tags": [ + "Order" + ], + "summary": "删除订单 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Order/GetOrderList": { + "post": { + "tags": [ + "Order" + ], + "summary": "获取个人订单列表 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/GetOrderListPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetOrderListPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/GetOrderListPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/GetOrderListPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Order/GetOrderStatusNum": { + "post": { + "tags": [ + "Order" + ], + "summary": "获取订单不同状态的数量 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/GetOrderStatusNumPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetOrderStatusNumPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/GetOrderStatusNumPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/GetOrderStatusNumPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Order/GetShip": { + "post": { + "tags": [ + "Order" + ], + "summary": "获取配送方式列表 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Order/GetTaxCode": { + "post": { + "tags": [ + "Order" + ], + "summary": "发票模糊查询 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/GetTaxCodePost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetTaxCodePost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/GetTaxCodePost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/GetTaxCodePost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Order/LogisticsByApi": { + "post": { + "tags": [ + "Order" + ], + "summary": "前台物流查询接口 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMApiLogisticsByApiPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMApiLogisticsByApiPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMApiLogisticsByApiPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMApiLogisticsByApiPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Order/OrderConfirm": { + "post": { + "tags": [ + "Order" + ], + "summary": "确认签收订单 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Order/OrderDetails": { + "post": { + "tags": [ + "Order" + ], + "summary": "订单预览 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Order/SendReship": { + "post": { + "tags": [ + "Order" + ], + "summary": "提交售后发货快递信息 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMBillReshipForSendReshipPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMBillReshipForSendReshipPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMBillReshipForSendReshipPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMBillReshipForSendReshipPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Page/GetPageConfig": { + "post": { + "tags": [ + "Page" + ], + "summary": "获取页面布局数据", + "requestBody": { + "description": "", + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMWxPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMWxPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMWxPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMWxPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Page/GetRecod": { + "post": { + "tags": [ + "Page" + ], + "summary": "获取用户购买记录", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMGetRecodPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMGetRecodPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMGetRecodPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMGetRecodPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Payments/CheckPay": { + "post": { + "tags": [ + "Payments" + ], + "summary": "支付确认页面取信息 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CheckPayPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CheckPayPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CheckPayPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CheckPayPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Payments/GetInfo": { + "post": { + "tags": [ + "Payments" + ], + "summary": "获取支付单详情 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Payments/GetList": { + "post": { + "tags": [ + "Payments" + ], + "summary": "获取支付方式列表", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/PinTuan/GetGoodsInfo": { + "post": { + "tags": [ + "PinTuan" + ], + "summary": "获取拼团商品信息", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/PinTuan/GetList": { + "post": { + "tags": [ + "PinTuan" + ], + "summary": "拼团列表", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/PinTuan/GetPinTuanTeam": { + "post": { + "tags": [ + "PinTuan" + ], + "summary": "根据订单id取拼团信息,用在订单详情页", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMGetPinTuanTeamPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMGetPinTuanTeamPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMGetPinTuanTeamPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMGetPinTuanTeamPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/PinTuan/GetProductInfo": { + "post": { + "tags": [ + "PinTuan" + ], + "summary": "获取货品信息", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMGetProductInfo" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMGetProductInfo" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMGetProductInfo" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMGetProductInfo" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Service/AddServiceOrder": { + "post": { + "tags": [ + "Service" + ], + "summary": "取得服务卡列表信息 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Service/GetDetails": { + "post": { + "tags": [ + "Service" + ], + "summary": "获取服务卡详情", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Service/GetPageList": { + "post": { + "tags": [ + "Service" + ], + "summary": "取得服务卡列表信息", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Service/GetTicketInfo": { + "post": { + "tags": [ + "Service" + ], + "summary": "获取单个提货单详情 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Service/LogDelete": { + "post": { + "tags": [ + "Service" + ], + "summary": "软删除服务券核销单数据 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Service/VerificationPageList": { + "post": { + "tags": [ + "Service" + ], + "summary": "店铺核销的服务券列表 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Service/VerificationTicket": { + "post": { + "tags": [ + "Service" + ], + "summary": "核销服务券 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Store/GetDefaultStore": { + "post": { + "tags": [ + "Store" + ], + "summary": "获取默认的门店", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Store/GetOrderPageByMerchant": { + "post": { + "tags": [ + "Store" + ], + "summary": "获取个人订单列表 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/GetOrderPageByMerchantPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetOrderPageByMerchantPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/GetOrderPageByMerchantPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/GetOrderPageByMerchantPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Store/GetOrderPageByMerchantSearch": { + "post": { + "tags": [ + "Store" + ], + "summary": "搜索订单 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/GetOrderPageByMerchantSearcgPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetOrderPageByMerchantSearcgPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/GetOrderPageByMerchantSearcgPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/GetOrderPageByMerchantSearcgPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Store/GetRecommendKeys": { + "post": { + "tags": [ + "Store" + ], + "summary": "获取推荐关键词", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Store/GetStoreById": { + "post": { + "tags": [ + "Store" + ], + "summary": "根据序列获取门店数据", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Store/GetStoreByUserId": { + "post": { + "tags": [ + "Store" + ], + "summary": "根据用户序列获取门店数据 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Store/GetStoreList": { + "post": { + "tags": [ + "Store" + ], + "summary": "获取门店列表数据", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMGetStoreQueryPageByCoordinate" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMGetStoreQueryPageByCoordinate" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMGetStoreQueryPageByCoordinate" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMGetStoreQueryPageByCoordinate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Store/GetStoreSwitch": { + "post": { + "tags": [ + "Store" + ], + "summary": "判断是否开启门店自提", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/Store/IsClerk": { + "post": { + "tags": [ + "Store" + ], + "summary": "判断访问用户是否是店员 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Store/Lading": { + "post": { + "tags": [ + "Store" + ], + "summary": "核销订单 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Store/LadingDelete": { + "post": { + "tags": [ + "Store" + ], + "summary": "删除提货单数据 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Store/LadingInfo": { + "post": { + "tags": [ + "Store" + ], + "summary": "获取单个提货单详情 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/Store/StoreLadingList": { + "post": { + "tags": [ + "Store" + ], + "summary": "店铺提货单列表 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/AddBankCards": { + "post": { + "tags": [ + "User" + ], + "summary": "添加银行卡 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/CoreCmsUserBankCard" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/CoreCmsUserBankCard" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/CoreCmsUserBankCard" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/CoreCmsUserBankCard" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/AddGoodsBrowsing": { + "post": { + "tags": [ + "User" + ], + "summary": "添加商品浏览足迹 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/Cash": { + "post": { + "tags": [ + "User" + ], + "summary": "提现申请 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/CashList": { + "post": { + "tags": [ + "User" + ], + "summary": "提现记录列表 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/ChangeAvatar": { + "post": { + "tags": [ + "User" + ], + "summary": "更换头像 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/DecodeEncryptedData": { + "post": { + "tags": [ + "User" + ], + "summary": "核验数据并获取用户详细资料", + "requestBody": { + "description": "", + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMWxLoginDecodeEncryptedData" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMWxLoginDecodeEncryptedData" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMWxLoginDecodeEncryptedData" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMWxLoginDecodeEncryptedData" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/User/DecryptPhoneNumber": { + "post": { + "tags": [ + "User" + ], + "summary": "微信小程序授权拉取手机号码", + "requestBody": { + "description": "", + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMWxLoginDecryptPhoneNumber" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMWxLoginDecryptPhoneNumber" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMWxLoginDecryptPhoneNumber" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMWxLoginDecryptPhoneNumber" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/User/DelGoodsBrowsing": { + "post": { + "tags": [ + "User" + ], + "summary": "删除商品浏览足迹 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/DeShare": { + "post": { + "tags": [ + "User" + ], + "summary": "统一分享解码", + "requestBody": { + "description": "", + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMDeShare" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMDeShare" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMDeShare" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMDeShare" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/User/EditInfo": { + "post": { + "tags": [ + "User" + ], + "summary": "编辑用户信息 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/EditInfoPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/EditInfoPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/EditInfoPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/EditInfoPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/EditPwd": { + "post": { + "tags": [ + "User" + ], + "summary": "修改用户密码 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/EditPwdPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/EditPwdPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/EditPwdPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/EditPwdPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/ForgetPwd": { + "post": { + "tags": [ + "User" + ], + "summary": "用户找回密码 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMForgetPwdPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMForgetPwdPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMForgetPwdPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMForgetPwdPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/GetAreaId": { + "post": { + "tags": [ + "User" + ], + "summary": "获取区域ID", + "requestBody": { + "description": "", + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/GetAreaIdPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetAreaIdPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/GetAreaIdPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/GetAreaIdPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/User/GetBankCardInfo": { + "post": { + "tags": [ + "User" + ], + "summary": "获取银行卡信息 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/GetBankCardsOrganization": { + "post": { + "tags": [ + "User" + ], + "summary": "获取银行卡组织信息 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMStringId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/GetCartNumber": { + "post": { + "tags": [ + "User" + ], + "summary": "获取购物车商品数量 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/GetDefaultBankCard": { + "post": { + "tags": [ + "User" + ], + "summary": "获取用户默认银行卡信息 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/GetMyBankcardsList": { + "post": { + "tags": [ + "User" + ], + "summary": "我的银行卡列表 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/GetMyChildSum": { + "post": { + "tags": [ + "User" + ], + "summary": "获取我的下级用户数量 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/GetMyInvite": { + "post": { + "tags": [ + "User" + ], + "summary": "获取我的上级邀请人 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/GetServicesPageList": { + "post": { + "tags": [ + "User" + ], + "summary": "取得服务卡列表信息 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/GetServicesTickets": { + "post": { + "tags": [ + "User" + ], + "summary": "取得服务卡列表信息 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByStringId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByStringId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByStringId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByStringId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/GetShipDetail": { + "post": { + "tags": [ + "User" + ], + "summary": "获取用户单个地址详情 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/GetUserDefaultShip": { + "post": { + "tags": [ + "User" + ], + "summary": "获取用户获取用户默认收货地址 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/GetUserInfo": { + "post": { + "tags": [ + "User" + ], + "summary": "获取用户信息 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/GetUserPoint": { + "post": { + "tags": [ + "User" + ], + "summary": "判断用户下单可以使用多少积分 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/GetUserPointPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetUserPointPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/GetUserPointPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/GetUserPointPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/GetUserShip": { + "post": { + "tags": [ + "User" + ], + "summary": "获取用户的收货地址列表 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/Goodsbrowsing": { + "post": { + "tags": [ + "User" + ], + "summary": "取得商品浏览足迹 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/GoodsCollection": { + "post": { + "tags": [ + "User" + ], + "summary": "添加商品收藏(关注) (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/GoodsCollectionCreateOrDelete": { + "post": { + "tags": [ + "User" + ], + "summary": "商品取消/添加收藏 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/GoodsCollectionList": { + "post": { + "tags": [ + "User" + ], + "summary": "取得商品收藏记录(关注) (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/IsPoint": { + "post": { + "tags": [ + "User" + ], + "summary": "判断是否开启积分", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/User/IsSign": { + "post": { + "tags": [ + "User" + ], + "summary": "判断是否签到 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/LogOut": { + "post": { + "tags": [ + "User" + ], + "summary": "注销登录", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/User/MyInvite": { + "post": { + "tags": [ + "User" + ], + "summary": "邀请好友(获取我的要求相关信息) (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/OnLogin": { + "post": { + "tags": [ + "User" + ], + "summary": "wx.login登陆成功之后发送的请求", + "requestBody": { + "description": "", + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMWxPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMWxPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMWxPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMWxPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/User/OrderEvaluate": { + "post": { + "tags": [ + "User" + ], + "summary": "订单评价 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/OrderEvaluatePost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/OrderEvaluatePost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/OrderEvaluatePost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/OrderEvaluatePost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/Pay": { + "post": { + "tags": [ + "User" + ], + "summary": "支付 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/PayPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/PayPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/PayPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/PayPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/Recommend": { + "post": { + "tags": [ + "User" + ], + "summary": "获取用户推荐列表 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/Removebankcard": { + "post": { + "tags": [ + "User" + ], + "summary": "删除银行卡信息 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/RemoveShip": { + "post": { + "tags": [ + "User" + ], + "summary": "收货地址删除 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/SaveUserShip": { + "post": { + "tags": [ + "User" + ], + "summary": "保存用户地址 (Auth)", + "requestBody": { + "description": "", + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/SaveUserShipPost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/SaveUserShipPost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/SaveUserShipPost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/SaveUserShipPost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/SendSms": { + "post": { + "tags": [ + "User" + ], + "summary": "用户短信发送", + "requestBody": { + "description": "", + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMWxSendSMS" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMWxSendSMS" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMWxSendSMS" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMWxSendSMS" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/User/SetDefaultBankCard": { + "post": { + "tags": [ + "User" + ], + "summary": "设置默认银行卡 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/SetDefShip": { + "post": { + "tags": [ + "User" + ], + "summary": "设置默认地址 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/SetMyInvite": { + "post": { + "tags": [ + "User" + ], + "summary": "设置我的上级邀请人 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/Share": { + "post": { + "tags": [ + "User" + ], + "summary": "统一分享url处理\r\n新的分享,不管是二维码,还是地址,都走这个\r\npage\t场景值\t\t1店铺首页,2商品详情页,3拼团详情页,4邀请好友(店铺页面,params里需要传store),5文章页面,6参团页面,7自定义页面,8智能表单,9团购,10秒杀,11代理\r\nurl:前端地址\r\nparams:参数,根据场景值不一样而内容不一样\r\n1\r\n2 goodsId:商品ID\r\n3 goodsId:商品ID,teamId:拼团ID\r\n4 store:店铺code\r\n5 articleId:文章ID,articleType:文章类型\r\n6 goodsId:商品ID,groupId:参团ID,teamId:拼团ID\r\n7 pageCode:自定义页面code\r\n8 id:智能表单ID\r\n9 goodsId:商品ID,groupId:团购秒杀ID\r\n type\t类型,1url,2二维码,3海报\r\n token\t可以保存推荐人的信息\r\n client\t终端,1普通h5,2微信小程序,3微信公众号(h5),4头条系小程序,5pc,6阿里小程序\r\n10 store:店铺code", + "requestBody": { + "description": "", + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMShare" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMShare" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMShare" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMShare" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/User/ShareCode": { + "post": { + "tags": [ + "User" + ], + "summary": "获取用户邀请码 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/Sign": { + "post": { + "tags": [ + "User" + ], + "summary": "用户签到 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/SmsLogin": { + "post": { + "tags": [ + "User" + ], + "summary": "手机短信验证码登陆,同时兼有手机短信注册的功能,还有第三方账户绑定的功能", + "requestBody": { + "description": "", + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMWxAccountCreate" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMWxAccountCreate" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMWxAccountCreate" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMWxAccountCreate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + } + } + }, + "/api/User/SmsLogin2": { + "post": { + "tags": [ + "User" + ], + "summary": "用户短信注册并返回jwt token(弃用)", + "requestBody": { + "description": "", + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMWxAccountCreate" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMWxAccountCreate" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMWxAccountCreate" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMWxAccountCreate" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + } + }, + "deprecated": true + } + }, + "/api/User/SyncWeChatInfo": { + "post": { + "tags": [ + "User" + ], + "summary": "同步微信用户数据 (Auth)", + "requestBody": { + "description": "", + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMWxSync" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMWxSync" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMWxSync" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMWxSync" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/UserBalance": { + "post": { + "tags": [ + "User" + ], + "summary": "获取我的余额明细列表 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMGetBalancePost" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMGetBalancePost" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMGetBalancePost" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMGetBalancePost" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/UserInvoiceList": { + "post": { + "tags": [ + "User" + ], + "summary": "我的发票列表 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/User/UserPointLog": { + "post": { + "tags": [ + "User" + ], + "summary": "我的积分列表 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/FMPageByIntId" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/WeChatAppletsMessage/CloseTip": { + "post": { + "tags": [ + "WeChatAppletsMessage" + ], + "summary": "用户取消订阅 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/WeChatAppletsMessage/IsTip": { + "post": { + "tags": [ + "WeChatAppletsMessage" + ], + "summary": "获取用户是否订阅 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/WeChatAppletsMessage/SetTip": { + "post": { + "tags": [ + "WeChatAppletsMessage" + ], + "summary": "设置订阅信息 (Auth)", + "requestBody": { + "content": { + "application/json-patch+json": { + "schema": { + "$ref": "#/components/schemas/SetWeChatAppletsMessageTip" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/SetWeChatAppletsMessageTip" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/SetWeChatAppletsMessageTip" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/SetWeChatAppletsMessageTip" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + }, + "/api/WeChatAppletsMessage/Tmpl": { + "post": { + "tags": [ + "WeChatAppletsMessage" + ], + "summary": "获取订阅模板 (Auth)", + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/WebApiCallBack" + } + } + } + }, + "401": { + "description": "Unauthorized" + }, + "403": { + "description": "Forbidden" + } + }, + "security": [ + { + "oauth2": [ ] + } + ] + } + } + }, + "components": { + "schemas": { + "CheckPayPost": { + "type": "object", + "properties": { + "ids": { + "type": "string", + "nullable": true + }, + "params": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/JToken" + }, + "nullable": true + }, + "paymentType": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "CoreCmsUserBankCard": { + "required": [ + "bankAreaId", + "cardType", + "createTime", + "id", + "isdefault", + "userId" + ], + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "userId": { + "type": "integer", + "format": "int32" + }, + "bankName": { + "maxLength": 60, + "minLength": 0, + "type": "string", + "nullable": true + }, + "bankCode": { + "maxLength": 12, + "minLength": 0, + "type": "string", + "nullable": true + }, + "bankAreaId": { + "type": "integer", + "format": "int32" + }, + "accountBank": { + "maxLength": 255, + "minLength": 0, + "type": "string", + "nullable": true + }, + "accountName": { + "maxLength": 60, + "minLength": 0, + "type": "string", + "nullable": true + }, + "cardNumber": { + "maxLength": 30, + "minLength": 0, + "type": "string", + "nullable": true + }, + "cardType": { + "type": "integer", + "format": "int32" + }, + "isdefault": { + "type": "boolean" + }, + "createTime": { + "type": "string", + "format": "date-time" + }, + "updateTime": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "bankAreaName": { + "type": "string", + "nullable": true + }, + "cardTypeName": { + "type": "string", + "nullable": true + }, + "bankLogo": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "CreateOrder": { + "type": "object", + "properties": { + "areaId": { + "type": "integer", + "format": "int32" + }, + "cartIds": { + "type": "string", + "nullable": true + }, + "couponCode": { + "type": "string", + "nullable": true + }, + "memo": { + "type": "string", + "nullable": true + }, + "point": { + "type": "integer", + "format": "int32" + }, + "receiptType": { + "type": "integer", + "format": "int32" + }, + "source": { + "type": "integer", + "format": "int32" + }, + "taxCode": { + "type": "string", + "nullable": true + }, + "taxName": { + "type": "string", + "nullable": true + }, + "taxType": { + "type": "integer", + "format": "int32" + }, + "ushipId": { + "type": "integer", + "format": "int32" + }, + "storeId": { + "type": "integer", + "format": "int32" + }, + "orderType": { + "type": "integer", + "format": "int32" + }, + "ladingName": { + "type": "string", + "nullable": true + }, + "ladingMobile": { + "type": "string", + "nullable": true + }, + "objectId": { + "type": "integer", + "format": "int32" + }, + "teamId": { + "type": "integer", + "format": "int32" + }, + "scene": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "EditInfoPost": { + "type": "object", + "properties": { + "birthday": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "nickname": { + "type": "string", + "nullable": true + }, + "sex": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "EditPwdPost": { + "type": "object", + "properties": { + "newpwd": { + "type": "string", + "nullable": true + }, + "repwd": { + "type": "string", + "nullable": true + }, + "pwd": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "FMAgentApply": { + "type": "object", + "properties": { + "agreement": { + "type": "string", + "nullable": true + }, + "mobile": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "qq": { + "type": "string", + "nullable": true + }, + "weixin": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "FMApiLogisticsByApiPost": { + "type": "object", + "properties": { + "code": { + "type": "string", + "nullable": true + }, + "no": { + "type": "string", + "nullable": true + }, + "mobile": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "FMBillReshipForSendReshipPost": { + "type": "object", + "properties": { + "logiCode": { + "type": "string", + "nullable": true + }, + "logiNo": { + "type": "string", + "nullable": true + }, + "reshipId": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "FMCartAdd": { + "type": "object", + "properties": { + "nums": { + "type": "integer", + "format": "int32" + }, + "productId": { + "type": "integer", + "format": "int32" + }, + "type": { + "type": "integer", + "format": "int32" + }, + "cartType": { + "type": "integer", + "format": "int32" + }, + "objectId": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "FMCartGetList": { + "type": "object", + "properties": { + "userId": { + "type": "integer", + "format": "int32" + }, + "ids": { + "type": "string", + "nullable": true + }, + "type": { + "type": "integer", + "format": "int32" + }, + "areaId": { + "type": "integer", + "format": "int32" + }, + "point": { + "type": "integer", + "format": "int32" + }, + "couponCode": { + "type": "string", + "nullable": true + }, + "receiptType": { + "type": "integer", + "format": "int32" + }, + "objectId": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "FMCouponForGetCouponKeyPost": { + "type": "object", + "properties": { + "key": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "FMCouponForUserCouponPost": { + "type": "object", + "properties": { + "page": { + "type": "integer", + "format": "int32" + }, + "limit": { + "type": "integer", + "format": "int32" + }, + "display": { + "type": "string", + "nullable": true + }, + "ids": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "FMDeShare": { + "type": "object", + "properties": { + "code": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "FMDistributionApply": { + "type": "object", + "properties": { + "agreement": { + "type": "string", + "nullable": true + }, + "mobile": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "qq": { + "type": "string", + "nullable": true + }, + "weixin": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "FMForgetPwdPost": { + "type": "object", + "properties": { + "mobile": { + "type": "string", + "nullable": true + }, + "code": { + "type": "string", + "nullable": true + }, + "newpwd": { + "type": "string", + "nullable": true + }, + "repwd": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "FMGetBalancePost": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "page": { + "type": "integer", + "format": "int32" + }, + "limit": { + "type": "integer", + "format": "int32" + }, + "propsDate": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "FMGetGoodsDetial": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "groupId": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "FMGetPinTuanTeamPost": { + "type": "object", + "properties": { + "orderId": { + "type": "string", + "nullable": true + }, + "teamId": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "FMGetProductInfo": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "type": { + "type": "string", + "nullable": true + }, + "groupId": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "FMGetRecodPost": { + "type": "object", + "properties": { + "type": { + "type": "string", + "nullable": true + }, + "value": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "FMGetStoreQueryPageByCoordinate": { + "type": "object", + "properties": { + "longitude": { + "type": "number", + "format": "double" + }, + "latitude": { + "type": "number", + "format": "double" + }, + "key": { + "type": "string", + "nullable": true + }, + "page": { + "type": "integer", + "format": "int32" + }, + "limit": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "FMGroupGetListPost": { + "type": "object", + "properties": { + "type": { + "type": "integer", + "format": "int32" + }, + "page": { + "type": "integer", + "format": "int32" + }, + "limit": { + "type": "integer", + "format": "int32" + }, + "status": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "FMIntId": { + "required": [ + "id" + ], + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "data": { + "nullable": true + } + }, + "additionalProperties": false + }, + "FMPageByIntId": { + "type": "object", + "properties": { + "otherData": { + "nullable": true + }, + "id": { + "type": "integer", + "format": "int32" + }, + "page": { + "type": "integer", + "format": "int32" + }, + "limit": { + "type": "integer", + "format": "int32" + }, + "order": { + "type": "string", + "nullable": true + }, + "where": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "FMPageByStringId": { + "type": "object", + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "page": { + "type": "integer", + "format": "int32" + }, + "limit": { + "type": "integer", + "format": "int32" + }, + "order": { + "type": "string", + "nullable": true + }, + "where": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "FMPageByWhereOrder": { + "type": "object", + "properties": { + "page": { + "type": "integer", + "format": "int32" + }, + "limit": { + "type": "integer", + "format": "int32" + }, + "order": { + "type": "string", + "nullable": true + }, + "where": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "FMSetAgentStorePost": { + "type": "object", + "properties": { + "storeBanner": { + "type": "string", + "nullable": true + }, + "storeDesc": { + "type": "string", + "nullable": true + }, + "storeLogo": { + "type": "string", + "nullable": true + }, + "storeName": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "FMSetCartNum": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "nums": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "FMSetDistributionStorePost": { + "type": "object", + "properties": { + "storeBanner": { + "type": "string", + "nullable": true + }, + "storeDesc": { + "type": "string", + "nullable": true + }, + "storeLogo": { + "type": "string", + "nullable": true + }, + "storeName": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "FMShare": { + "type": "object", + "properties": { + "page": { + "type": "integer", + "format": "int32" + }, + "url": { + "type": "string", + "nullable": true + }, + "params": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/JToken" + }, + "nullable": true + }, + "type": { + "type": "integer", + "format": "int32" + }, + "client": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "FMStringId": { + "type": "object", + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "data": { + "nullable": true + } + }, + "additionalProperties": false + }, + "FMWxAccountCreate": { + "type": "object", + "properties": { + "password": { + "type": "string", + "nullable": true + }, + "nickname": { + "type": "string", + "nullable": true + }, + "avatar": { + "type": "string", + "nullable": true + }, + "code": { + "type": "string", + "nullable": true + }, + "mobile": { + "type": "string", + "nullable": true + }, + "sessionAuthId": { + "type": "string", + "nullable": true + }, + "platform": { + "type": "integer", + "format": "int32" + }, + "invitecode": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "FMWxLoginDecodeEncryptedData": { + "type": "object", + "properties": { + "encryptedData": { + "type": "string", + "nullable": true + }, + "iv": { + "type": "string", + "nullable": true + }, + "signature": { + "type": "string", + "nullable": true + }, + "sessionAuthId": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "FMWxLoginDecryptPhoneNumber": { + "type": "object", + "properties": { + "encryptedData": { + "type": "string", + "nullable": true + }, + "iv": { + "type": "string", + "nullable": true + }, + "sessionAuthId": { + "type": "string", + "nullable": true + }, + "invitecode": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "FMWxPost": { + "type": "object", + "properties": { + "code": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "FMWxSendSMS": { + "type": "object", + "properties": { + "code": { + "type": "string", + "nullable": true + }, + "mobile": { + "type": "string", + "nullable": true + }, + "method": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "FMWxSync": { + "type": "object", + "properties": { + "avatarUrl": { + "type": "string", + "nullable": true + }, + "city": { + "type": "string", + "nullable": true + }, + "country": { + "type": "string", + "nullable": true + }, + "gender": { + "type": "integer", + "format": "int32" + }, + "language": { + "type": "string", + "nullable": true + }, + "nickName": { + "type": "string", + "nullable": true + }, + "province": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "FmAddSubmit": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "token": { + "type": "string", + "nullable": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/FmAddSubmitItems" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "FmAddSubmitItems": { + "type": "object", + "properties": { + "key": { + "type": "integer", + "format": "int32" + }, + "value": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "FmGetForm": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "token": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "GetAreaIdPost": { + "type": "object", + "properties": { + "cityName": { + "type": "string", + "nullable": true + }, + "countyName": { + "type": "string", + "nullable": true + }, + "provinceName": { + "type": "string", + "nullable": true + }, + "postalCode": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "GetOrderListPost": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "format": "int32" + }, + "page": { + "type": "integer", + "format": "int32" + }, + "status": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "GetOrderPageByMerchantPost": { + "type": "object", + "properties": { + "dateType": { + "type": "string", + "nullable": true + }, + "date": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "limit": { + "type": "integer", + "format": "int32" + }, + "page": { + "type": "integer", + "format": "int32" + }, + "status": { + "type": "integer", + "format": "int32" + }, + "receiptType": { + "type": "integer", + "format": "int32" + }, + "storeId": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "GetOrderPageByMerchantSearcgPost": { + "type": "object", + "properties": { + "keyword": { + "type": "string", + "nullable": true + }, + "limit": { + "type": "integer", + "format": "int32" + }, + "page": { + "type": "integer", + "format": "int32" + }, + "status": { + "type": "integer", + "format": "int32" + }, + "receiptType": { + "type": "integer", + "format": "int32" + }, + "storeId": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "GetOrderStatusNumPost": { + "type": "object", + "properties": { + "ids": { + "type": "string", + "nullable": true + }, + "isAfterSale": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "GetTaxCodePost": { + "type": "object", + "properties": { + "name": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "GetUserPointPost": { + "type": "object", + "properties": { + "orderMoney": { + "type": "number", + "format": "double" + } + }, + "additionalProperties": false + }, + "JToken": { + "type": "array", + "items": { + "$ref": "#/components/schemas/JToken" + } + }, + "OrderEvaluatePost": { + "type": "object", + "properties": { + "orderId": { + "type": "string", + "nullable": true + }, + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/OrderEvaluatePostItems" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "OrderEvaluatePostItems": { + "type": "object", + "properties": { + "images": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "orderItemId": { + "type": "integer", + "format": "int32" + }, + "score": { + "type": "integer", + "format": "int32" + }, + "textarea": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "PayPost": { + "type": "object", + "properties": { + "ids": { + "type": "string", + "nullable": true + }, + "payment_code": { + "type": "string", + "nullable": true + }, + "payment_type": { + "type": "integer", + "format": "int32" + }, + "params": { + "type": "object", + "additionalProperties": { + "$ref": "#/components/schemas/JToken" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "SaveUserShipPost": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "address": { + "type": "string", + "nullable": true + }, + "areaId": { + "type": "integer", + "format": "int32" + }, + "isDefault": { + "type": "integer", + "format": "int32" + }, + "mobile": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "SetWeChatAppletsMessageTip": { + "type": "object", + "properties": { + "templateId": { + "type": "string", + "nullable": true + }, + "status": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "ToAddBillAfterSalesPost": { + "type": "object", + "properties": { + "orderId": { + "type": "string", + "nullable": true + }, + "type": { + "type": "integer", + "format": "int32" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/JToken" + }, + "nullable": true + }, + "images": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "reason": { + "type": "string", + "nullable": true + }, + "refund": { + "type": "number", + "format": "double" + } + }, + "additionalProperties": false + }, + "WebApiCallBack": { + "type": "object", + "properties": { + "methodDescription": { + "type": "string", + "nullable": true + }, + "otherData": { + "nullable": true + }, + "status": { + "type": "boolean" + }, + "msg": { + "type": "string", + "nullable": true + }, + "data": { + "nullable": true + }, + "code": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "WxAdvert": { + "type": "object", + "properties": { + "codes": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + } + }, + "securitySchemes": { + "oauth2": { + "type": "apiKey", + "description": "JWT授权(数据将在请求头中进行传输) 直接在下框中输入Bearer {token}(注意两者之间是一个空格)\"", + "name": "Authorization", + "in": "header" + } + } + } +} \ No newline at end of file diff --git a/common/system/system.js b/common/system/system.js index 27906ed..3f8e249 100644 --- a/common/system/system.js +++ b/common/system/system.js @@ -20,17 +20,17 @@ export const appInit = async (timeoutMs = 5000) => { timeoutMs ) ); - // 3. 使用Promise.race让广告获取任务和超时Promise"赛跑" + // 3. 使用Promise.race让首页获取数据和超时Promise"赛跑" // 哪个先完成(成功或失败)就采用哪个的结果 await Promise.race([ - // 使用Promise.all包装是为了保持一致性(虽然只有一个任务) + // 使用Promise.all包装是为了保持一致性 Promise.all([getConfigTask, homeTask]), timeoutPromise ]); // 4. 如果没有超时全部获取成功,返回true return true; } catch (error) { - // 5. 错误处理(可能是超时错误或广告获取失败) + // 5. 错误处理(可能是超时错误或首页获取失败) console.error('初始化任务失败:', error); // 6. 返回false表示初始化失败 return false; diff --git a/pages/index/index.vue b/pages/index/index.vue index 4673df2..90376dd 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -15,7 +15,14 @@ onLoad(async () => { uni.onNetworkStatusChange(checkNetwork); return; } + // 记录开始时间 + const startTime = Date.now(); let res = await appInit(); + + // 计算总耗时 + const endTime = Date.now(); + const duration = endTime - startTime; + console.log(`应用初始化成功,耗时: ${duration}ms`); gy.navigateTo("/pages/home/home-page"); }); /**