From fb65dceaa0c1eb0a483a0cfac8199bd27450feff Mon Sep 17 00:00:00 2001 From: key Date: Fri, 17 Apr 2026 12:03:15 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=87=E6=8D=A2=E5=88=B0=E5=95=86?= =?UTF-8?q?=E6=88=B7=E5=8F=B7=E5=AD=90=E8=B4=A6=E5=8F=B7=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E7=AB=AF=E7=82=B9=20+=20=E9=A1=B9=E7=9B=AE=E6=B8=85=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - AuthService: 改用 http://common.apifm.com/loginAdmin/operator/v2 商户号登录 * 验证码和登录统一使用该主机以保持 JSESSIONID 一致 * 改用 FormUrlEncodedContent POST body * 未配置 MerchantId 时回退到旧的 pdomain 登录方式 - AppConfig: 新增 MerchantId 配置项 - App.config: 新增 MerchantId=15073 - LoginViewModel: captchaKey 由 GUID 改为 JS Math.random 风格 0.xxx - setup.iss: 修复 GBK 编码损坏导致的字符串未闭合错误,改为 UTF-8 BOM - README: 更新配置示例与相关文档链接 - .gitignore: 忽略 .env 本地密钥文件 - 清理过时/无关文档与未引用的 SFX 打包脚本 --- .gitignore | 5 + PackagingMallShipper/App.config | 4 +- PackagingMallShipper/Helpers/AppConfig.cs | 3 + .../PackagingMallShipper.csproj | 14 +- PackagingMallShipper/Services/AuthService.cs | 99 +- PackagingMallShipper/Services/Interfaces.cs | 1 + .../ViewModels/LoginViewModel.cs | 42 +- PackagingMallShipper/Views/LoginWindow.xaml | 2 + README.md | 10 +- create_sfx.bat | 48 - setup.iss | 6 +- sfx_config.txt | 5 - 产品.md | 76 - 后台_接口API.json | 68637 ---------------- 后台接口.md | 25416 ++++++ 调试说明.txt | 87 - 16 files changed, 25554 insertions(+), 68901 deletions(-) delete mode 100644 create_sfx.bat delete mode 100644 sfx_config.txt delete mode 100644 产品.md delete mode 100644 后台_接口API.json create mode 100644 后台接口.md delete mode 100644 调试说明.txt diff --git a/.gitignore b/.gitignore index b417df5..0206eed 100644 --- a/.gitignore +++ b/.gitignore @@ -48,6 +48,11 @@ installer/ Thumbs.db ehthumbs.db Desktop.ini + +# Local secrets / credentials +.env +.env.local +.env.*.local .DS_Store # Temp files diff --git a/PackagingMallShipper/App.config b/PackagingMallShipper/App.config index 7ddabb6..4e8d8f4 100644 --- a/PackagingMallShipper/App.config +++ b/PackagingMallShipper/App.config @@ -7,7 +7,9 @@ - + + + diff --git a/PackagingMallShipper/Helpers/AppConfig.cs b/PackagingMallShipper/Helpers/AppConfig.cs index 1162cd7..242bacd 100644 --- a/PackagingMallShipper/Helpers/AppConfig.cs +++ b/PackagingMallShipper/Helpers/AppConfig.cs @@ -10,6 +10,9 @@ namespace PackagingMallShipper.Helpers public static string SubDomain => ConfigurationManager.AppSettings["SubDomain"] ?? "vv125s"; + public static string MerchantId => + ConfigurationManager.AppSettings["MerchantId"] ?? ""; + public static int SyncPageSize => int.TryParse(ConfigurationManager.AppSettings["SyncPageSize"], out var size) ? size : 50; diff --git a/PackagingMallShipper/PackagingMallShipper.csproj b/PackagingMallShipper/PackagingMallShipper.csproj index 2e98fe8..d00a880 100644 --- a/PackagingMallShipper/PackagingMallShipper.csproj +++ b/PackagingMallShipper/PackagingMallShipper.csproj @@ -1,4 +1,4 @@ - + WinExe @@ -11,13 +11,13 @@ Resources\Icons\app.ico false - - 1.0.1 - 1.0.1.0 - 1.0.1.0 + + 1.0.2 + 1.0.2.0 + 1.0.2.0 PackagingMall - 包装商城发货助手 - Copyright © 2025 + 鍖呰鍟嗗煄鍙戣揣鍔╂墜 + Copyright 漏 2025 diff --git a/PackagingMallShipper/Services/AuthService.cs b/PackagingMallShipper/Services/AuthService.cs index d735188..b683727 100644 --- a/PackagingMallShipper/Services/AuthService.cs +++ b/PackagingMallShipper/Services/AuthService.cs @@ -1,6 +1,7 @@ using System; using System.Data.SQLite; using System.Diagnostics; +using System.Net; using System.Net.Http; using System.Threading.Tasks; using Newtonsoft.Json; @@ -13,11 +14,17 @@ namespace PackagingMallShipper.Services public class AuthService : IAuthService { private readonly HttpClient _httpClient; + private readonly HttpClientHandler _httpClientHandler; private LocalSession _currentSession; public AuthService() { - _httpClient = new HttpClient(); + _httpClientHandler = new HttpClientHandler + { + UseCookies = true, + CookieContainer = new CookieContainer() + }; + _httpClient = new HttpClient(_httpClientHandler); _httpClient.Timeout = TimeSpan.FromSeconds(30); LoadSession(); } @@ -26,40 +33,84 @@ namespace PackagingMallShipper.Services public bool IsLoggedIn => !string.IsNullOrEmpty(GetToken()); + // 子账号登录的验证码和登录接口,位于 common.apifm.com + private const string OperatorHost = "http://common.apifm.com"; + private const string LegacyHost = "https://user.api.it120.cc"; + + private static string AuthHost => + string.IsNullOrWhiteSpace(AppConfig.MerchantId) ? LegacyHost : OperatorHost; + public string GetCaptchaUrl(string key) { - return $"https://user.api.it120.cc/code?k={Uri.EscapeDataString(key)}"; + return $"{AuthHost}/code?k={Uri.EscapeDataString(key)}"; + } + + public async Task GetCaptchaImageAsync(string key) + { + var url = GetCaptchaUrl(key); + Debug.WriteLine($"[验证码请求] URL: {url}"); + using (var response = await _httpClient.GetAsync(url)) + { + Debug.WriteLine($"[验证码响应] HTTP状态码: {response.StatusCode}"); + if (response.Headers.TryGetValues("Set-Cookie", out var setCookieValues)) + { + foreach (var item in setCookieValues) + { + Debug.WriteLine($"[验证码响应] Set-Cookie: {item}"); + } + } + + var cookieCount = _httpClientHandler.CookieContainer.GetCookies(new Uri(AuthHost)).Count; + Debug.WriteLine($"[验证码响应] 当前会话Cookie数量: {cookieCount}"); + + response.EnsureSuccessStatusCode(); + var data = await response.Content.ReadAsByteArrayAsync(); + Debug.WriteLine($"[验证码响应] 图片字节数: {data?.Length ?? 0}"); + return data; + } } public async Task LoginAsync(string userName, string password, string captcha = null, string captchaKey = null) { try { - // 使用子账号登录接口 /login/userName/v2 - // 注意:该接口会优先判断手机号码登录,如果满足直接登录成功,其次才会尝试子账号登录 - // 该接口要求必须提供验证码参数 - var urlBuilder = new System.Text.StringBuilder(); - urlBuilder.Append("https://user.api.it120.cc/login/userName/v2"); - urlBuilder.Append($"?userName={Uri.EscapeDataString(userName)}"); - urlBuilder.Append($"&pwd={Uri.EscapeDataString(password)}"); - urlBuilder.Append($"&pdomain={Uri.EscapeDataString(AppConfig.SubDomain)}"); - urlBuilder.Append("&rememberMe=true"); + // 优先使用 /login/operator/v2(商户号登录),要求配置 MerchantId + // 否则回退 /login/userName/v2(专属域名登录) + var useOperator = !string.IsNullOrWhiteSpace(AppConfig.MerchantId); + string url; + var form = new System.Collections.Generic.List> + { + new System.Collections.Generic.KeyValuePair("userName", userName), + new System.Collections.Generic.KeyValuePair("pwd", password), + new System.Collections.Generic.KeyValuePair("rememberMe", "true"), + new System.Collections.Generic.KeyValuePair("imgcode", captcha ?? ""), + new System.Collections.Generic.KeyValuePair("k", captchaKey ?? "") + }; + if (useOperator) + { + // 商户号子账号登录,走 common.apifm.com/loginAdmin/operator/v2 + url = $"{OperatorHost}/loginAdmin/operator/v2"; + form.Add(new System.Collections.Generic.KeyValuePair("merchantId", AppConfig.MerchantId)); + } + else + { + url = $"{LegacyHost}/login/userName/v2"; + form.Add(new System.Collections.Generic.KeyValuePair("pdomain", AppConfig.SubDomain)); + } - // 验证码参数是必须的 - urlBuilder.Append($"&imgcode={Uri.EscapeDataString(captcha ?? "")}"); - urlBuilder.Append($"&k={Uri.EscapeDataString(captchaKey ?? "")}"); - - var url = urlBuilder.ToString(); - - // 详细日志:请求URL(隐藏密码) - var logUrl = url.Replace($"&pwd={Uri.EscapeDataString(password)}", "&pwd=***"); - System.Diagnostics.Debug.WriteLine($"[登录请求] URL: {logUrl}"); + System.Diagnostics.Debug.WriteLine($"[登录请求] URL: {url}"); System.Diagnostics.Debug.WriteLine($"[登录请求] 用户名: {userName}"); System.Diagnostics.Debug.WriteLine($"[登录请求] 验证码: {captcha}"); System.Diagnostics.Debug.WriteLine($"[登录请求] 验证码Key: {captchaKey}"); - System.Diagnostics.Debug.WriteLine($"[登录请求] 子域名: {AppConfig.SubDomain}"); + if (useOperator) + System.Diagnostics.Debug.WriteLine($"[登录请求] 商户ID: {AppConfig.MerchantId}"); + else + System.Diagnostics.Debug.WriteLine($"[登录请求] 子域名: {AppConfig.SubDomain}"); + var cookieCount = _httpClientHandler.CookieContainer.GetCookies(new Uri(AuthHost)).Count; + System.Diagnostics.Debug.WriteLine($"[登录请求] 当前会话Cookie数量: {cookieCount}"); - var response = await _httpClient.PostAsync(url, null); + var content = new FormUrlEncodedContent(form); + var response = await _httpClient.PostAsync(url, content); var json = await response.Content.ReadAsStringAsync(); // 详细日志:API响应 @@ -73,6 +124,10 @@ namespace PackagingMallShipper.Services if (result?.Code != 0) { System.Diagnostics.Debug.WriteLine($"[登录失败] 错误码: {result?.Code}, 错误信息: {result?.Msg}"); + if (result?.Code == 300) + { + System.Diagnostics.Debug.WriteLine("[登录失败] 服务端判定为验证码错误,重点核对验证码会话(Cookie)、验证码Key、输入值"); + } return new LoginResult { diff --git a/PackagingMallShipper/Services/Interfaces.cs b/PackagingMallShipper/Services/Interfaces.cs index 52932d4..344e24b 100644 --- a/PackagingMallShipper/Services/Interfaces.cs +++ b/PackagingMallShipper/Services/Interfaces.cs @@ -10,6 +10,7 @@ namespace PackagingMallShipper.Services { Task LoginAsync(string userName, string password, string captcha = null, string captchaKey = null); string GetCaptchaUrl(string key); + Task GetCaptchaImageAsync(string key); string GetToken(); bool IsLoggedIn { get; } LocalSession CurrentSession { get; } diff --git a/PackagingMallShipper/ViewModels/LoginViewModel.cs b/PackagingMallShipper/ViewModels/LoginViewModel.cs index e11cde1..bfc77ec 100644 --- a/PackagingMallShipper/ViewModels/LoginViewModel.cs +++ b/PackagingMallShipper/ViewModels/LoginViewModel.cs @@ -2,6 +2,7 @@ using System; using System.Threading.Tasks; using System.Windows; using System.Windows.Media.Imaging; +using System.IO; using CommunityToolkit.Mvvm.ComponentModel; using CommunityToolkit.Mvvm.Input; using PackagingMallShipper.Services; @@ -43,21 +44,34 @@ namespace PackagingMallShipper.ViewModels // 子账号登录必须提供验证码,默认显示 ShowCaptcha = true; - RefreshCaptcha(); + _ = RefreshCaptchaAsync(); } [RelayCommand] - public void RefreshCaptcha() + public async Task RefreshCaptchaAsync() { - _captchaKey = Guid.NewGuid().ToString("N"); - var url = _authService.GetCaptchaUrl(_captchaKey); + try + { + // 采用 JS Math.random 风格 0.xxx 作为 k,与服务端示例一致 + var rnd = new Random(); + _captchaKey = "0." + rnd.NextDouble().ToString("F18", System.Globalization.CultureInfo.InvariantCulture).Split('.')[1]; + var imageBytes = await _authService.GetCaptchaImageAsync(_captchaKey); - CaptchaImageSource = new BitmapImage(); - CaptchaImageSource.BeginInit(); - CaptchaImageSource.UriSource = new Uri(url); - CaptchaImageSource.CacheOption = BitmapCacheOption.None; - CaptchaImageSource.CreateOptions = BitmapCreateOptions.IgnoreImageCache; - CaptchaImageSource.EndInit(); + using (var ms = new MemoryStream(imageBytes)) + { + var bitmap = new BitmapImage(); + bitmap.BeginInit(); + bitmap.CacheOption = BitmapCacheOption.OnLoad; + bitmap.StreamSource = ms; + bitmap.EndInit(); + bitmap.Freeze(); + CaptchaImageSource = bitmap; + } + } + catch (Exception ex) + { + ErrorMessage = $"验证码加载失败: {ex.Message}"; + } } [RelayCommand] @@ -86,10 +100,12 @@ namespace PackagingMallShipper.ViewModels try { + var normalizedCaptcha = (Captcha ?? string.Empty).Trim().Replace(" ", string.Empty); + var result = await _authService.LoginAsync( UserName, Password, - ShowCaptcha ? Captcha : null, + ShowCaptcha ? normalizedCaptcha : null, ShowCaptcha ? _captchaKey : null ); @@ -109,13 +125,13 @@ namespace PackagingMallShipper.ViewModels if (result.RequireCaptcha && !ShowCaptcha) { ShowCaptcha = true; - RefreshCaptcha(); + await RefreshCaptchaAsync(); } else if (ShowCaptcha) { // 验证码错误,刷新验证码 Captcha = ""; - RefreshCaptcha(); + await RefreshCaptchaAsync(); } } } diff --git a/PackagingMallShipper/Views/LoginWindow.xaml b/PackagingMallShipper/Views/LoginWindow.xaml index 750c6c2..3b7ae8a 100644 --- a/PackagingMallShipper/Views/LoginWindow.xaml +++ b/PackagingMallShipper/Views/LoginWindow.xaml @@ -50,6 +50,8 @@ diff --git a/README.md b/README.md index 701f035..ac5c78a 100644 --- a/README.md +++ b/README.md @@ -63,13 +63,17 @@ bin/Release/net462/PackagingMallShipper.exe - + + + ``` +> 登录采用 `http://common.apifm.com/loginAdmin/operator/v2` 商户号子账号登录接口;`MerchantId` 未配置时回退至 `https://user.api.it120.cc/login/userName/v2` 的 `pdomain` 登录方式。 + ## 数据存储 本地数据库位置:`%LOCALAPPDATA%\PackagingMallShipper\data.db` @@ -102,4 +106,6 @@ PackagingMallShipper/ ## 相关文档 -- [技术方案文档](../enterprise-management/docs/轻量级订单发货客户端方案.md) +- [技术方案文档](./轻量级订单发货客户端方案.md) +- [后台接口文档](./后台接口.md) +- [安装包构建说明](./BUILD_INSTALLER.md) diff --git a/create_sfx.bat b/create_sfx.bat deleted file mode 100644 index 4994282..0000000 --- a/create_sfx.bat +++ /dev/null @@ -1,48 +0,0 @@ -@echo off -chcp 65001 >nul -echo ======================================== -echo 创建 7z 自解压安装包 -echo ======================================== -echo. - -set "SEVENZIP=C:\Program Files\7-Zip\7z.exe" - -if not exist "%SEVENZIP%" ( - echo [错误] 未找到 7-Zip - pause - exit /b 1 -) - -:: 创建临时 7z 包 -echo [1/3] 创建压缩包... -"%SEVENZIP%" a -t7z -mx=9 "installer\app.7z" ".\publish\*" -r - -:: 检查 SFX 模块 -set "SFX_MODULE=C:\Program Files\7-Zip\7zSD.sfx" -if not exist "%SFX_MODULE%" ( - echo. - echo [提示] 7zSD.sfx 模块不存在,将创建普通压缩包 - echo. - move "installer\app.7z" "installer\PackagingMallShipper_v1.0.0.7z" - echo [完成] 已创建: installer\PackagingMallShipper_v1.0.0.7z - goto :end -) - -:: 合并为自解压 EXE -echo [2/3] 创建自解压程序... -copy /b "%SFX_MODULE%" + "sfx_config.txt" + "installer\app.7z" "installer\PackagingMallShipper_SFX_v1.0.0.exe" - -:: 清理临时文件 -echo [3/3] 清理临时文件... -del "installer\app.7z" - -echo. -echo ======================================== -echo [成功] 自解压安装包已创建! -echo. -echo 位置: installer\PackagingMallShipper_SFX_v1.0.0.exe -echo ======================================== - -:end -echo. -pause diff --git a/setup.iss b/setup.iss index 70ff371..51e79bb 100644 --- a/setup.iss +++ b/setup.iss @@ -1,8 +1,8 @@ -; Inno Setup Script for 包装商城发货助手 +; Inno Setup Script for 包装商城发货助手 ; Requires Inno Setup 6.x #define MyAppName "包装商城发货助手" -#define MyAppVersion "1.0.1" +#define MyAppVersion "1.0.2" #define MyAppPublisher "PackagingMall" #define MyAppExeName "PackagingMallShipper.exe" @@ -131,4 +131,4 @@ begin end; end; end; -end; +end; \ No newline at end of file diff --git a/sfx_config.txt b/sfx_config.txt deleted file mode 100644 index f141a09..0000000 --- a/sfx_config.txt +++ /dev/null @@ -1,5 +0,0 @@ -;!@Install@!UTF-8! -Title="包装商城发货助手 v1.0.0" -BeginPrompt="是否安装 包装商城发货助手?" -RunProgram="PackagingMallShipper.exe" -;!@InstallEnd@! diff --git a/产品.md b/产品.md deleted file mode 100644 index cddc111..0000000 --- a/产品.md +++ /dev/null @@ -1,76 +0,0 @@ -# 成都邮电鸡蛋托套装报价表(2025-12-28) - -> 备注: -> 1. 开具 13% 的增值税专票; -> 2. 四川范围内 9.6 m 以上车送货,送货费 20–40 元/方,包卸货; -> 3. 纸箱为高标准配置,高于网上常规配置; -> 4. 网络店铺可搜索淘宝第一名:捷合农产品包装。 - ---- - -## 一、主表(按套装规格) - -| 序号 | 产品系列 | 产品名称 | 货品编号 | 放置方式 | 蛋托+盖板厚度(mm) | 孔径尺寸(mm) | 纸箱尺寸(mm) | 适用蛋型 | 打包数量(套) | 自提开票(元/套) | 快递开票(元/套) | 网上头部店铺价(不含票) | 包价格(元/箱) | -|----|-----------|-----------------------------|--------------------------------------------------------------|------------|------------------|--------------|--------------|----------|--------------|----------------|----------------|----------------------|--------------| -| 1 | 20 枚竖大 | 20 枚竖大鸡蛋托+纸箱(12 套) | 1222003×12+13222003×24+1322003×12+0000000×12 | 竖放不粘底 | 10+60+10 | 35–45 | 285×233×91 | 大鸡蛋 | 12 | 2.5157 | 3.2407 | — | 38.8880 | -| 2 | 30 枚竖中 | 30 枚竖中鸡蛋托+纸箱(12 套) | 1223001×12+1323001×12+13223001×24+0000000×12 | 竖放不粘底 | 10+58+10 | 36–41 | 312×264×91 | 中小鸡蛋 | 12 | 3.2625 | 3.9875 | 5.9 | 47.8499 | -| 3 | 30 枚竖中彩箱 | 30 枚竖中彩箱(6 套) | 1223004×6+1323001×6+13223001×12+0000000×6 | 竖放不粘底 | 15+65+15 | 36–41 | 310×260×110 | 中小鸡蛋 | 6 | 4.43 | 5.88 | — | 35.28 | -| 4 | 加厚 30 枚竖中 | 加厚 30 枚竖中(6 套) | 122300101×6+13200101×6+1322300101×12+0000000×6 | 竖放不粘底 | 10+58+10 | 36–41 | 312×264×91 | 中小鸡蛋 | 6 | 4.0517 | 5.835 | — | 35.01 | -| 5 | 30 枚横中 | 30 枚横中鸡蛋托+纸箱(10 套) | 1223002×10+1323002×10+13223002×10+0000000×10 | 横放粘底 | 10+46+10 | 42–65 | 338×288×79 | 中偏大 | 10 | 3.3471 | 4.5571 | 7.4 | 45.5709 | -| 6 | 30 枚竖大上开口 | 30 枚竖大上开口箱(8 套) | 1323003×8+13223003×16+1223005×8+0000000×8 | 竖放不粘底 | 10+60+10 | 35–45 | 340×280×90 | 大鸡蛋 | 8 | 3.8663 | 4.9538 | — | 39.63 | -| 7 | 30 枚竖大 | 30 枚竖大鸡蛋托+纸箱(10 套) | 1323003×10+13223003×20+1223003×10+0000000×10 | 竖放不粘底 | 10+60+10 | 35–45 | 335×285×91 | 大鸡蛋 | 10 | 3.3492 | 4.2192 | 6 | 42.1918 | -| 8 | 40 枚竖大 | 40 枚竖大鸡蛋托+纸箱(8 套) | 1322003×16+13222003×24+1224003×8+0000000×8 | 竖放不粘底 | (10+60)×2+10 | 35–45 | 285×233×165 | 大鸡蛋 | 8 | 4.0375 | 5.125 | — | 41.00 | -| 9 | 50 枚竖中 | 50 枚竖中鸡蛋托+纸箱(6 套) | 1225001×6+1322501×12+13222501×18+0000000×6 | 竖放不粘底 | (10+57)×2+10 | 36–41 | 262×262×155 | 中小鸡蛋 | 6 | 4.4548 | 5.9048 | 8.5 | 35.4287 | -|10 | 50 枚横中 | 50 枚横中鸡蛋托+纸箱(6 套) | 1225002×6+1322502×12+13222502×6+0000000×6 | 横放粘底 | (10+46)×2+10 | 42–65 | 288×288×135 | 中偏大 | 6 | 4.81 | 6.8267 | 5.5 | 40.96 | -|11 | 50 枚竖大 | 50 枚竖大鸡蛋托+纸箱(6 套) | 1322503×12+13222503×18+0000000×6+1225003×6 | 竖放不粘底 | (10+60)×2+10 | 35–45 | 285×285×162 | 大鸡蛋 | 6 | 5.0206 | 6.4706 | 10.5 | 38.8238 | -|12 | 60 枚竖中 | 60 枚竖中鸡蛋托+纸箱(6 套) | 1226001×6+1323001×12+13223001×18+0000000×6 | 竖放不粘底 | (10+58)×2+10 | 36–41 | 312×262×159 | 中小鸡蛋 | 6 | 4.8707 | 6.3541 | 9.5 | 38.1243 | -|13 | 60 枚横中 | 60 枚横中鸡蛋托+纸箱(5 套) | 1226002×5+1323002×10+13223002×5+0000000×5 | 横放粘底 | (10+46)×2+10 | 42–65 | 338×288×135 | 中偏大 | 5 | 5.4791 | 7.2591 | 11.5 | 36.2957 | -|14 | 60 枚竖大 | 60 枚竖大鸡蛋托+纸箱(6 套) | 1323003×12+13223003×18+1226003×6+0000000×6 | 竖放不粘底 | (10+60)×2+10 | 45 | 335×285×165 | 大鸡蛋 | 6 | 5.5683 | 7.0183 | — | 42.11 | -|15 |100 枚竖中 |100 枚竖中鸡蛋托+纸箱(4 套) |12210001×4+1322501×16+13222501×20+0000000×4 | 竖放不粘底 | (10+57)×4+10 | 36–41 | 262×262×291 | 中小鸡蛋 | 4 | 7.2902 | 9.4652 | 14.5 | 37.8609 | -|16 |100 枚横中 |100 枚横中鸡蛋托+纸箱(4 套) |12210002×4+1322502×16+13222502×4+0000000×4 | 横放粘底 | (10+46)×4+10 | 42–65 | 288×288×247 | 中偏大 | 4 | 7.925 | 10.95 | 14.5 | 43.8 | -|17 |100 枚竖大 |100 枚竖大鸡蛋托+纸箱(4 套) |1322503×16+13222503×20+0000000×4+12210003×4 | 竖放不粘底 | (10+60)×4+10 | 45 | 285×285×302 | 大鸡蛋 | 4 | 8.3210 | 10.4960 | 16.5 | 41.9839 | - ---- - -### 皮蛋/鸭蛋系列 - -| 类别 | 产品名称 | 货品编号 | 放置方式 | 厚度(mm) | 孔径(mm) | 纸箱尺寸(mm) | 适用规格 | 套/箱 | 自提开票(元/套) | 快递开票(元/套) | 包价格(元/箱) | -|------|----------|--------------------------------------------------------|----------|-----------|----------|---------------|----------|--------|------------------|------------------|----------------| -| 皮蛋 | 20 枚皮蛋托+纸箱(6 套) | 232001×6+332001×6 | 竖放 | 10+70+10 | 55 | 340×275×105 | 大皮蛋 | 6 | 4.15 | 6.1667 | 37.00 | -| 皮蛋 | 30 枚皮蛋托+纸箱(5 套) | 233001×5+333001×5 | 竖放 | (10+70)+10 | 52 | 320×195×185 | 中皮蛋 | 5 | 4.52 | 6.4 | 32.00 | -| 皮蛋 | 40 枚皮蛋托+纸箱(3 套) | 234001×3+332001×6 | 竖放 | (10+70)+10 | 55 | 340×280×195 | 大皮蛋 | 3 | 6.8667 | 10 | 30.00 | -| 鸭蛋 | 20 枚鸭蛋托+纸箱(6 套) | S322001×6+S232001×6 | 竖放 | 10+65+10 | 45 | 285×235×106 | 大中鸭蛋 | 6 | 3.4683 | 4.9183 | 29.51 | -| 鸭蛋 | 30 枚鸭蛋托+纸箱(6 套) | S321501×12+S233001×6 | 竖放 | (10+65)×2+10 | 45 | 285×180×185 | 大中鸭蛋 | 6 | 4.5580 | 6.0080 | 36.0478 | -| 鸭蛋 | 40 枚鸭蛋托+纸箱(5 套) | S322001×10+S234001×5 | 竖放 | (10+65)×2+10 | 45 | 286×246×195 | 大中鸭蛋 | 5 | 5.9099 | 7.6499 | 38.2493 | - ---- - -## 二、速查价目表(Sheet3 精简版) - -| 货品名称 | 货品编号 | 套/箱 | 自提开票(元/套) | 快递开票(元/套) | 包开票(元/箱) | -|----------|--------------------------------------------------------|--------|------------------|------------------|----------------| -| 20 枚鸡蛋托大套装 12 套竖不粘底 | 1222003×12+13222003×24+1322003×12+0000000×12 | 12 | 2.5157 | 3.2407 | 38.8880 | -| 30 枚鸡蛋托中套装 12 套竖不粘底 | 1223001×12+1323001×12+13223001×24+0000000×12 | 12 | 3.2625 | 3.9875 | 47.8499 | -| 加厚 30 枚鸡蛋托中套装 6 套竖不粘底 | 122300101×6+13200101×6+1322300101×12+0000000×6 | 6 | 4.0517 | 5.835 | 35.01 | -| 30 枚鸡蛋托大套装 10 套横粘底 | 1223002×10+1323002×10+13223002×10+0000000×10 | 10 | 3.3471 | 4.5571 | 45.5709 | -| 30 枚鸡蛋托大套装 10 套竖不粘底 | 1323003×10+13223003×20+1223003×10+0000000×10 | 10 | 3.3492 | 4.2192 | 42.1918 | -| 30 枚鸡蛋托大套装 8 套竖不粘底(上开口箱) | 1323003×8+13223003×16+1223005×8+0000000×8 | 8 | 3.8663 | 4.9538 | 39.63 | -| 30 枚鸡蛋托中套装 6 套竖不粘底彩箱 | 1223004×6+1323001×6+13223001×12+0000000×6 | 6 | 4.43 | 5.88 | 35.28 | -| 40 枚鸡蛋托大套装 8 套竖不粘底 | 1322003×16+13222003×24+1224003×8+0000000×8 | 8 | 4.0375 | 5.125 | 41.00 | -| 50 枚鸡蛋托中套装 6 套竖不粘底 | 1225001×6+1322501×12+13222501×18+0000000×6 | 6 | 4.4548 | 5.9048 | 35.4287 | -| 50 枚鸡蛋托大套装 6 套横粘底 | 1225002×6+1322502×12+13222502×6+0000000×6 | 6 | 4.81 | 6.8267 | 40.96 | -| 50 枚鸡蛋托大套装 6 套竖不粘底 | 1322503×12+13222503×18+0000000×6+1225003×6 | 6 | 5.0206 | 6.4706 | 38.8238 | -| 60 枚鸡蛋托中套装 6 套竖不粘底 | 1226001×6+1323001×12+13223001×18+0000000×6 | 6 | 4.8707 | 6.3541 | 38.1243 | -| 60 枚鸡蛋托大套装 5 套横粘底 | 1226002×5+1323002×10+13223002×5+0000000×5 | 5 | 5.4791 | 7.2591 | 36.2957 | -| 60 枚鸡蛋托大套装 6 套竖不粘底 | 1323003×12+13223003×18+1226003×6+0000000×6 | 6 | 5.5683 | 7.0183 | 42.11 | -| 100 枚鸡蛋托中套装 4 套竖不粘底 | 12210001×4+1322501×16+13222501×20+0000000×4 | 4 | 7.2902 | 9.4652 | 37.8609 | -| 100 枚鸡蛋托大套装 4 套横粘底 | 12210002×4+1322502×16+13222502×4+0000000×4 | 4 | 7.925 | 10.95 | 43.8 | -| 100 枚鸡蛋托大套装 4 套竖不粘底 | 1322503×16+13222503×20+0000000×4+12210003×4 | 4 | 8.3210 | 10.4960 | 41.9839 | -| 12 枚大鹅蛋对扣+纸箱(6 套) | 431203×12+12431201×6+0000000×6 | 6 | 4.5367 | 5.9867 | 35.92 | -| 12 枚大鹅蛋盖板托+纸箱(6 套) | 431201×6+431202×12+12431201×6+0000000×6 | 6 | 4.3233 | 5.7733 | 34.64 | -| 20 枚皮蛋托+纸箱 6 套 | 232001×6+332001×6 | 6 | 4.15 | 6.1667 | 37.00 | -| 30 枚皮蛋托+纸箱 5 套 | 233001×5+333001×5 | 5 | 4.52 | 6.4 | 32.00 | -| 40 枚皮蛋托+纸箱 3 套 | 234001×3+332001×6 | 3 | 6.8667 | 10 | 30.00 | -| 20 枚鸭蛋托+纸箱 6 套 | S322001×6+S232001×6 | 6 | 3.4683 | 4.9183 | 29.51 | -| 30 枚鸭蛋托+纸箱 6 套 | S321501×12+S233001×6 | 6 | 4.5580 | 6.0080 | 36.0478 | -| 40 枚鸭蛋托+纸箱 5 套 | S322001×10+S234001×5 | 5 | 5.9099 | 7.6499 | 38.2493 | \ No newline at end of file diff --git a/后台_接口API.json b/后台_接口API.json deleted file mode 100644 index 245332b..0000000 --- a/后台_接口API.json +++ /dev/null @@ -1,68637 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "description": "后台接口文档", - "version": "1.0.0", - "title": "后台接口列表", - "contact": { - "name": "gooking", - "url": "https://www.it120.cc/", - "email": "javazj@qq.com" - } - }, - "host": "172.19.1.157", - "basePath": "/", - "tags": [ - { - "name": "APP相关接口", - "description": "App Cid Controller" - }, - { - "name": "CMS模块", - "description": "Api Ext Friendly Partner Controller" - }, - { - "name": "CPS", - "description": "Cps Taobao Controller" - }, - { - "name": "IoT设备", - "description": "Shop Iot Controller" - }, - { - "name": "QQ小程序", - "description": "Center User Set Qq Controller" - }, - { - "name": "mockApi", - "description": "v1" - }, - { - "name": "上传文件管理", - "description": "Dfs Category Controller" - }, - { - "name": "仓储管理", - "description": "Ck Info Controller" - }, - { - "name": "代理商模块", - "description": "Center User Cash Controller" - }, - { - "name": "企业微信", - "description": "Qw Apps Controller" - }, - { - "name": "会员卡", - "description": "Card User Controller" - }, - { - "name": "分销管理", - "description": "Sale Distribution Team Controller" - }, - { - "name": "商城模块", - "description": "Virtual Trader Buy Log Controller" - }, - { - "name": "国际化", - "description": "Lang Content Controller" - }, - { - "name": "图形验证码", - "description": "v1" - }, - { - "name": "图片交易", - "description": "Photo Price Controller" - }, - { - "name": "在线支付", - "description": "Online Pay Setting Controller" - }, - { - "name": "头条小程序", - "description": "Center User Set Tt Controller" - }, - { - "name": "字节跳动", - "description": "Center User Set Tt Controller" - }, - { - "name": "定制开发", - "description": "Yhc Certificate Controller" - }, - { - "name": "工作流备忘录", - "description": "Remark Controller" - }, - { - "name": "工厂设置", - "description": "v1" - }, - { - "name": "工时登记", - "description": "Working Hours Project Controller" - }, - { - "name": "微信小程序", - "description": "Wx Live Vedio Controller" - }, - { - "name": "微信服务商", - "description": "Wxopenapp List Controller" - }, - { - "name": "微信相关", - "description": "Wx Auto Reply Controller" - }, - { - "name": "微信视频号", - "description": "Shipinhao Controller" - }, - { - "name": "快跑者配送", - "description": "Center User Set Keloop Controller" - }, - { - "name": "快递物流", - "description": "Penyuan Guoji Controller" - }, - { - "name": "打印机", - "description": "v1" - }, - { - "name": "扫码点餐", - "description": "Cy Table Controller" - }, - { - "name": "投票模块", - "description": "Vote Join Controller" - }, - { - "name": "拼团模块", - "description": "Pingtuan Multilevel Controller" - }, - { - "name": "排队叫号", - "description": "v1" - }, - { - "name": "接龙", - "description": "Listing Info Controller" - }, - { - "name": "插件管理", - "description": "v1" - }, - { - "name": "支付宝小程序", - "description": "v1" - }, - { - "name": "收藏卡片", - "description": "Collect Card His Controller" - }, - { - "name": "数据统计", - "description": "v1" - }, - { - "name": "旅游 & 旅行", - "description": "Tour Journey Controller" - }, - { - "name": "旧物回收", - "description": "Recycle Order Controller" - }, - { - "name": "智能硬件", - "description": "v1" - }, - { - "name": "活动&工具", - "description": "Lucky Info Controller" - }, - { - "name": "流媒体", - "description": "Live Rooms Controller" - }, - { - "name": "消息提醒[订单等数据变化时提醒]", - "description": "Remind Controller" - }, - { - "name": "物品寄存", - "description": "Jicun Goods Controller" - }, - { - "name": "用户管理", - "description": "User Welfare Controller" - }, - { - "name": "电子面单", - "description": "Express Account Controller" - }, - { - "name": "登录及授权", - "description": "Forget Password Controller" - }, - { - "name": "砍价模块", - "description": "Kanjia Joiner Controller" - }, - { - "name": "积分模块", - "description": "User Score Send Rule Controller" - }, - { - "name": "站点信息", - "description": "Center User Cash Log Controller" - }, - { - "name": "管理员财务模块", - "description": "Admin Cash Log Controller" - }, - { - "name": "红包优惠券", - "description": "Ext Discounts Coupon User Controller" - }, - { - "name": "组织&成员&网盘", - "description": "Organize Pan Setting Controller" - }, - { - "name": "订单模块", - "description": "Order Refund Apply Controller" - }, - { - "name": "设置类接口", - "description": "Api Ext Config Controller" - }, - { - "name": "财务相关", - "description": "Alipay Transfer Controller" - }, - { - "name": "资源包管理", - "description": "Center User Resource Bundle Controller" - }, - { - "name": "进销存", - "description": "Purchase Order Controller" - }, - { - "name": "配送模块", - "description": "Peisong Member Controller" - }, - { - "name": "金蝶云", - "description": "Jdy Set Controller" - }, - { - "name": "门店财务模块", - "description": "Shop Cash Controller" - }, - { - "name": "预约报名", - "description": "Yuyue Join Controller" - } - ], - "paths": { - "/apis/list": { - "post": { - "tags": [ - "工厂设置" - ], - "summary": "获取所有工厂模块列表", - "operationId": "listUsingPOST_32", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "groupName", - "description": "接口分组", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isShow", - "description": "是否显示所有模块(否则同一个分组仅展示一个模块)", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "nameLike", - "in": "query", - "description": "关键词", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/buy/centerUserApi/getPayData": { - "post": { - "tags": [ - "工厂设置" - ], - "summary": "获得购买模块套餐信息", - "description": "userId 和 mobile 只要传一个即可", - "operationId": "topayUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "apiPriceId", - "in": "query", - "description": "模块所对应的套餐ID", - "required": true, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "商户手机号码", - "required": false, - "type": "string" - }, - { - "name": "payType", - "in": "query", - "description": "alipay wx", - "required": false, - "type": "string" - }, - { - "name": "userId", - "in": "query", - "description": "商户编号", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/buy/mqtt/getPayData": { - "post": { - "tags": [ - "工厂设置" - ], - "summary": "获得购买MQTT信息", - "description": "userId 和 mobile 只要传一个即可", - "operationId": "getPayDataUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "payType", - "in": "query", - "description": "alipay wx", - "required": false, - "type": "string" - }, - { - "name": "type", - "in": "query", - "description": "month year", - "required": false, - "type": "string" - }, - { - "name": "username", - "in": "query", - "description": "MQTT账号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/buy/plugin/deposit": { - "post": { - "tags": [ - "插件管理" - ], - "summary": "使用当前登录商户的余额给指定的商户开通插件", - "operationId": "depositUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "type", - "in": "query", - "description": "0 移动客服;1小程序购物单; 2vip ; 3 三级分销;4 支付宝半自动 5 钉钉 提醒 6 工作流备忘录 7又拍云 8押金管理", - "required": true, - "type": "string" - }, - { - "name": "userId", - "in": "query", - "description": "商户编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/buy/plugin/getPayData": { - "post": { - "tags": [ - "插件管理" - ], - "summary": "获得购买插件信息", - "operationId": "getPayDataUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "mobile", - "in": "query", - "description": "商户手机号码", - "required": false, - "type": "string" - }, - { - "name": "payType", - "in": "query", - "description": "alipay wx", - "required": false, - "type": "string" - }, - { - "name": "type", - "in": "query", - "description": "0 移动客服;1小程序购物单; 2vip ; 3 三级分销;4 支付宝半自动 5 钉钉 提醒 6 工作流备忘录 7又拍云 8押金管理", - "required": true, - "type": "string" - }, - { - "name": "userId", - "in": "query", - "description": "商户编号", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/code": { - "get": { - "tags": [ - "图形验证码" - ], - "summary": "获取验证码", - "description": "直接返回的是图片,可直接在页面 img 标签显示", - "operationId": "codeUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "k", - "in": "query", - "description": "随机数", - "required": true, - "type": "string", - "default": "0.197628373947345873" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/express/pygjsd/depots": { - "get": { - "tags": [ - "快递物流" - ], - "summary": "鹏远国际速递获取门店列表", - "operationId": "depotsUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/express/pygjsd/leiBie": { - "get": { - "tags": [ - "快递物流" - ], - "summary": "鹏远国际速递获取物品类别", - "operationId": "leiBieUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/express/pygjsd/region": { - "get": { - "tags": [ - "快递物流" - ], - "summary": "鹏远国际速递获取省份城市信息", - "operationId": "regionUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/express/pygjsd/routes": { - "get": { - "tags": [ - "快递物流" - ], - "summary": "鹏远国际速递获取线路列表", - "operationId": "routesUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/forgetPassword/resetPwd": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "重置新密码", - "operationId": "saveUsingPOST_57", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "mobile", - "in": "query", - "description": "手机号码", - "required": true, - "type": "string" - }, - { - "name": "pwd", - "in": "query", - "description": "新密码", - "required": true, - "type": "string" - }, - { - "name": "smsCode", - "in": "query", - "description": "短信验证码", - "required": true, - "type": "string" - }, - { - "name": "type", - "in": "query", - "description": "不传为 apifm", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/forgetPassword/smscode": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "忘记密码发送短信验证码", - "operationId": "smscodeUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "code", - "in": "query", - "description": "图形验证码", - "required": true, - "type": "string" - }, - { - "name": "k", - "in": "query", - "description": "验证码随机数", - "required": true, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "手机号码", - "required": true, - "type": "string" - }, - { - "name": "type", - "in": "query", - "description": "不传为 apifm", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/login/email": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "邮箱登录", - "operationId": "emailUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "email", - "in": "query", - "description": "电子邮箱", - "required": true, - "type": "string" - }, - { - "name": "imgcode", - "in": "query", - "description": "图形验证码", - "required": true, - "type": "string" - }, - { - "name": "k", - "in": "query", - "description": "验证码随机数", - "required": true, - "type": "string" - }, - { - "name": "pwd", - "in": "query", - "description": "登录密码", - "required": true, - "type": "string" - }, - { - "name": "rememberMe", - "in": "query", - "description": "是否记住密码", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/login/exit": { - "get": { - "tags": [ - "登录及授权" - ], - "summary": "退出登录", - "operationId": "exitUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - }, - { - "name": "token", - "in": "query", - "description": "token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/login/mobile/v2": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "手机号码登录", - "description": "前5次登陆如果没传验证码,忽略验证码验证,一小时内连续错误5次以后,必须要提供验证码", - "operationId": "mobileV2UsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "imgcode", - "in": "query", - "description": "图形验证码", - "required": false, - "type": "string" - }, - { - "name": "k", - "in": "query", - "description": "验证码随机数", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "手机号码", - "required": true, - "type": "string" - }, - { - "name": "pwd", - "in": "query", - "description": "登录密码", - "required": true, - "type": "string" - }, - { - "name": "rememberMe", - "in": "query", - "description": "是否记住密码", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/login/operator/v2": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "子账号登录[商户号]", - "description": "前5次登陆如果没传验证码,忽略验证码验证,一小时内连续错误5次以后,必须要提供验证码", - "operationId": "loginCheckOperatorV2UsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "imgcode", - "in": "query", - "description": "图形验证码", - "required": false, - "type": "string" - }, - { - "name": "k", - "in": "query", - "description": "验证码随机数", - "required": false, - "type": "string" - }, - { - "name": "merchantId", - "in": "query", - "description": "商户编号", - "required": true, - "type": "string" - }, - { - "name": "pwd", - "in": "query", - "description": "登录密码", - "required": true, - "type": "string" - }, - { - "name": "rememberMe", - "in": "query", - "description": "是否记住密码", - "required": false, - "type": "string" - }, - { - "name": "userName", - "in": "query", - "description": "用户名", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/login/shop": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "门店登陆接口", - "description": "使用门店管理里面的用户名和密码进行登陆", - "operationId": "shopUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "appid", - "in": "query", - "description": "对应小程序的appID; 如果传了,登陆以后绑定openid,后续可实现自动登陆", - "required": false, - "type": "string" - }, - { - "name": "code", - "in": "query", - "description": "小程序login接口获取到的临时凭证 code;如果传了,登陆以后绑定openid,后续可实现自动登陆", - "required": false, - "type": "string" - }, - { - "name": "pdomain", - "in": "query", - "description": "专属域名", - "required": true, - "type": "string" - }, - { - "name": "pwd", - "in": "query", - "description": "登录密码", - "required": true, - "type": "string" - }, - { - "name": "username", - "in": "query", - "description": "用户名", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/login/token": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "通过前端用户的token换取X-TOKEN", - "operationId": "tokenUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "管理员ID,可以指定换取某个管理员,不传该参数会返回所有管理员列表", - "required": false, - "type": "string" - }, - { - "name": "token", - "in": "query", - "description": "前端用户登陆的token", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/login/userName/v2": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "子账号登录[域名]", - "description": "该接口会优先判断手机号码登录,如果满足直接登录成功,其次才会尝试子账号登录", - "operationId": "loginCheckUserNameV2UsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "imgcode", - "in": "query", - "description": "图形验证码", - "required": true, - "type": "string" - }, - { - "name": "k", - "in": "query", - "description": "验证码随机数", - "required": true, - "type": "string" - }, - { - "name": "pdomain", - "in": "query", - "description": "专属域名", - "required": true, - "type": "string" - }, - { - "name": "pwd", - "in": "query", - "description": "登录密码", - "required": true, - "type": "string" - }, - { - "name": "rememberMe", - "in": "query", - "description": "是否记住密码", - "required": false, - "type": "string" - }, - { - "name": "userName", - "in": "query", - "description": "用户名", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/register/mailcode": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "注册获取邮箱验证码", - "operationId": "mailcodeUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "email", - "in": "query", - "description": "电子邮箱", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/register/save": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "注册保存【手机方式】", - "operationId": "saveUsingPOST_94", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "mobile", - "in": "query", - "description": "手机号码", - "required": true, - "type": "string" - }, - { - "name": "name", - "in": "query", - "description": "姓名/昵称", - "required": true, - "type": "string" - }, - { - "name": "pwd", - "in": "query", - "description": "登录密码", - "required": true, - "type": "string" - }, - { - "name": "referrer", - "in": "query", - "description": "推荐人用户ID", - "required": false, - "type": "string" - }, - { - "name": "smsCode", - "in": "query", - "description": "短信验证码", - "required": true, - "type": "string" - }, - { - "name": "type", - "in": "query", - "description": "不传为 apifm", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/register/save/email": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "注册保存【邮箱方式】", - "operationId": "saveUsingPOST_95", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "email", - "in": "query", - "description": "邮箱", - "required": true, - "type": "string" - }, - { - "name": "mailCode", - "in": "query", - "description": "邮箱验证码", - "required": true, - "type": "string" - }, - { - "name": "name", - "in": "query", - "description": "姓名/昵称", - "required": true, - "type": "string" - }, - { - "name": "pwd", - "in": "query", - "description": "登录密码", - "required": true, - "type": "string" - }, - { - "name": "referrer", - "in": "query", - "description": "推荐人用户ID", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/register/smscode": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "注册获取短信验证码", - "operationId": "smscodeUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "code", - "in": "query", - "description": "图形验证码", - "required": true, - "type": "string" - }, - { - "name": "k", - "in": "query", - "description": "验证码随机数", - "required": true, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "手机号码", - "required": true, - "type": "string" - }, - { - "name": "type", - "in": "query", - "description": "不传为 apifm", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/smsTemplate/list": { - "get": { - "tags": [ - "工厂设置" - ], - "summary": "短信模版列表", - "operationId": "listUsingGET_29", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/activityVoteInfo/del": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "删除投票活动", - "operationId": "delUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "抽奖项目ID, 多个项目用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/activityVoteInfo/info": { - "get": { - "tags": [ - "活动&工具" - ], - "summary": "投票活动详情", - "operationId": "infoUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "抽奖id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/activityVoteInfo/joinList": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "投票活动获取参与列表", - "operationId": "joinListUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "activityId", - "description": "活动id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "参与记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "titleLike", - "in": "query", - "description": "名称", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/activityVoteInfo/list": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "投票活动列表", - "operationId": "listUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "活动id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "titleLike", - "in": "query", - "description": "名称", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/activityVoteInfo/save": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "投票活动添加/修改", - "operationId": "saveUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "详情", - "required": false, - "type": "string" - }, - { - "name": "dateEndStr", - "in": "query", - "description": "结束日期,格式: 2019-05-23", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pic", - "description": "封面图片", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "title", - "description": "标题", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/activityVoteInfo/scoreToVotes": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "投票活动设置积分换投票数", - "description": "使用多少积分可以兑换多少投票数,用于票数用完的场景", - "operationId": "scoreToVotesUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "activityId", - "in": "query", - "description": "活动id", - "required": true, - "type": "string" - }, - { - "name": "content", - "in": "query", - "description": "不传改参数为读取现有的设置项,传了该参数为设置,格式: [{\"score\": 30, \"vote\": 10}], score 传0 ,代表每天可以免费领取一次对应的票数", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/adPosition/del": { - "post": { - "tags": [ - "站点信息" - ], - "summary": "删除广告位", - "operationId": "delUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录id,多个id用英文的逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/adPosition/info": { - "get": { - "tags": [ - "站点信息" - ], - "summary": "广告位详情", - "operationId": "infoUsingGET_1", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/adPosition/list": { - "post": { - "tags": [ - "站点信息" - ], - "summary": "广告位列表", - "operationId": "listUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "0 正常; 1 停用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/adPosition/save": { - "post": { - "tags": [ - "站点信息" - ], - "summary": "广告位添加/修改", - "operationId": "saveUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "key", - "description": "编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "0 正常; 1 停用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "自定义类型 pic,txt,video", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "url", - "description": "链接地址", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "val", - "description": "广告位内容", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/admin/del": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "删除管理员", - "operationId": "delUsingPOST_2", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "管理员id,多个数字用英文逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/admin/info": { - "get": { - "tags": [ - "登录及授权" - ], - "summary": "管理员详情", - "operationId": "infoUsingGET_2", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "管理员ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/admin/invoice": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "读取区域管理员开票设置列表", - "operationId": "invoiceUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "page", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "pageSize", - "in": "query", - "description": "pageSize", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/admin/list": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "平台管理员列表", - "operationId": "listUsingPOST_4", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/admin/quyu": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "区域管理员列表", - "operationId": "quyuUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/admin/resetPwd": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "重置管理员密码", - "operationId": "resetPwdUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "管理员ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - }, - { - "name": "pwd", - "in": "query", - "description": "pwd", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/admin/save": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "添加/修改管理员", - "operationId": "saveUsingPOST_2", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "cover", - "description": "自定义字段,长度200", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "管理员ID,修改时候传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "logo", - "description": "自定义字段,长度200", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pwd", - "description": "密码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "realname", - "description": "姓名", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "roleIds", - "in": "query", - "description": "角色ID", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "shopIds", - "description": "门店管理员的话,拥有权限的门店ID,多个门店之间用英文逗号分隔", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "stamp", - "description": "自定义字段,长度200", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "username", - "description": "用户名", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/admin/stop": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "禁用管理员", - "operationId": "stopUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "管理员ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/admin/unstop": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "启用管理员", - "operationId": "unstopUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "管理员ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/adminCash/list": { - "post": { - "tags": [ - "管理员财务模块" - ], - "summary": "管理员资产列表", - "operationId": "listUsingPOST_2", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "管理员编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "in": "query", - "description": "手机号码", - "required": false, - "type": "string" - }, - { - "name": "orderBy", - "in": "query", - "description": "排序规则:balanceUp 余额从小到大;balanceDown 余额从大到小;freezeUp 冻结从小到大;freezeDown 冻结从大到小", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "realname", - "in": "query", - "description": "姓名", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/adminCash/modifyBalance": { - "post": { - "tags": [ - "管理员财务模块" - ], - "summary": "调整管理员余额", - "operationId": "modifyBalanceUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "管理员编号(管理员编号和手机号码至少传一项)", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "手机号码(管理员编号和手机号码至少传一项)", - "required": false, - "type": "string" - }, - { - "name": "money", - "in": "query", - "description": "调整金额,负数代表扣除余额", - "required": true, - "type": "string" - }, - { - "name": "remark", - "in": "query", - "description": "备注", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/adminCashLog/list": { - "post": { - "tags": [ - "管理员财务模块" - ], - "summary": "资金流水列表", - "operationId": "listUsingPOST_3", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "adminId", - "description": "管理员编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "behavior", - "description": "0 收入; 1 支出", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dateAddBegin", - "in": "query", - "description": "支付时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "支付时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "orderId", - "description": "业务订单号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "realname", - "in": "query", - "description": "姓名", - "required": false, - "type": "string" - }, - { - "name": "type", - "description": "交易类型: 0 充值; 11 提现申请; 12 提现失败; 1 提现成功; 2 支付订单; 3 退款; 31 退款(原路退回); 4支付预约报名费 5 知识付费 6 分销返佣; 61 合伙人返佣; 7 分享商品奖励; 8 优惠买单; 9 充值赠送; 100 支付押金; 101 押金(退还); 110 购买会员; 120 货款转入 130 分润转入;140 积分兑换成金额;150 购买优惠(代金)券; 160 分红; 170 支付京励订单; 180 扫码点餐结账;190 购买会员卡;200 购买图片;210 购买社团团长;220 购买分销商;230 购买商品返利;", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/adminWithdraw/apply": { - "post": { - "tags": [ - "管理员财务模块" - ], - "summary": "申请发起一笔提现", - "operationId": "applyUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "money", - "in": "query", - "description": "提现金额", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/adminWithdraw/list": { - "post": { - "tags": [ - "管理员财务模块" - ], - "summary": "区管提现列表", - "operationId": "listUsingPOST_152", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/adminWithdraw/refuse": { - "post": { - "tags": [ - "管理员财务模块" - ], - "summary": "撤回用户提现", - "operationId": "refuseUsingPOST_4", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/adminWithdraw/success": { - "post": { - "tags": [ - "管理员财务模块" - ], - "summary": "设为提现成功", - "operationId": "successUsingPOST_5", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/alipayPass/create": { - "post": { - "tags": [ - "支付宝小程序" - ], - "summary": "卡券模板创建接口", - "operationId": "createUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "模板内容信息(JSON), https://opendocs.alipay.com/open/016d5g", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/alipayTransfer/invalid": { - "post": { - "tags": [ - "财务相关" - ], - "summary": "支付宝转账记录设为作废", - "operationId": "invalidUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/alipayTransfer/list": { - "post": { - "tags": [ - "财务相关" - ], - "summary": "支付宝转账记录列表", - "operationId": "listUsingPOST_5", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "转账时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "转账时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateBegin", - "in": "query", - "description": "更新时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateEnd", - "in": "query", - "description": "更新时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "goodsName", - "in": "query", - "description": "转账备注", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "用户昵称", - "required": false, - "type": "string" - }, - { - "name": "orderNumber", - "in": "query", - "description": "订单号", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "in": "query", - "description": "状态 0 未领取 1 交易成功 2 已作废", - "required": false, - "type": "string" - }, - { - "name": "uid", - "in": "query", - "description": "用户编号", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - }, - { - "name": "dateTransferBegin", - "in": "query", - "description": "dateTransferBegin", - "required": false, - "type": "string" - }, - { - "name": "dateTransferEnd", - "in": "query", - "description": "dateTransferEnd", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/alipayTransferQrcode/del": { - "post": { - "tags": [ - "财务相关" - ], - "summary": "删除支付宝收钱码", - "operationId": "delUsingPOST_3", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/alipayTransferQrcode/info": { - "get": { - "tags": [ - "财务相关" - ], - "summary": "支付宝收钱码详情", - "operationId": "infoUsingGET_3", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/alipayTransferQrcode/list": { - "post": { - "tags": [ - "财务相关" - ], - "summary": "支付宝收钱码列表", - "operationId": "listUsingPOST_6", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/alipayTransferQrcode/save": { - "post": { - "tags": [ - "财务相关" - ], - "summary": "添加/修改支付宝收钱码", - "operationId": "saveUsingPOST_3", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "amount", - "in": "query", - "description": "金额", - "required": false, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "记录ID", - "required": false, - "type": "string" - }, - { - "name": "name", - "in": "query", - "description": "备注", - "required": false, - "type": "string" - }, - { - "name": "qrcodePic", - "in": "query", - "description": "收钱码图片地址", - "required": false, - "type": "string" - }, - { - "name": "status", - "in": "query", - "description": "状态:0 可用;1 正在付款", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtBanner/del": { - "post": { - "tags": [ - "站点信息" - ], - "summary": "删除Banner", - "operationId": "delUsingPOST_4", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtBanner/info": { - "get": { - "tags": [ - "站点信息" - ], - "summary": "Banner详情", - "operationId": "infoUsingGET_4", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtBanner/list": { - "post": { - "tags": [ - "站点信息" - ], - "summary": "Banner列表", - "operationId": "listUsingPOST_7", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "shopAreaId", - "description": "门店区域ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtBanner/save": { - "post": { - "tags": [ - "站点信息" - ], - "summary": "Banner设置", - "operationId": "saveUsingPOST_4", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "appid", - "description": "如果是跳转小程序,这里填目标小程序的appID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "businessId", - "description": "业务编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "linkType", - "description": "链接类型,0 普通链接; 1 跳转小程序", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "linkUrl", - "description": "链接地址", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "picUrl", - "description": "图片URL地址", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "picUrl2", - "description": "图片URL地址2【用于扩展】", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "remark", - "description": "备注说明", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopAreaId", - "description": "门店区域ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态,0 显示 1 隐藏", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "title", - "description": "标题名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "类型,自定义类型", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtBanner/types": { - "get": { - "tags": [ - "站点信息" - ], - "summary": "获取所有的Banner类型", - "operationId": "typesUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtComment/add": { - "post": { - "tags": [ - "CMS模块" - ], - "summary": "添加留言/评论", - "operationId": "addUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "communityId", - "description": "所属社区/村ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "content", - "description": "留言/评论内容", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "extJsonStr", - "in": "query", - "description": "属性信息,JSON格式", - "required": false, - "type": "string" - }, - { - "name": "file", - "description": "文件附件链接,可传图片、文件", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "latitude", - "description": "地图坐标纬度", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "longitude", - "description": "地图坐标经度", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "description": "联系电话", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pid", - "description": "引用的留言ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "refId", - "description": "业务ID,比如文章id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "streetId", - "description": "所属街道ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "0 网站留言 1 意见反馈 2 投诉建议 3 CMS文章评论 4 接口申请 5 预约/活动/报名 6 商城订单", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtComment/del": { - "post": { - "tags": [ - "CMS模块" - ], - "summary": "删除留言", - "operationId": "delUsingPOST_5", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "留言id,多个ID用英文逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtComment/info": { - "get": { - "tags": [ - "CMS模块" - ], - "summary": "留言/评论详情", - "operationId": "infoUsingGET_5", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "评论记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtComment/list": { - "post": { - "tags": [ - "CMS模块" - ], - "summary": "留言/评论列表", - "operationId": "listUsingPOST_8", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "添加时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "添加时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateReplyBegin", - "in": "query", - "description": "回复时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateReplyEnd", - "in": "query", - "description": "回复时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "pid", - "description": "引用的留言ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "refId", - "description": "业务ID,比如文章id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "showExtJson", - "in": "query", - "description": "显示扩展属性", - "required": false, - "type": "string" - }, - { - "name": "status", - "description": "0 待审核 1 已审核 2 已回复", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "titleLike", - "in": "query", - "description": "type==3的时候,搜索cms文章标题关键字", - "required": false, - "type": "string" - }, - { - "name": "type", - "description": "0 网站留言 1 意见反馈 2 投诉建议 3 CMS文章评论 4 接口申请 5 预约/活动/报名 6 商城订单", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtComment/reply": { - "post": { - "tags": [ - "CMS模块" - ], - "summary": "回复", - "operationId": "replyUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "留言id", - "required": true, - "type": "string" - }, - { - "name": "reply", - "in": "query", - "description": "回复内容", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtComment/vet": { - "post": { - "tags": [ - "CMS模块" - ], - "summary": "审核通过", - "operationId": "vetUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "留言id,多个ID用英文逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtConfig/del": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "删除系统参数", - "operationId": "delUsingPOST_6", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "删除的记录id,多个id之间用英文的逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtConfig/info": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "系统参数设置详情", - "operationId": "infoUsingGET_6", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtConfig/list": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "系统参数设置列表", - "operationId": "listUsingPOST_9", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "creatAtBegin", - "in": "query", - "description": "添加时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "creatAtBegin", - "in": "query", - "description": "更新时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "creatAtEnd", - "in": "query", - "description": "添加时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "creatAtEnd", - "in": "query", - "description": "更新时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "isPub", - "description": "是否公开还是隐私,true/false", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - }, - { - "name": "updateAtBegin", - "in": "query", - "description": "updateAtBegin", - "required": false, - "type": "string" - }, - { - "name": "updateAtEnd", - "in": "query", - "description": "updateAtEnd", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtConfig/modify": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "修改参数设置", - "operationId": "modifyUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "参数值", - "required": true, - "type": "string" - }, - { - "name": "key", - "in": "query", - "description": "参数编码", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtConfig/save": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "系统参数设置", - "operationId": "saveUsingPOST_5", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "参数值", - "required": true, - "type": "string" - }, - { - "name": "dateType", - "description": "类型:0 文本字符串 1 开关 2 上传文件", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isPub", - "description": "是否公开还是隐私,true/false", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "key", - "description": "参数编码", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "remark", - "description": "备注", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtConfig/values": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "批量获取多个参数设置值", - "operationId": "valuesUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "key", - "in": "query", - "description": "参数值,多个key用英文逗号隔开", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtDfs/resourceLog": { - "post": { - "tags": [ - "上传文件管理" - ], - "summary": "存储包使用明细", - "operationId": "resourceLogsUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "添加时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "添加时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "type", - "in": "query", - "description": "0 购买存储包; 1 系统赠送; 2 图片空间抵扣;3 视频点播抵扣", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtDfs/statistics": { - "get": { - "tags": [ - "上传文件管理" - ], - "summary": "空间使用情况", - "operationId": "statisticsUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtFriendlyPartner/del": { - "post": { - "tags": [ - "CMS模块" - ], - "summary": "删除友情链接", - "operationId": "delUsingPOST_7", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtFriendlyPartner/info": { - "get": { - "tags": [ - "CMS模块" - ], - "summary": "友情链接详情", - "operationId": "infoUsingGET_7", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtFriendlyPartner/list": { - "post": { - "tags": [ - "CMS模块" - ], - "summary": "友情链接列表", - "operationId": "listUsingPOST_10", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtFriendlyPartner/save": { - "post": { - "tags": [ - "CMS模块" - ], - "summary": "友情链接添加/修改", - "operationId": "saveUsingPOST_6", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "type": "string" - }, - { - "name": "linkUrl", - "in": "query", - "description": "链接地址/跳转地址", - "required": false, - "type": "string" - }, - { - "name": "paixu", - "in": "query", - "description": "排序", - "required": false, - "type": "string", - "default": "0" - }, - { - "name": "picUrl", - "in": "query", - "description": "图片(LOGO)URL", - "required": false, - "type": "string" - }, - { - "name": "remark", - "in": "query", - "description": "备注", - "required": false, - "type": "string" - }, - { - "name": "status", - "in": "query", - "description": "状态:0 正常 1 禁用", - "required": false, - "type": "string" - }, - { - "name": "title", - "in": "query", - "description": "名称", - "required": true, - "type": "string" - }, - { - "name": "type", - "in": "query", - "description": "自定义类型", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtNewsCategory/del": { - "post": { - "tags": [ - "CMS模块" - ], - "summary": "删除文章分类", - "operationId": "delUsingPOST_8", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtNewsCategory/info": { - "get": { - "tags": [ - "CMS模块" - ], - "summary": "文章分类详情", - "operationId": "infoUsingGET_8", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "categoryKey", - "in": "query", - "description": "分类编号", - "required": false, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "分类id", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtNewsCategory/list/v2": { - "post": { - "tags": [ - "CMS模块" - ], - "summary": "文章分类列表", - "operationId": "listV2UsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "isUse", - "in": "query", - "description": "是否加载可用的", - "required": false, - "type": "string" - }, - { - "name": "pid", - "in": "query", - "description": "上级分类ID,获取全部分类传0", - "required": true, - "type": "string" - }, - { - "name": "shopId", - "in": "query", - "description": "门店ID", - "required": true, - "type": "string" - }, - { - "name": "showExtJson", - "in": "query", - "description": "显示扩展属性", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtNewsCategory/save": { - "post": { - "tags": [ - "CMS模块" - ], - "summary": "文章分类添加/修改", - "operationId": "saveUsingPOST_7", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "extJsonStr", - "in": "query", - "description": "扩展属性的JSON格式数据", - "required": false, - "type": "string" - }, - { - "name": "icon", - "description": "分类图标", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isUse", - "description": "是否启用,true 或者 false", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "key", - "description": "分类编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pid", - "description": "上级分类ID, 0 代表顶级分类", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "remark", - "description": "备注", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "自定义类型,32个字符以内", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtNewsCategory/search": { - "post": { - "tags": [ - "CMS模块" - ], - "summary": "搜索文章分类", - "operationId": "searchUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "icon", - "description": "分类图标", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "ids", - "in": "query", - "description": "多个ID用英文逗号分割", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "isUse", - "description": "是否启用,true 或者 false", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "key", - "description": "分类编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "paixu", - "description": "排序", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pic", - "description": "封面图片", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pid", - "description": "上级分类ID, 0 代表顶级分类", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "门店ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "自定义类型,32个字符以内", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtNotice/del": { - "post": { - "tags": [ - "CMS模块" - ], - "summary": "删除公告", - "operationId": "delUsingPOST_9", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtNotice/info": { - "get": { - "tags": [ - "CMS模块" - ], - "summary": "公告详情", - "operationId": "infoUsingGET_9", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtNotice/list": { - "post": { - "tags": [ - "CMS模块" - ], - "summary": "公告列表", - "operationId": "listUsingPOST_11", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "发布时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "发布时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isShow", - "description": "是否展示", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "titleLike", - "in": "query", - "description": "标题", - "required": false, - "type": "string" - }, - { - "name": "type", - "description": "公告类型", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtNotice/save": { - "post": { - "tags": [ - "CMS模块" - ], - "summary": "公告添加/修改", - "operationId": "saveUsingPOST_8", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "description": "内容", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isShow", - "description": "是否显示", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pic", - "description": "封面图片", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "title", - "description": "标题", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "类型", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/acceptOrder": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "商家接单", - "operationId": "acceptOrderUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "orderId", - "in": "query", - "description": "订单id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/benefit": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "手动进行订单分润", - "description": "针对订单没有进行商品门店分润的情况", - "operationId": "benefitUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/cancelOrderPeriod": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "停止周期性订阅", - "operationId": "cancelOrderPeriodUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/changeAttendant": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "订单修改技师", - "operationId": "changeAttendantUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "attendantId", - "in": "query", - "description": "技师ID", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/changeDateTime": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "修改订单的预约日期和时间", - "operationId": "changeDateTimeUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "day", - "in": "query", - "description": "日期: yyyy-MM-dd", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "time", - "in": "query", - "description": "时间", - "required": true, - "type": "string" - }, - { - "name": "time2", - "in": "query", - "description": "扩展时间", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/changePrice": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "修改订单金额和积分", - "operationId": "changePriceUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "amountLogistics", - "in": "query", - "description": "运费金额", - "required": false, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "price", - "in": "query", - "description": "订单新价格", - "required": true, - "type": "string" - }, - { - "name": "score", - "in": "query", - "description": "订单所需积分", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/close": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "关闭订单", - "operationId": "closeUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "refundRemark", - "in": "query", - "description": "关闭备注", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/close/jdJoycityPoints": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "关闭京东权益订单", - "operationId": "closeJdJoycityPointsUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/close/keloop": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "关闭快跑者订单", - "operationId": "closeKeloopUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/close/shansong": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "关闭闪送订单", - "operationId": "closeShansongUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/confirmJdVopOrder": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "确认京东vop订单", - "operationId": "confirmJdVopOrderUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/createUnionOrder": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "创建联盟商家订单并支付", - "operationId": "createUnionOrderUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/del": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "删除订单", - "operationId": "delUsingPOST_10", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "需要删除的订单id,多个用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/delReputationPic": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "删除评价图片", - "operationId": "delReputationPicUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "评价图片所在记录的ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/detail": { - "get": { - "tags": [ - "订单模块" - ], - "summary": "查看订单详情", - "operationId": "detailUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "hxNumber", - "in": "query", - "description": "核销码", - "required": false, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/expressCompanies": { - "get": { - "tags": [ - "订单模块" - ], - "summary": "获取所有快递公司", - "operationId": "expressCompaniesUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/fahuo": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "订单发货", - "operationId": "fahuoUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "expressCompanyId", - "in": "query", - "description": "快递公司ID,如需自己配送或者其他快递公司,请传 -1", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "maskMobile", - "in": "query", - "description": "寄件人或者收件人手机号后4位,用来查物流校验的,如果是加密的收件人手机号,填那个转接的4位数字,不要填虚拟手机号", - "required": false, - "type": "string" - }, - { - "name": "number", - "in": "query", - "description": "快递单号", - "required": false, - "type": "string" - }, - { - "name": "orderGoodsShipper", - "in": "query", - "description": "发货的商品信息及数量[{orderGoodsId: 123, number: 456}] , 不传该参数代表全部商品", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/fahuo/dada": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "重发订单至达达平台", - "operationId": "fahuoDadaUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/fahuo/keloop": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "重发订单至快跑者平台", - "operationId": "fahuoKeloopUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/fahuo/shansong": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "重发订单至闪送平台", - "operationId": "fahuoShansongUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/fahuo/shansong/new": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "将普通订单推送给闪送平台", - "description": "默认都归属门店关联的闪送门店;没有归属门店的时候,读自提门店关联的闪送门店", - "operationId": "fahuoShansongNewUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/fahuoDelete": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "删除订单某一笔发货记录", - "operationId": "fahuoDeleteUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "发货记录id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/goLingTong": { - "get": { - "tags": [ - "订单模块" - ], - "summary": "获取灵通登录地址", - "operationId": "goLingTongUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/list": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "订单列表", - "operationId": "listUsingPOST_12", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "alarmTraces", - "in": "query", - "description": "物流轨迹超时未更新,物流轨迹超过N小时未更新的订单(N在后台订单设置中设置)", - "required": false, - "type": "string" - }, - { - "name": "dateAddBegin", - "in": "query", - "description": "下单时间起,格式 2018-05-16 15:39:38", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "下单时间止,格式 2018-05-16 15:39:38", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateBegin", - "in": "query", - "description": "修改时间起,格式 2018-05-16 15:39:38", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateEnd", - "in": "query", - "description": "修改时间止,格式 2018-05-16 15:39:38", - "required": false, - "type": "string" - }, - { - "name": "dayStr", - "in": "query", - "description": "预约日期,格式:2022-06-15", - "required": false, - "type": "string" - }, - { - "name": "export", - "in": "query", - "description": "true 说明是导出数据,数据信息更丰富", - "required": false, - "type": "string" - }, - { - "name": "extendKeywords", - "in": "query", - "description": "扩展属性搜索关键词", - "required": false, - "type": "string" - }, - { - "name": "goodsId", - "in": "query", - "description": "商品编号", - "required": false, - "type": "string" - }, - { - "name": "goodsName", - "in": "query", - "description": "商品名称", - "required": false, - "type": "string" - }, - { - "name": "isNeedLogistics", - "description": "是否需要发快递 true/false", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "logisticsMobile", - "in": "query", - "description": "收货人手机号码", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "下单用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "下单用户昵称", - "required": false, - "type": "string" - }, - { - "name": "orderBy", - "in": "query", - "description": "排序规则:dayUp 价格升序,dayDown 价格倒序", - "required": false, - "type": "string" - }, - { - "name": "orderNumber", - "description": "订单号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "payNumber", - "description": "支付订单号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "refundStatus", - "in": "query", - "description": "退款状态: 0 无退款; 1 有退款; 2 退款中; 3 退款成功; 4 退款待处理", - "required": false, - "type": "string" - }, - { - "name": "sellerMobile", - "in": "query", - "description": "分销商手机号码", - "required": false, - "type": "string" - }, - { - "name": "shipperCode", - "in": "query", - "description": "快递公司编码", - "required": false, - "type": "string" - }, - { - "name": "shopId", - "description": "所属门店ID,用于查询该门店下的订单", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "showAttendant", - "in": "query", - "description": "显示技师信息", - "required": false, - "type": "string" - }, - { - "name": "showExtJson", - "in": "query", - "description": "显示扩展属性", - "required": false, - "type": "string" - }, - { - "name": "status", - "description": "状态:'-1 关闭订单 0 待支付 1 已支付待发货 2 已发货待确认 3 确认收货待评价 4 已评价", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "statusBatch", - "in": "query", - "description": "批量拉取多种状态订单,多个状态之间用逗号隔开,-1 已关闭 0 待支付 1 已支付待发货 2 已发货待确认 3 确认收货待评价 4 已评价", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "tableCode", - "description": "扫码点餐,可通过桌号搜索订单", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "trackingNumber", - "in": "query", - "description": "快递单号", - "required": false, - "type": "string" - }, - { - "name": "type", - "description": "0:普通订单;1:周期性订阅订单;2:扫码点餐订单", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/list/goods": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "拉取订单商品明细", - "operationId": "listGoodsUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateBegin", - "in": "query", - "description": "开始日期,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateEnd", - "in": "query", - "description": "截止日期,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "goodsId", - "in": "query", - "description": "商品ID", - "required": false, - "type": "string" - }, - { - "name": "showOrder", - "in": "query", - "description": "是否返回订单信息", - "required": false, - "type": "string" - }, - { - "name": "status", - "in": "query", - "description": "-1 关闭订单 0 待支付 1 已支付待发货 2 已发货待确认 3 确认收货待评价 4 已评价", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/modifyLogisticsAddress": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "修改订单收货地址", - "operationId": "modifyLogisticsAddressUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "address", - "description": "详细地址", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "cityId", - "description": "城市编码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "code", - "description": "邮编", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "districtId", - "description": "区县编码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "订单ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "idcard", - "description": "身份证号码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "latitude", - "description": "地图纬度", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "linkMan", - "description": "收件人", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "longitude", - "description": "地图经度", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "description": "收件人手机", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "provinceId", - "description": "省份编码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "streetId", - "description": "街道编码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "0 快递,1 达达配送, 2 美团配送, 3 快跑者 4 配送模块", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/pay": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "用客户自己的余额完成订单付款", - "operationId": "payUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/pay/offline": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "直接标记订单为已付款", - "description": "请确定您已线下收款再调用该接口,谨慎操作", - "operationId": "payOfflineUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID,多个订单之间用英文多逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/pay/quyuOrder": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "区域管理员支付订单", - "operationId": "payQuyuOrderUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID,多个订单之间用英文多逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/payUnionOrder": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "确认联盟商家订单(使用预存支付)", - "operationId": "payUnionOrderUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/queryLogisticsTracking": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "查询订单物流信息", - "operationId": "queryLogisticsTrackingUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "trackingNumber", - "in": "query", - "description": "快递单号 【顺丰和中通请输入单号 : 收件人或寄件人手机号后四位[如果加密单,收件人的话要填虚拟号转接的那个4位数]。例如:123456789:1234】", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/rePrint/v2": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "补打小票", - "operationId": "rePrintV2UsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "orderId", - "in": "query", - "description": "订单id,注意不是订单号", - "required": true, - "type": "string" - }, - { - "name": "printerIds", - "in": "query", - "description": "打印机ID,多个打印机用英文逗号分割", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/refund": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "订单发起退款", - "operationId": "refundUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "money", - "in": "query", - "description": "退款金额", - "required": true, - "type": "string" - }, - { - "name": "orderGoodsId", - "in": "query", - "description": "订单的商品明细记录的ID字段", - "required": false, - "type": "string" - }, - { - "name": "orderStatus", - "in": "query", - "description": "同步修改订单状态为:-1 关闭订单 3 交易成功", - "required": false, - "type": "string" - }, - { - "name": "remark", - "in": "query", - "description": "备注", - "required": false, - "type": "string" - }, - { - "name": "score", - "in": "query", - "description": "退款积分", - "required": false, - "type": "string" - }, - { - "name": "toWhere", - "in": "query", - "description": "退款路径:-1 原路退回; 0 退款到本站用户钱包", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/refundApplyModify": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "用户申请的售后修改商品数量和金额", - "operationId": "refundApplyModifyUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "amount", - "in": "query", - "description": "售后金额", - "required": true, - "type": "string" - }, - { - "name": "applyId", - "in": "query", - "description": "退换货申请记录的ID", - "required": true, - "type": "string" - }, - { - "name": "number", - "in": "query", - "description": "商品数量", - "required": true, - "type": "string" - }, - { - "name": "orderId", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/refundClorian": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "Clorian退票接口", - "operationId": "refundClorianUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "pos", - "in": "query", - "description": "pos", - "required": true, - "type": "string" - }, - { - "name": "reason", - "in": "query", - "description": "reason", - "required": true, - "type": "string" - }, - { - "name": "reservationId", - "in": "query", - "description": "reservationId", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/refuse": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "拒绝用户申请的售后", - "operationId": "refuseUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "applyId", - "in": "query", - "description": "退换货申请记录的ID", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "remark", - "in": "query", - "description": "备注", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/refuseSuccess": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "用户申请的售后设置为成功", - "operationId": "refuseSuccessUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "applyId", - "in": "query", - "description": "退换货申请记录的ID", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/refuseing": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "用户申请的售后设置为处理中", - "operationId": "refuseingUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "applyId", - "in": "query", - "description": "退换货申请记录的ID", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/remarkAdmin": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "管理员备注", - "description": "该备注信息,只有管理员后台可以查看", - "operationId": "remarkAdminUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单id", - "required": true, - "type": "string" - }, - { - "name": "remarkAdmin", - "in": "query", - "description": "备注信息", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/startOrderPeriod": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "开始周期性订阅,针对之前停止的订阅", - "operationId": "startOrderPeriodUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/success": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "设置为交易成功", - "operationId": "successUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/successRecycleOrder": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "回收订单设置订单交易成功", - "operationId": "successRecycleOrderUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "amount", - "in": "query", - "description": "订单新价格", - "required": true, - "type": "string" - }, - { - "name": "content", - "in": "query", - "description": "[{orderGoodsId: 订单明细记录ID, number: 商品数量}]", - "required": false, - "type": "string" - }, - { - "name": "orderId", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "score", - "in": "query", - "description": "赠送积分", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/traces": { - "get": { - "tags": [ - "订单模块" - ], - "summary": "查看订单物流详情", - "operationId": "tracesUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/traces/keloop": { - "get": { - "tags": [ - "订单模块" - ], - "summary": "查看快跑者订单进程", - "operationId": "tracesKeloopUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/updateExtJson": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "更新扩展属性信息", - "operationId": "updateExtJsonUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "extJsonStr", - "in": "query", - "description": "订单扩展属性", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/updateLogistics": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "修改订单物流信息", - "operationId": "updateLogisticsUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "物流轨迹,必须是 JsonArray 格式", - "required": true, - "type": "string" - }, - { - "name": "needQuery", - "in": "query", - "description": "是否需要后续继续查询跟踪物流轨迹", - "required": true, - "type": "string" - }, - { - "name": "status", - "in": "query", - "description": "物流状态: -1 未上报 0-无轨迹,1-已揽收,2-在途中 201-到达派件城市,3-签收,4-问题件", - "required": true, - "type": "string" - }, - { - "name": "trackingNumber", - "in": "query", - "description": "快递单号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/updateOrderNumberOuter": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "修改订单外部订单号", - "operationId": "updateOrderNumberOuterUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "orderNumberOuter", - "in": "query", - "description": "外部订单号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/updateRemark2": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "修改订单备注2", - "operationId": "updateRemark2UsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "remark2", - "in": "query", - "description": "备注", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/updateStatusUserManual": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "修改订单自定义的 statusUserManual 字段", - "operationId": "updateStatusUserManualUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "订单ID,多个订单用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "statusUserManual", - "in": "query", - "description": "自定义的状态位", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/updateZTD": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "修改订单自提门店和自提点", - "operationId": "updateZTDUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "pickPointPwd", - "in": "query", - "description": "取货密码,6位数", - "required": false, - "type": "string" - }, - { - "name": "setPickPointId", - "in": "query", - "description": "自提点ID", - "required": false, - "type": "string" - }, - { - "name": "shopIdZt", - "in": "query", - "description": "自提门店ID", - "required": false, - "type": "string" - }, - { - "name": "shopNameZt", - "in": "query", - "description": "自提门店名称", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/wxsphAfterSale": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "视频号订单设置为售后完成", - "operationId": "wxsphAfterSaleUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrder/xdadanOrderPush": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "发送清关", - "operationId": "xdadanOrderPushUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "orderId", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrderEvaluate/del": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "删除商品评价", - "operationId": "delUsingPOST_11", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "需要删除的记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrderEvaluate/info": { - "get": { - "tags": [ - "订单模块" - ], - "summary": "评价详情", - "operationId": "detailUsingGET_1", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单明细记录ID", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrderEvaluate/list": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "商品评价列表", - "operationId": "listUsingPOST_13", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodReputation", - "description": "0 差评 1 中评 2 好评", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "goodsNameLike", - "in": "query", - "description": "商品名称模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "下单用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "下单用户昵称", - "required": false, - "type": "string" - }, - { - "name": "orderNumber", - "in": "query", - "description": "订单号", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrderEvaluate/reply": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "回复商品评价", - "operationId": "replyUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "回复内容,最多200个字", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "需要修改的记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrderEvaluate/replyDelete": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "删除商品评价的回复", - "operationId": "replyDeleteUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "需要修改的记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrderEvaluate/showHide": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "评价展示/隐藏", - "operationId": "showHideUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "需要删除的记录ID", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "reputationShow", - "in": "query", - "description": "true 显示; false 隐藏", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtOrderEvaluate/update": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "修改商品评价", - "operationId": "updateUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "deleteOldPic", - "in": "query", - "description": "是否删除原有买家秀", - "required": false, - "type": "string" - }, - { - "name": "goodReputation", - "in": "query", - "description": "0 差评 1 中评 2 好评", - "required": true, - "type": "string" - }, - { - "name": "goodReputationRemark", - "in": "query", - "description": "用户评价内容", - "required": false, - "type": "string" - }, - { - "name": "goodReputationReply", - "in": "query", - "description": "回复内容", - "required": false, - "type": "string" - }, - { - "name": "goodReputationTags", - "in": "query", - "description": "用户评价标签", - "required": false, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "需要修改的记录ID", - "required": true, - "type": "string" - }, - { - "name": "pics", - "in": "query", - "description": "买家秀图片", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtPage/del": { - "post": { - "tags": [ - "CMS模块" - ], - "summary": "删除单页", - "operationId": "delUsingPOST_12", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtPage/info": { - "get": { - "tags": [ - "CMS模块" - ], - "summary": "单页详情", - "operationId": "infoUsingGET_10", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtPage/info/key": { - "get": { - "tags": [ - "CMS模块" - ], - "summary": "使用key获取单页详情", - "operationId": "infoKeyUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "key", - "in": "query", - "description": "key", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtPage/list": { - "post": { - "tags": [ - "CMS模块" - ], - "summary": "单页列表", - "operationId": "listUsingPOST_15", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "发布时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "发布时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateBegin", - "in": "query", - "description": "修改时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateEnd", - "in": "query", - "description": "修改时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "key", - "description": "编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "titleLike", - "in": "query", - "description": "标题", - "required": false, - "type": "string" - }, - { - "name": "type", - "description": "0 富文本编辑器 1纯文本编辑器", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtPage/save": { - "post": { - "tags": [ - "CMS模块" - ], - "summary": "单页添加/修改", - "operationId": "saveUsingPOST_9", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "description": "内容", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "extJsonStr", - "in": "query", - "description": "扩展属性的JSON格式数据", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "key", - "description": "编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "title", - "description": "标题", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "0 富文本编辑器 1纯文本编辑器", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopFreightTemplate/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除运费模板", - "operationId": "delUsingPOST_13", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopFreightTemplate/info": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "运费模板详情", - "operationId": "infoUsingGET_11", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopFreightTemplate/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "运费模板列表", - "operationId": "listUsingPOST_16", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopFreightTemplate/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "运费模板添加/修改", - "description": "[{\"name\":\"默认运费\",\"cityType\":0,\"cityId\":0,\"firstNumber\":1,\"firstAmount\":5,\"addNumber\":1,\"addAmount\":5,\"type\":0},{\"name\":\"鄂尔多斯市\",\"cityType\":1,\"cityId\":150600,\"firstNumber\":111,\"firstAmount\":111,\"addNumber\":111,\"addAmount\":111,\"type\":0},{\"name\":\"默认运费\",\"cityType\":0,\"cityId\":0,\"firstNumber\":1,\"firstAmount\":5,\"addNumber\":1,\"addAmount\":5,\"type\":1},{\"name\":\"临安市\",\"cityType\":2,\"cityId\":330185,\"firstNumber\":11,\"firstAmount\":11,\"addNumber\":11,\"addAmount\":11,\"type\":1},{\"name\":\"默认运费\",\"cityType\":0,\"cityId\":0,\"firstNumber\":1,\"firstAmount\":5,\"addNumber\":1,\"addAmount\":5,\"type\":2},{\"name\":\"广西壮族自治区\",\"cityType\":0,\"cityId\":450000,\"firstNumber\":29,\"firstAmount\":210,\"addNumber\":211,\"addAmount\":212,\"type\":2}]", - "operationId": "saveUsingPOST_10", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "detailsJsonStr", - "in": "query", - "description": "运费配置jsonArray数据,type:0 快递;cityId:省市区编号;", - "required": false, - "type": "string" - }, - { - "name": "feeType", - "description": "计价方式:0. 按件数 1 按重量 2 按体积 3 按金额", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "freeShippingSetting", - "in": "query", - "description": "条件包邮设置", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isFree", - "description": "是否包邮", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoods/copy": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "复制商品", - "operationId": "copyUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "商品ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoods/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除商品", - "operationId": "delUsingPOST_16", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoods/info": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "商品详情", - "operationId": "infoUsingGET_13", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoods/limitation/canBuyLevels": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品会员限购", - "description": "只允许被哪些会员购买", - "operationId": "limitationCanBuyLevelsUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "商品ID,多个商品用因为逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "levelIds", - "in": "query", - "description": "会员等级id,多个等级用因为逗号分隔", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoods/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品列表", - "operationId": "listUsingPOST_18", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "barCode", - "description": "条码编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "batchVetStatus", - "in": "query", - "description": "可传多种审核状态:0 待审核 1 审核通过 2 审核不通过", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "categoryIdSel", - "in": "query", - "description": "所属类别ID", - "required": false, - "type": "string" - }, - { - "name": "characteristicLike", - "in": "query", - "description": "商品特色", - "required": false, - "type": "string" - }, - { - "name": "characteristicLike", - "in": "query", - "description": "商品特色", - "required": false, - "type": "string" - }, - { - "name": "dateAddBegin", - "in": "query", - "description": "添加时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "添加时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateBegin", - "in": "query", - "description": "修改时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateEnd", - "in": "query", - "description": "修改时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "goodsType", - "in": "query", - "description": "1:全部 2:销售中 3:在售无库存【包括sku中包含无库存】 4:仓库中 5:在售有库存", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "商品编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "ids", - "in": "query", - "description": "商品编号,多个商品编号使用英文逗号分割", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "k", - "in": "query", - "description": "根据关键词智能搜索", - "required": false, - "type": "string" - }, - { - "name": "logisticsId", - "description": "物流模板ID,传0表示该商品不需要物流", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "商品名称精确搜索", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "nameLike", - "in": "query", - "description": "商品名称模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "orderBy", - "in": "query", - "description": "排序规则:priceUp 价格升序,priceDown 价格倒序,ordersUp 销量升序,ordersDown 销量降序,addedUp 发布时间升序,addedDown 发布时间倒序, nameUp 商品名称升序, useful 点赞最多, dateEndAsc 即将结束的最考前;dateEndDesc 停售时间最大的越靠前; storesAsc 库存升序; storesDesc 库存倒序; statusAsc 状态升序; statusDesc 状态倒序; deductionScoreLimitAsc 积分可低升序; deductionScoreLimitDesc 积分可低倒序; viewsAsc 浏览量升序; viewsDesc 浏览量倒序", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "recommendStatus", - "description": "是否推荐:0 不推荐 1 推荐", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "所属店铺", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态:0 上架 1 下架", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "subName", - "description": "副标题精确搜索", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "subNameLike", - "in": "query", - "description": "副标题模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "tagsLike", - "in": "query", - "description": "标签(关键词)模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "vetStatus", - "description": "0 待审核 1 审核通过 2 审核不通过", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "yyId", - "description": "外部商品编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoods/loadUnionGoods": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "导入apifm联盟商品", - "operationId": "loadUnionGoodsUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "in": "query", - "description": "商品ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoods/modify/category": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品批量修改类目", - "operationId": "modifyCategoryUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "categoryId", - "in": "query", - "description": "商品分类ID", - "required": true, - "type": "string" - }, - { - "name": "ids", - "in": "query", - "description": "商品ID", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoods/modify/recommendStatus": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品批量推荐(取消推荐)", - "operationId": "modifyRecommendStatusUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "商品ID", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "recommendStatus", - "in": "query", - "description": "推荐状态: 0 不推荐 1 推荐", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoods/modify/status": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品批量上下架", - "operationId": "modifyStatusUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "商品ID", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "status", - "in": "query", - "description": "状态,0 上架 1 下架", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoods/modify/stores": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品批量修改库存", - "operationId": "modifyStoresUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "JSON数据: [{goodsId:111,incrStore:3},{goodsId:111,priceId:222,incrStore:3},{goodsId:111,incrStore:3}]", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoods/paixuMove": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "排序移动位置", - "operationId": "paixuMoveUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "from", - "in": "query", - "description": "原来排序的", - "required": true, - "type": "string" - }, - { - "name": "goodsId", - "in": "query", - "description": "商品ID", - "required": true, - "type": "string" - }, - { - "name": "to", - "in": "query", - "description": "移动到排序的位置", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoods/paixuReset": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "重建排序", - "description": "把所有商品的排序字段按照商品发布时间重新设置", - "operationId": "paixuResetUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoods/purchase": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "区管从总点进货查看商品列表", - "operationId": "purchaseUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "barCode", - "description": "条码编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "categoryIdSel", - "in": "query", - "description": "所属类别ID", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "商品编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "ids", - "in": "query", - "description": "商品编号,多个商品编号使用英文逗号分割", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "nameLike", - "in": "query", - "description": "关键词搜索", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "recommendStatus", - "description": "是否推荐:0 不推荐 1 推荐", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoods/rebate/save/v2": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品会员折扣设置", - "operationId": "rebateSaveV2UsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "detailsJsonStr", - "in": "query", - "description": "自定义会员价格的数组形式", - "required": false, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "商品id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoods/rebate/v2": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "商品会员折扣信息", - "operationId": "rebateV2UsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "商品id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoods/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品添加/修改", - "description": "detailsJsonStr 例子: [{properties:[{pid:1,cid:2,pname:'颜色', cname: '红色'},{pid:11,cid:22,pname:'内存', cname: '256GB'}], code: 'sku编号', type: '类型',originalPrice:100.00,minPrice:10.00,pingtuanPrice:5.00,score:0,stores:9999999, fxType:2, earningsPercent: 20, earningsPercent2: 20},{properties:[{pid:1,cid:2,pname:'颜色', cname: '绿色'},{pid:11,cid:22,pname:'内存', cname: '1GB'}],originalPrice:100.00,minPrice:10.00,pingtuanPrice:5.00,score:0,stores:9999999, fxType:2, earningsPercent: 20}]", - "operationId": "saveUsingPOST_13", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "barCode", - "description": "商品条码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "categoryId", - "description": "所属分类ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "characteristic", - "description": "商品特色", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "commission", - "description": "返佣数量(金额或者多少积分)", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "commissionType", - "description": "分享奖励/返佣:0 不返佣 1 积分 2 现金", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "content", - "in": "query", - "description": "商品详情", - "required": true, - "type": "string" - }, - { - "name": "content2", - "in": "query", - "description": "商品自定义字段", - "required": false, - "type": "string" - }, - { - "name": "dateEndStr", - "in": "query", - "description": "停售时间, 传 -1 为删除原来的停售时间设置", - "required": false, - "type": "string" - }, - { - "name": "dateStartStr", - "in": "query", - "description": "起售时间, 传 -1 为删除原来的起售时间设置", - "required": false, - "type": "string" - }, - { - "name": "deductionScoreLimit", - "description": "最多可抵扣多少金额", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "deductionScorePerYuan", - "description": "多少积分可抵扣1元", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "deleteOldPics", - "in": "query", - "description": "修改商品的时候是否删除原来的商品图片,true 为删除,默认不删除", - "required": false, - "type": "string" - }, - { - "name": "detailsJsonStr", - "in": "query", - "description": "规格尺寸JSON格式数据", - "required": false, - "type": "string" - }, - { - "name": "earningsPercent", - "description": "商品返佣比例", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "earningsPercent2", - "description": "同时返积分和现金的情况下,这个字段为积分的比例", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "extJsonStr", - "in": "query", - "description": "商品扩展属性的JSON格式数据", - "required": false, - "type": "string" - }, - { - "name": "extJsonStr2", - "in": "query", - "description": "商品扩展属性的JSON格式数据2", - "required": false, - "type": "string" - }, - { - "name": "fxType", - "description": "分销类型: 0 现金返佣;1积分返佣; 2 按照全局配置; 3 不返佣", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "kanjia", - "description": "是否开启砍价,true 为开启,默认不开启", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "logisticsId", - "description": "物流模板ID,不传表示该商品不需要物流,例如手机在线充值等等", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "miaosha", - "description": "是否开启秒杀,true 为开启,默认不开启", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "minPrice", - "description": "商品现价", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "minScore", - "description": "购买该商品需要消耗多少积分", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "商品名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "originalPrice", - "description": "商品原价", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "商品排序,不传未0", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pics", - "in": "query", - "description": "商品图片数组", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "pingtuan", - "description": "是否开启拼团,true 为开启,默认不开启", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pingtuanPrice", - "description": "拼团价格", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "purchaseNotes", - "description": "购买须知", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "recommendStatus", - "description": "是否推荐 0 不推荐 1 推荐", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "serviceEndTimeStr", - "in": "query", - "description": "服务截止时间", - "required": false, - "type": "string" - }, - { - "name": "shopId", - "description": "所属店铺ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态:0 上架 1 下架", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "stores", - "description": "总库存数", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "subName", - "description": "副标题", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "subPics", - "in": "query", - "description": "规格图片: [{\"optionValuleId\":218278,\"pic\":\"2.png\"},{\"optionValuleId\":218279,\"pic\":\"1.png\"}]", - "required": false, - "type": "string" - }, - { - "name": "supplierId", - "description": "供应商ID,传0为删除供应商", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "tags", - "description": "标签/关键词", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "tax", - "description": "税率,例如 14.975,意思为 14.975%", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "unit", - "description": "单位: 份/瓶/箱", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "videoId", - "description": "商品视频编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "weight", - "description": "商品重量", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoods/storesAlarm": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "库存预警列表", - "operationId": "storesAlarmUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoods/update": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "批量编辑商品", - "operationId": "updateUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "商品ID,多个商品id用英文逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "limitation", - "in": "query", - "description": "限购功能是否打开", - "required": false, - "type": "string" - }, - { - "name": "logisticsId", - "in": "query", - "description": "运费模板ID", - "required": false, - "type": "string" - }, - { - "name": "logisticsId2", - "in": "query", - "description": "扩展运费模板ID", - "required": false, - "type": "string" - }, - { - "name": "minPrice", - "in": "query", - "description": "商品SPU现价,不会修改 SKU 的金额", - "required": false, - "type": "string" - }, - { - "name": "name", - "in": "query", - "description": "商品名称", - "required": false, - "type": "string" - }, - { - "name": "numberOrders", - "in": "query", - "description": "订单数量", - "required": false, - "type": "string" - }, - { - "name": "numberSells", - "in": "query", - "description": "销售数量", - "required": false, - "type": "string" - }, - { - "name": "originalPrice", - "in": "query", - "description": "原价", - "required": false, - "type": "string" - }, - { - "name": "paixu", - "in": "query", - "description": "排序", - "required": false, - "type": "string" - }, - { - "name": "shopId", - "in": "query", - "description": "所属门店,未归属任何门店请传0", - "required": false, - "type": "string" - }, - { - "name": "storeAlert", - "in": "query", - "description": "是否开启库存预警,true/false", - "required": false, - "type": "string" - }, - { - "name": "storeAlertNum", - "in": "query", - "description": "库存预警阈值", - "required": false, - "type": "string" - }, - { - "name": "stores", - "in": "query", - "description": "库存数", - "required": false, - "type": "string" - }, - { - "name": "stores0Unsale", - "in": "query", - "description": "库存不足是否自动下架,true/false", - "required": false, - "type": "string" - }, - { - "name": "subName", - "in": "query", - "description": "商品副标题", - "required": false, - "type": "string" - }, - { - "name": "tags", - "in": "query", - "description": "标签/关键词", - "required": false, - "type": "string" - }, - { - "name": "unit", - "in": "query", - "description": "单位: 份/瓶/箱", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoods/vet": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "审核商品", - "operationId": "vetUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "商品ID,多个商品ID请用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "vetStatus", - "in": "query", - "description": "0 待审核 1 审核通过 2 审核不通过", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoods/vet/count": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "待审核商品数量", - "operationId": "needVetCountUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoods/vetList": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "待审核商品列表", - "operationId": "vetListUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoodsCategory/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除商品分类", - "operationId": "delUsingPOST_15", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoodsCategory/info": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "商品分类详情", - "operationId": "infoUsingGET_12", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "分类id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoodsCategory/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品分类列表", - "operationId": "listUsingPOST_17", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "shopId", - "in": "query", - "description": "门店ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoodsCategory/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品分类添加/修改", - "operationId": "saveUsingPOST_12", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "分类详细介绍", - "required": false, - "type": "string" - }, - { - "name": "extJsonStr", - "in": "query", - "description": "扩展属性的JSON格式数据", - "required": false, - "type": "string" - }, - { - "name": "icon", - "description": "分类图标", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isUse", - "description": "是否启用,true 或者 false", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "key", - "description": "分类编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pic", - "description": "封面图片", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pid", - "description": "上级分类ID, 0 代表顶级分类", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "remark", - "description": "备注", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "门店ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "自定义类型,32个字符以内", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopGoodsCategory/search": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "搜索商品分类", - "operationId": "searchUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "icon", - "description": "分类图标", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isUse", - "description": "是否启用,true 或者 false", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "key", - "description": "分类编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "paixu", - "description": "排序", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pic", - "description": "封面图片", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pid", - "description": "上级分类ID, 0 代表顶级分类", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "门店ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "自定义类型,32个字符以内", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopProperty/childs": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "获取规格尺寸子属性列表", - "operationId": "childsUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "propertyId", - "in": "query", - "description": "规格尺寸ID", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopProperty/chilsInfo": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "子属性详情", - "operationId": "chilsInfoUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "子属性ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopProperty/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除规格尺寸", - "operationId": "delUsingPOST_20", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "规格尺寸id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopProperty/del/child": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除子属性", - "operationId": "delChildUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "子属性id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopProperty/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "规格尺寸列表", - "operationId": "listUsingPOST_19", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopProperty/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "规格尺寸添加/修改", - "operationId": "saveUsingPOST_17", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "remark", - "description": "备注说明", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopProperty/save/child": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "规格尺寸的子属性添加/修改", - "operationId": "saveChildUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "extJsonStr", - "in": "query", - "description": "扩展属性的JSON格式数据", - "required": false, - "type": "string" - }, - { - "name": "extJsonStr2", - "in": "query", - "description": "扩展属性的JSON格式数据2", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "propertyId", - "description": "所属规格尺寸ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "remark", - "description": "备注说明", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopSub/changeLoginAcount": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "门店修改登陆账户信息", - "operationId": "changeLoginAcountUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "门店ID", - "required": true, - "type": "string" - }, - { - "name": "pwdNew", - "in": "query", - "description": "新密码", - "required": true, - "type": "string" - }, - { - "name": "pwdOld", - "in": "query", - "description": "原来的密码", - "required": true, - "type": "string" - }, - { - "name": "username", - "in": "query", - "description": "设置登陆用户名", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopSub/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除门店", - "operationId": "delUsingPOST_21", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "需要删除的门店ID,多个门店用英文逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopSub/info": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "门店详情", - "operationId": "infoUsingGET_14", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopSub/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "门店列表", - "operationId": "listUsingPOST_20", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "addressLike", - "in": "query", - "description": "门店地址", - "required": false, - "type": "string" - }, - { - "name": "categoryId", - "description": "商家分类ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dateAddBegin", - "in": "query", - "description": "开始时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "开始时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateBegin", - "in": "query", - "description": "修改时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateEnd", - "in": "query", - "description": "修改时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "nameLike", - "in": "query", - "description": "门店名称", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "shopAreaId", - "description": "门店区域ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "showExtJson", - "in": "query", - "description": "显示扩展属性", - "required": false, - "type": "string" - }, - { - "name": "status", - "description": "状态:-1 禁用; 1 审核通过;", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "tagsLike", - "in": "query", - "description": "标签(关键词)模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "type", - "description": "门店类型", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type2", - "description": "自定义类型", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type3", - "description": "自定义类型", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type4", - "description": "自定义类型", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "workStatus", - "description": "0为营业中; 1为已打烊", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopSub/modify/recommendStatus": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "门店批量推荐(取消推荐)", - "operationId": "modifyRecommendStatusUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "门店ID", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "recommendStatus", - "in": "query", - "description": "推荐状态: 0 不推荐 1 推荐", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopSub/modify/status": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "门店批量修改状态", - "operationId": "modifyStatusUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "门店ID", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "status", - "in": "query", - "description": "-1 禁用; 0 待审核; 1 审核通过; 2 审核不通过", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopSub/pushMeituan": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "推送到美团配送平台", - "operationId": "pushMeituanUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopSub/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "门店添加/修改", - "operationId": "saveUsingPOST_18", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "activity", - "description": "打折优惠信息", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "address", - "description": "地址", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "alipayAccount", - "description": "支付宝账号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "alipayName", - "description": "支付宝真实姓名", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "businessScope", - "description": "经营范围", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "busyTimes", - "description": "忙时设置", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "categoryId", - "description": "商家分类ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "characteristic", - "description": "门店特色,最多500个字符,250个汉字", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "cityId", - "description": "城市ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "consumptionPerPerson", - "description": "人均消费金额", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "content", - "in": "query", - "description": "门店详细介绍", - "required": false, - "type": "string" - }, - { - "name": "districtId", - "description": "区县ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "expressType", - "description": "达达配送填 dada ,其他留空不要填写", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "extJsonStr", - "in": "query", - "description": "扩展属性的JSON格式数据", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "introduce", - "description": "门店简单介绍,最多500个字符,250个汉字", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "kfUrl", - "description": "客服链接", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "latitude", - "description": "地图坐标纬度", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "linkPhone", - "description": "联系电话", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "logo", - "description": "logo", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "longitude", - "description": "地图坐标经度", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "mapType", - "description": "地图坐标类型 qq baidu gaode", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "门店名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "number", - "description": "达达、美团配送的时候需要填写", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pic", - "description": "门店封面图片", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "provinceId", - "description": "省份ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pwd", - "description": "设置登陆密码,传空为不修改密码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopAreaId", - "description": "门店区域ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态:-1 禁用; 0 待审核; 1 审核通过; 2 审核不通过", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "自定义门店类型,32个字符以内", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type2", - "description": "自定义类型", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type3", - "description": "自定义类型", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type4", - "description": "自定义类型", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "username", - "description": "设置登陆用户名", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "wifiPwd", - "description": "wifi密码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "wifiSsid", - "description": "wifi名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "workStatus", - "description": "0为营业中; 1为已打烊", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "yuyueAdvanceTime", - "description": "需要提前预约的小时数", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopSub/statistics": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "门店经营数据统计", - "operationId": "statisticsUsingGET_1", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtShopSub/vetList": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "门店入驻申请列表", - "operationId": "vetListUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "addressLike", - "in": "query", - "description": "门店地址", - "required": false, - "type": "string" - }, - { - "name": "categoryId", - "description": "商家分类ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dateAddBegin", - "in": "query", - "description": "开始时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "开始时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateBegin", - "in": "query", - "description": "修改时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateEnd", - "in": "query", - "description": "修改时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "nameLike", - "in": "query", - "description": "门店名称", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "shopAreaId", - "description": "门店区域ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态:0 待审核; 2 审核不通过", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "门店类型", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtSmsConfig/del": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "删除短信验证码设置", - "operationId": "delUsingPOST_22", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtSmsConfig/info": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "获取短信验证码设置详情", - "operationId": "infoUsingGET_15", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtSmsConfig/list": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "短信验证码设置列表", - "operationId": "listUsingPOST_21", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtSmsConfig/save": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "短信验证码设置", - "operationId": "saveUsingPOST_19", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "type": "string" - }, - { - "name": "isNeedPiccode", - "in": "query", - "description": "是否需要增加图形验证码,true/false", - "required": true, - "type": "string" - }, - { - "name": "isUse", - "in": "query", - "description": "是否启用,true/false", - "required": true, - "type": "string" - }, - { - "name": "paixu", - "in": "query", - "description": "优先级,数字越小,优先级越高", - "required": true, - "type": "string", - "default": "0" - }, - { - "name": "pwd", - "in": "query", - "description": "aliyun通道表示app_secret;saiyou通道表示APPKEY;18sms,cr6868,zthysms通道表示用户密码;yunzhixun通道表示Auth Token;tencentCloud通道表示appkey;bamikeji通道表示密码", - "required": true, - "type": "string" - }, - { - "name": "signName", - "in": "query", - "description": "aliyun,cr6868填写短信签名;saiyou,18sms,tencentCloud,bamikeji,zthysms不传该参数;yunzhixun填写AppId", - "required": false, - "type": "string" - }, - { - "name": "templateContent", - "in": "query", - "description": "18sms,tencentCloud,bamikeji,zthysms,cr6868填写短信内容;其他通道不传该参数", - "required": false, - "type": "string" - }, - { - "name": "templateData", - "in": "query", - "description": "aliyun,saiyou填写短信模板数据;其他通道不传该参数", - "required": false, - "type": "string" - }, - { - "name": "templateId", - "in": "query", - "description": "aliyun,saiyou,yunzhixun填写短信模板编号;其他通道不传该参数", - "required": false, - "type": "string" - }, - { - "name": "type", - "in": "query", - "description": "短信通道编号,18sms:示远科技,saiyou:赛邮·云通讯,cr6868:创瑞,yunzhixun:云之讯,tencentCloud:腾讯云,aliyun:阿里云,bamikeji:八米科技,zthysms:上海助通", - "required": true, - "type": "string" - }, - { - "name": "userName", - "in": "query", - "description": "aliyun通道表示app_key;saiyou通道表示APPID;18sms,cr6868,zthysms通道表示用户账号;yunzhixun通道表示Account Sid;tencentCloud通道表示sdkappid;bamikeji通道表示用户ID(数字)", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUser/addNewUser": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "添加新用户", - "operationId": "addNewUserUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "avatarUrl", - "in": "query", - "description": "用户头像Url", - "required": false, - "type": "string" - }, - { - "name": "city", - "in": "query", - "description": "城市名称", - "required": false, - "type": "string" - }, - { - "name": "departmentId", - "in": "query", - "description": "所属部门ID", - "required": false, - "type": "string" - }, - { - "name": "email", - "in": "query", - "description": "电子邮箱地址, unbind 为解除手机号码绑定", - "required": false, - "type": "string" - }, - { - "name": "extJsonStr", - "in": "query", - "description": "用户的扩展属性的JSON格式", - "required": false, - "type": "string" - }, - { - "name": "grade", - "in": "query", - "description": "年级(适合做校园类小程序)", - "required": false, - "type": "string" - }, - { - "name": "isSeller", - "in": "query", - "description": "是否设置为分销商, true / false", - "required": false, - "type": "string" - }, - { - "name": "levelId", - "in": "query", - "description": "会员等级, 传 0 为取消用户等级", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "手机号码", - "required": false, - "type": "string" - }, - { - "name": "nfcCardId", - "in": "query", - "description": "nfc卡序列号", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "昵称", - "required": false, - "type": "string" - }, - { - "name": "openid", - "in": "query", - "description": "用户对应微信的openid", - "required": false, - "type": "string" - }, - { - "name": "province", - "in": "query", - "description": "省份名称", - "required": false, - "type": "string" - }, - { - "name": "pwd", - "in": "query", - "description": "登录密码", - "required": false, - "type": "string" - }, - { - "name": "remark", - "in": "query", - "description": "备注", - "required": false, - "type": "string" - }, - { - "name": "sellerLevelId", - "in": "query", - "description": "分销商等级ID", - "required": false, - "type": "string" - }, - { - "name": "serviceCities", - "in": "query", - "description": "可服务的城市ID,多个用英文逗号分隔", - "required": false, - "type": "string" - }, - { - "name": "shopId", - "in": "query", - "description": "所属门店ID", - "required": false, - "type": "string" - }, - { - "name": "source", - "in": "query", - "description": "来源 :0 小程序 1 手机注册 2 公众号 3 支付宝小程序", - "required": false, - "type": "string" - }, - { - "name": "tags", - "in": "query", - "description": "用户标签,多个标签用英文逗号分割", - "required": false, - "type": "string" - }, - { - "name": "unionid", - "in": "query", - "description": "用户对应微信的unionid", - "required": false, - "type": "string" - }, - { - "name": "username", - "in": "query", - "description": "用户名", - "required": false, - "type": "string" - }, - { - "name": "wx", - "in": "query", - "description": "微信号", - "required": false, - "type": "string" - }, - { - "name": "xiaoqu", - "in": "query", - "description": "所在校区", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUser/bindQiywWeixin": { - "get": { - "tags": [ - "用户管理" - ], - "summary": "同步企业微信联系人,通过手机号码绑定", - "operationId": "bindQiywWeixinUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUser/idcard/del": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "删除用户实名认证信息", - "operationId": "idcardDelUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUser/importFromWX": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "从微信公众号导入用户", - "operationId": "importFromWXUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUser/info/dynamicUserCode": { - "get": { - "tags": [ - "用户管理" - ], - "summary": "获取用户详情(根据动态会员码)", - "description": "有效期为1分钟,使用一次以后即刻失效", - "operationId": "infoDynamicUserCodeUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "code", - "in": "query", - "description": "动态会员码", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUser/info/mobile": { - "get": { - "tags": [ - "用户管理" - ], - "summary": "获取用户详情(根据手机号码)", - "operationId": "infoMobileUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "mobile", - "in": "query", - "description": "手机号码", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUser/info/nfc": { - "get": { - "tags": [ - "用户管理" - ], - "summary": "获取用户详情(根据nfc卡的序列号)", - "operationId": "infoNfcUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "cardId", - "in": "query", - "description": "nfc卡的序列号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUser/setToSeller": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "设置为分销商", - "operationId": "setToSellerUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "sellerLevelId", - "in": "query", - "description": "分销商等级ID", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUser/smsGroupSending": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "群发短信", - "operationId": "smsGroupSendingUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "mobiles", - "in": "query", - "description": "手机号码,多个号码用英文逗号分割, 不传该参数为给所有用户群发", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "templateId", - "in": "query", - "description": "短信模版ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUser/token": { - "get": { - "tags": [ - "用户管理" - ], - "summary": "获取用户登录token,用于三方系统登录后获得用户登录的token", - "operationId": "tokenUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserCash/list": { - "post": { - "tags": [ - "财务相关" - ], - "summary": "用户资产列表", - "operationId": "listUsingPOST_22", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "adminType", - "in": "query", - "description": "13 为门店管理员", - "required": false, - "type": "string" - }, - { - "name": "aggregate", - "in": "query", - "description": "是否返回统计数据", - "required": false, - "type": "string" - }, - { - "name": "exportBalance", - "in": "query", - "description": "导出全部有可用余额的记录", - "required": false, - "type": "string" - }, - { - "name": "exportScore", - "in": "query", - "description": "导出全部有积分的记录", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "用户昵称", - "required": false, - "type": "string" - }, - { - "name": "orderBy", - "in": "query", - "description": "排序规则:balanceUp 余额从小到大;balanceDown 余额从大到小;freezeUp 冻结从小到大;freezeDown 冻结从大到小;scoreUp 积分从小到大;scoreDown 积分从大到小;totleConsumedUp 累计消费从小到大;totleConsumedDown 累计消费从大到小", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserCash/userCash": { - "get": { - "tags": [ - "财务相关" - ], - "summary": "读取某个用户的资产", - "operationId": "userCashUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "uid", - "in": "query", - "description": "用户ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserCashPayBillDiscounts/del": { - "post": { - "tags": [ - "财务相关" - ], - "summary": "删除满减规则", - "operationId": "delUsingPOST_23", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserCashPayBillDiscounts/info/v2": { - "get": { - "tags": [ - "财务相关" - ], - "summary": "满减规则详情", - "operationId": "infoV2UsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserCashPayBillDiscounts/list": { - "post": { - "tags": [ - "财务相关" - ], - "summary": "满减规则列表", - "operationId": "listUsingPOST_23", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "shopId", - "description": "门店ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserCashPayBillDiscounts/save": { - "post": { - "tags": [ - "财务相关" - ], - "summary": "添加/修改满减规则", - "operationId": "saveUsingPOST_20", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "clearGoodsIds", - "in": "query", - "description": "解除原有商品关联关系", - "required": false, - "type": "string" - }, - { - "name": "consume", - "description": "消费金额", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "discounts", - "description": "优惠金额(可以满减多少)", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "goodsIds", - "in": "query", - "description": "关联商品编号,多个商品编号用英文逗号分隔", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "id", - "description": "记录编号,修改时候为必填", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "loop", - "description": "true/false ,假如满100减10元,用户消费200元是否直接减20元", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "openOrder", - "description": "true/false ,该规则在商城订单模块中是否启用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "openScenePay", - "description": "true/false ,该规则在优惠买单模块中是否启用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "门店ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserCashRechargeSend/del": { - "post": { - "tags": [ - "财务相关" - ], - "summary": "删除充值赠送规则", - "operationId": "delUsingPOST_24", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserCashRechargeSend/info": { - "get": { - "tags": [ - "财务相关" - ], - "summary": "充值赠送规则详情", - "operationId": "infoUsingGET_16", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserCashRechargeSend/list": { - "post": { - "tags": [ - "财务相关" - ], - "summary": "充值赠送规则列表", - "operationId": "listUsingPOST_24", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserCashRechargeSend/save": { - "post": { - "tags": [ - "财务相关" - ], - "summary": "添加/修改充值赠送规则", - "operationId": "saveUsingPOST_21", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "confine", - "description": "充值金额", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "loop", - "description": "true/false ,假如充100送10元,是否开启用户单次充值200元赠送20元", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "send", - "description": "赠送金额", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserFriend/del": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "删除用户好友关系", - "description": "uidm 和 uids 至少传一个,都传的话为 AND 条件而不是 OR 的关系", - "operationId": "delUsingPOST_25", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "uidm", - "in": "query", - "description": "清空该用户的所有好友", - "required": false, - "type": "string" - }, - { - "name": "uids", - "in": "query", - "description": "把当前用户从所有人的好友列表中删除", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserInviter/bind": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "绑定用户关系", - "operationId": "bindUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "mobilem", - "in": "query", - "description": "邀请人手机号码", - "required": false, - "type": "string" - }, - { - "name": "mobiles", - "in": "query", - "description": "注册用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "uidm", - "in": "query", - "description": "邀请人id", - "required": false, - "type": "string" - }, - { - "name": "uids", - "in": "query", - "description": "注册用户id", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserInviter/del": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "删除用户关系", - "operationId": "delUsingPOST_26", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserInviter/list": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "用户关系列表", - "operationId": "listUsingPOST_25", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "isUse", - "description": "是否生效,决定是否返佣 true / false ", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "level", - "description": "直接发展为1,间接发展为2", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobilem", - "in": "query", - "description": "邀请人手机号码", - "required": false, - "type": "string" - }, - { - "name": "mobiles", - "in": "query", - "description": "注册用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "uidm", - "description": "邀请人用户id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uids", - "description": "注册用户id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserInviter/save": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "添加/修改用户关系", - "operationId": "saveUsingPOST_22", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "记录编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "isUse", - "description": "是否生效,决定是否返佣 true / false ", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "level", - "description": "直接发展为1,间接发展为2", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "mobilem", - "in": "query", - "description": "邀请人手机号码", - "required": false, - "type": "string" - }, - { - "name": "mobiles", - "in": "query", - "description": "注册用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "uidm", - "description": "邀请人id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uids", - "description": "注册用户id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserLevel/del": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "删除会员等级", - "operationId": "delUsingPOST_27", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号,多条记录编号用英文逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserLevel/del/price": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "删除会员等级的某个收费项目", - "operationId": "delPriceUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "收费项目ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserLevel/info": { - "get": { - "tags": [ - "用户管理" - ], - "summary": "获取会员等级详情", - "operationId": "infoUsingGET_17", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserLevel/list": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "会员等级列表", - "operationId": "listUsingPOST_26", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "等级编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "状态 0-正常,1-禁用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserLevel/prices": { - "get": { - "tags": [ - "用户管理" - ], - "summary": "获取会员等级的收费列表", - "operationId": "pricesUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "会员等级ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserLevel/save": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "添加/修改会员等级", - "operationId": "saveUsingPOST_23", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "extJsonStr", - "in": "query", - "description": "扩展属性的JSON格式数据", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "记录编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "等级名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "rebate", - "description": "折扣", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态 0-正常,1-禁用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "upgradeAmount", - "description": "消费满多少金额自动升级到该会员", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "upgradeRechargeAmount", - "description": "累计充值满多少金额自动升级到该会员", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "upgradeRechargeAmountSingle", - "description": "单笔充值满多少金额自动升级到该会员", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserLevel/save/price": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "添加/修改会员等级收费项目", - "operationId": "savePriceUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "duration", - "description": "会员时长", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "levelId", - "description": "会员等级ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "price", - "description": "价格", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "unit", - "description": "单位 0 天 1 月 2 年", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserPay/add": { - "post": { - "tags": [ - "财务相关" - ], - "summary": "添加充值记录", - "operationId": "addUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "mobile", - "in": "query", - "description": "用户手机号码(用户编号和手机号码至少传一个)", - "required": false, - "type": "string" - }, - { - "name": "money", - "description": "充值金额", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "nextAction", - "description": "支付成功后的后续工作,具体详见: https://www.it120.cc/help/aetmlb.html", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "payGate", - "description": "支付网关类型: WEIXIN/WXAPP/WXH5/WXJSAPI/ALIPAY/NETBANK/OFFLINE/ALIPAY_MAN/BALANCE/REFUND/OFFLINE_REDUCE/tt_microapp/stripe/BESTPAY/XFK_XW/MICROPAYALIPAY-MICROPAY", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "payGateExt", - "description": "扩展支付类型", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "payGateTradeId", - "description": "第三方支付订单号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "remark", - "description": "支付备注说明", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "门店id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态: 0 待支付; 1 支付成功", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uid", - "description": "用户编号(用户编号和手机号码至少传一个)", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserPay/list": { - "post": { - "tags": [ - "财务相关" - ], - "summary": "充值记录列表", - "operationId": "listUsingPOST_27", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "支付时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "支付时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateBegin", - "in": "query", - "description": "更新时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateEnd", - "in": "query", - "description": "更新时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "用户昵称", - "required": false, - "type": "string" - }, - { - "name": "orderNo", - "description": "支付单号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "payGate", - "description": "支付方式", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "payGateTradeId", - "description": "支付通道订单号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态 0 未支付 1 成功 2 失败", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserPay/refund": { - "post": { - "tags": [ - "财务相关" - ], - "summary": "支付记录退款", - "description": "是针对支付记录退款,并非是订单退款,需要有所区分,此处退款,会自动扣除用户的可用余额", - "operationId": "refundUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "money", - "in": "query", - "description": "退款金额", - "required": false, - "type": "string" - }, - { - "name": "orderNo", - "in": "query", - "description": "支付单号", - "required": false, - "type": "string" - }, - { - "name": "remark", - "in": "query", - "description": "退款描述", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserPay/save": { - "post": { - "tags": [ - "财务相关" - ], - "summary": "调整用户余额", - "operationId": "saveUsingPOST_24", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "mobile", - "in": "query", - "description": "手机号码(用户编号和手机号码至少传一项)", - "required": false, - "type": "string" - }, - { - "name": "money", - "in": "query", - "description": "调整金额", - "required": true, - "type": "string" - }, - { - "name": "payGateExt", - "in": "query", - "description": "扩展支付类型", - "required": false, - "type": "string" - }, - { - "name": "remark", - "in": "query", - "description": "备注", - "required": false, - "type": "string" - }, - { - "name": "shopId", - "in": "query", - "description": "门店id", - "required": false, - "type": "string" - }, - { - "name": "uid", - "in": "query", - "description": "用户编号(用户编号和手机号码至少传一项)", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserPay/statistics": { - "post": { - "tags": [ - "财务相关" - ], - "summary": "充值统计", - "operationId": "statisticsUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "day", - "in": "query", - "description": "指定日期,格式 2020-10-10, 传 all 读取全局统计", - "required": false, - "type": "string" - }, - { - "name": "dayBegin", - "in": "query", - "description": "统计日期起,格式 2020-10-10", - "required": false, - "type": "string" - }, - { - "name": "dayEnd", - "in": "query", - "description": "统计日期止,格式 2020-11-10", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "payGate", - "in": "query", - "description": "支付方式", - "required": false, - "type": "string" - }, - { - "name": "shopId", - "in": "query", - "description": "门店ID, 传0读取无门店充值记录", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserPay/success": { - "post": { - "tags": [ - "财务相关" - ], - "summary": "充值记录手动设为成功", - "operationId": "successUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录ID", - "required": true, - "type": "string" - }, - { - "name": "payGateTradeId", - "in": "query", - "description": "第三方支付订单号", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserScoreLog/list": { - "post": { - "tags": [ - "积分模块" - ], - "summary": "用户积分记录列表", - "operationId": "listUsingPOST_28", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "behavior", - "description": "0 收入 1 支出", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dateAddBegin", - "in": "query", - "description": "交易时间起", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "交易时间止", - "required": false, - "type": "string" - }, - { - "name": "mobileUser", - "in": "query", - "description": "手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "用户昵称", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "type", - "description": "交易类型:0 注册 1 邀请好友 2 每日签到 3 兑换优惠券 4 管理员调整 5充值送 6 消费返 7 好评返积分 11 购买商品 12 积分券", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserScoreLog/save": { - "post": { - "tags": [ - "积分模块" - ], - "summary": "调整用户积分", - "operationId": "saveUsingPOST_25", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "mobile", - "in": "query", - "description": "手机号码(用户编号和手机号码至少传一项)", - "required": false, - "type": "string" - }, - { - "name": "remark", - "in": "query", - "description": "备注", - "required": false, - "type": "string" - }, - { - "name": "score", - "in": "query", - "description": "积分数量(负数表示扣除用户积分)", - "required": true, - "type": "string" - }, - { - "name": "uid", - "in": "query", - "description": "用户编号(用户编号和手机号码至少传一项)", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserScoreSignRule/del": { - "post": { - "tags": [ - "积分模块" - ], - "summary": "删除签到赠送积分规则", - "operationId": "delUsingPOST_28", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserScoreSignRule/info": { - "get": { - "tags": [ - "积分模块" - ], - "summary": "签到赠送积分规则详情", - "operationId": "infoUsingGET_18", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserScoreSignRule/list": { - "post": { - "tags": [ - "积分模块" - ], - "summary": "签到赠送积分规则列表", - "operationId": "listUsingPOST_29", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserScoreSignRule/save": { - "post": { - "tags": [ - "积分模块" - ], - "summary": "添加签到赠送积分规则", - "operationId": "saveUsingPOST_26", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "continuous", - "description": "连续签到天数", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "expireDays", - "description": "积分有效期(天)", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "score", - "description": "赠送积分数量", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserShippingAddress/del": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "删除", - "operationId": "delUsingPOST_29", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserShippingAddress/info": { - "get": { - "tags": [ - "用户管理" - ], - "summary": "获取详情", - "operationId": "infoUsingGET_19", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserShippingAddress/list": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "用户收货地址列表", - "operationId": "listUsingPOST_30", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "添加时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "添加时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateBegin", - "in": "query", - "description": "修改时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateEnd", - "in": "query", - "description": "修改时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "isDefault", - "description": "是否默认收货地址 true/false", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "description": "收件人手机", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobileUser", - "in": "query", - "description": "注册用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "注册用户昵称", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "状态 0-正常,1-禁用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtUserShippingAddress/save": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "修改收货地址", - "operationId": "saveUsingPOST_27", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "address", - "description": "详细地址", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "cityId", - "description": "城市编码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "code", - "description": "邮编", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "districtId", - "description": "区县编码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "extJsonStr", - "in": "query", - "description": "扩展属性的JSON格式数据", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "记录编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "idcard", - "description": "身份证号码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isDefault", - "description": "是否默认收货地址 true/false", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "latitude", - "description": "地图纬度", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "linkMan", - "description": "收件人", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "longitude", - "description": "地图经度", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "description": "收件人手机", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "provinceId", - "description": "省份编码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态 0-正常,1-禁用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtVerificationPicConfig/list": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "读取图片验证码设置", - "operationId": "listUsingGET_4", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtVerificationPicConfig/save": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "图片验证码设置", - "operationId": "saveUsingPOST_28", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "height", - "in": "query", - "description": "图片高度", - "required": true, - "type": "string" - }, - { - "name": "isAddEfect", - "in": "query", - "description": "是否添加干扰效果,0 不加,1加", - "required": true, - "type": "string" - }, - { - "name": "lineSpace", - "in": "query", - "description": "干扰线间距", - "required": true, - "type": "string" - }, - { - "name": "str", - "in": "query", - "description": "包含字符", - "required": true, - "type": "string" - }, - { - "name": "strLength", - "in": "query", - "description": "验证码长度", - "required": true, - "type": "string" - }, - { - "name": "width", - "in": "query", - "description": "图片宽度", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtVod/authAndAddress": { - "post": { - "tags": [ - "流媒体" - ], - "summary": "获取阿里云视频点播上传凭证", - "description": "上传视频之前需要获取凭证,有了凭证才能上传视频", - "operationId": "authAndAddressUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "fileName", - "in": "query", - "description": "上传的视频文件名称,视频源文件名称(必须带后缀, 支持 \".3gp\", \".asf\", \".avi\", \".dat\", \".dv\", \".flv\", \".f4v\", \".gif\", \".m2t\", \".m3u8\", \".m4v\", \".mj2\", \".mjpeg\", \".mkv\", \".mov\", \".mp4\", \".mpe\", \".mpg\", \".mpeg\", \".mts\", \".ogg\", \".qt\", \".rm\", \".rmvb\", \".swf\", \".ts\", \".vob\", \".wmv\", \".webm\"\".aac\", \".ac3\", \".acm\", \".amr\", \".ape\", \".caf\", \".flac\", \".m4a\", \".mp3\", \".ra\", \".wav\", \".wma\")", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtVod/changeCover": { - "post": { - "tags": [ - "流媒体" - ], - "summary": "修改视频点播封面图片", - "operationId": "changeCoverUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "coverUrl", - "in": "query", - "description": "分明图片URL", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "修改记录ID(数字类型,并非是视频编号)", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtVod/del": { - "post": { - "tags": [ - "流媒体" - ], - "summary": "删除视频点播", - "operationId": "delUsingPOST_30", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtVod/list": { - "post": { - "tags": [ - "流媒体" - ], - "summary": "视频点播列表", - "operationId": "listUsingPOST_31", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "添加时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "添加时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUploadBegin", - "in": "query", - "description": "更新时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUploadEnd", - "in": "query", - "description": "更新时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "titleLike", - "in": "query", - "description": "标题", - "required": false, - "type": "string" - }, - { - "name": "videoId", - "description": "视频编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtVod/tcVodAddFile": { - "post": { - "tags": [ - "流媒体" - ], - "summary": "腾讯云上传成功后添加视频信息", - "operationId": "tcVodAddFileUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "size", - "description": "视频文件大小(字节)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "title", - "description": "标题", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "url", - "in": "query", - "description": "视频地址", - "required": true, - "type": "string" - }, - { - "name": "videoId", - "description": "视频ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/apiExtVod/tcVodSignature": { - "get": { - "tags": [ - "流媒体" - ], - "summary": "获取腾讯云视频点播上传凭证", - "description": "上传视频之前需要获取凭证,有了凭证才能上传视频", - "operationId": "tcVodSignatureUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "procedure", - "in": "query", - "description": "视频后续处理操作任务流模板名", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/app/bindCid": { - "post": { - "tags": [ - "APP相关接口" - ], - "summary": "绑定cid", - "operationId": "bindCidUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "cid", - "in": "query", - "description": "个推推送的客户ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/app/unbindCid": { - "post": { - "tags": [ - "APP相关接口" - ], - "summary": "解除绑定cid", - "operationId": "unbindCidUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "cid", - "in": "query", - "description": "个推推送的客户ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/auth": { - "post": { - "tags": [ - "站点信息" - ], - "summary": "当前登录账号信息", - "operationId": "authUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "uri", - "in": "query", - "description": "需要检测的请求地址权限", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/blindBoxFriends/del": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "删除盲盒交友信息", - "operationId": "delUsingPOST_31", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "盲盒id, 多个项目用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/blindBoxFriends/info": { - "get": { - "tags": [ - "活动&工具" - ], - "summary": "盲盒交友信息详情", - "operationId": "infoUsingGET_20", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "盲盒id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/blindBoxFriends/list": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "盲盒交友信息列表", - "operationId": "listUsingPOST_33", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "盲盒id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "状态: 0 未支付 1 已支付,待审核 2 审核失败 3 投放中 31 停止投放", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/blindBoxFriends/update": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "编辑盲盒交友信息", - "operationId": "updateUsingPOST_2", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "盲盒id, 多个项目用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "remark", - "description": "备注", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态: 0 未支付 1 已支付,待审核 2 审核失败 3 投放中 31 停止投放", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/blindBoxFriendsSetting/info": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "读取盲盒交友设置", - "operationId": "infoUsingGET_21", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/blindBoxFriendsSetting/rechargeRules": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "设置盲盒解锁次数购买赠送规则", - "description": "使用多少积分可以兑换多少投票数,用于票数用完的场景", - "operationId": "rechargeRulesUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "不传改参数为读取现有的设置项,传了该参数为设置,格式: [{\"confine\": 30, \"send\": 10}]", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/blindBoxFriendsSetting/save": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "盲盒交友设置", - "operationId": "saveUsingPOST_29", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "freePullTimes", - "description": "免费解锁次数", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "freePushTimes", - "description": "免费投放次数", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pullAmount", - "description": "解锁一次需要的价格", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pushAmount", - "description": "投放一次需要的价格", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cardConsumeLog/list": { - "post": { - "tags": [ - "会员卡" - ], - "summary": "会员卡消费记录", - "operationId": "listUsingPOST_34", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "behavior", - "description": "0 收入; 1 支出", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "cardId", - "description": "用户会员卡ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dateAddBegin", - "in": "query", - "description": "支付时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "支付时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "用户昵称", - "required": false, - "type": "string" - }, - { - "name": "orderId", - "description": "业务订单号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "type", - "description": "消费类型 0 开卡 1调整 2购买商品 21关闭订单退回", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cardInfo/del": { - "post": { - "tags": [ - "会员卡" - ], - "summary": "删除会员卡", - "operationId": "delUsingPOST_32", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cardInfo/info": { - "get": { - "tags": [ - "会员卡" - ], - "summary": "会员卡详情", - "operationId": "infoUsingGET_22", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cardInfo/list": { - "post": { - "tags": [ - "会员卡" - ], - "summary": "会员卡列表", - "operationId": "listUsingPOST_35", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "mobile", - "description": "用户手机号码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "nick", - "description": "用户昵称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "0 正常使用 1 停用 2 用完 3 过期", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "0 次卡 1 储值卡", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cardInfo/save": { - "post": { - "tags": [ - "会员卡" - ], - "summary": "添加/编辑会员卡", - "operationId": "saveUsingPOST_30", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "amount", - "description": "剩余数量", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "endType", - "description": "0 永久有效; 1 固定到期日; 2 首次使用后开始计算到期日;", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号,修改的时候需要传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "会员卡名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "price", - "description": "用户可以花多少钱购买该卡", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "refs", - "description": "使用对象,可以限制在线消费的商品;例: 0:123,1:456 其中0为分类1为商品", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopIds", - "description": "可以使用该会员卡的门店ID,多个门店之间用英文逗号分隔,不传代表不限制门店", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "0 正常 1 停用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "类型: 0 次卡; 1 储值卡, 指定后不可以修改类型", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "validDays", - "description": "有效天数", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cardInfo/send": { - "post": { - "tags": [ - "会员卡" - ], - "summary": "赠送会员卡给指定用户", - "operationId": "sendUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "会员卡id", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "手机号码(用户编号和手机号码至少传一项)", - "required": false, - "type": "string" - }, - { - "name": "uid", - "in": "query", - "description": "用户编号(用户编号和手机号码至少传一项)", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cardTicket/create": { - "post": { - "tags": [ - "会员卡" - ], - "summary": "批量会员卡口令", - "operationId": "createUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "cardId", - "in": "query", - "description": "会员卡规则的ID", - "required": false, - "type": "string" - }, - { - "name": "number", - "in": "query", - "description": "需要创建的口令数量, 单次添加不能超过1万个", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cardTicket/del": { - "post": { - "tags": [ - "会员卡" - ], - "summary": "删除会员卡口令", - "operationId": "delUsingPOST_33", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "口令记录的ID,多个用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cardTicket/list": { - "post": { - "tags": [ - "会员卡" - ], - "summary": "会员卡口令列表", - "operationId": "listUsingPOST_36", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "cardId", - "description": "会员卡规则的ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "in": "query", - "description": "领取用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "领取用户昵称", - "required": false, - "type": "string" - }, - { - "name": "number", - "description": "券号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cardUser/adjust": { - "post": { - "tags": [ - "会员卡" - ], - "summary": "调整用户的会员卡余额", - "operationId": "adjustUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "amount", - "in": "query", - "description": "调整数量,正数增加;负数扣除", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cardUser/del": { - "post": { - "tags": [ - "会员卡" - ], - "summary": "删除用户的会员卡", - "operationId": "delUsingPOST_34", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cardUser/disable": { - "post": { - "tags": [ - "会员卡" - ], - "summary": "禁用用户的会员卡", - "operationId": "disableUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cardUser/enable": { - "post": { - "tags": [ - "会员卡" - ], - "summary": "启用用户的会员卡", - "operationId": "enableUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "记录编号,多个编号用英文逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cardUser/list": { - "post": { - "tags": [ - "会员卡" - ], - "summary": "用户会员卡列表", - "operationId": "listUsingPOST_37", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "cardId", - "description": "会员卡ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "in": "query", - "description": "用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "用户昵称", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "0 正常使用 1 停用 2 用完 3 过期", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cashRegisterSetting/info": { - "get": { - "tags": [ - "微信小程序" - ], - "summary": "apifm收银机商户设置", - "operationId": "infoUsingGET_23", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cashlessvoucher/create": { - "post": { - "tags": [ - "支付宝小程序" - ], - "summary": "无资金券模板创建", - "operationId": "createUsingPOST_2", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "brandName", - "in": "query", - "description": "品牌名", - "required": true, - "type": "string" - }, - { - "name": "voucherDescription", - "in": "query", - "description": "券使用说明", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cashlessvoucher/query": { - "get": { - "tags": [ - "支付宝小程序" - ], - "summary": "查询模板详情", - "operationId": "queryUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "template_id", - "in": "query", - "description": "券模板ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cashlessvoucher/queryVoucher": { - "get": { - "tags": [ - "支付宝小程序" - ], - "summary": "查询券详情", - "operationId": "queryVoucherUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "voucher_id", - "in": "query", - "description": "券模板ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cashlessvoucher/send": { - "post": { - "tags": [ - "支付宝小程序" - ], - "summary": "发券", - "operationId": "sendUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "login_id", - "in": "query", - "description": "支付宝登录ID,手机或邮箱 。user_id, login_id, taobao_nick不能同时为空,优先级依次降低", - "required": false, - "type": "string" - }, - { - "name": "taobao_nick", - "in": "query", - "description": "淘宝昵称 。user_id, login_id, taobao_nick不能同时为空,优先级依次降低", - "required": false, - "type": "string" - }, - { - "name": "template_id", - "in": "query", - "description": "券模板ID", - "required": false, - "type": "string" - }, - { - "name": "user_id", - "in": "query", - "description": "支付宝用户ID 。user_id, login_id, taobao_nick不能同时为空,优先级依次降低", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUser/del": { - "post": { - "tags": [ - "工厂设置" - ], - "summary": "删除我的客户", - "operationId": "delUsingPOST_36", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "用户ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUser/info": { - "get": { - "tags": [ - "工厂设置" - ], - "summary": "我的客户详情", - "operationId": "infoUsingGET_24", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "客户用户ID", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUser/list": { - "post": { - "tags": [ - "工厂设置" - ], - "summary": "我的客户列表", - "operationId": "listUsingPOST_41", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "开通时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "开通时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "domain", - "description": "域名", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "merchantNo", - "description": "商户号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "description": "用户名", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "orderBy", - "in": "query", - "description": "排序规则:idAsc 开户时间早优先,idDesc 开户时间晚优先,loginAsc 登陆时间早优先,loginDesc 登陆时间晚优先,dateExt1Asc 自定义时间早优先,dateExt1Desc 自定义时间晚优先", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "realNameLike", - "in": "query", - "description": "真实姓名", - "required": false, - "type": "string" - }, - { - "name": "status", - "description": "状态:-1 删除 0 默认 1 禁用 2 密码锁定", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUser/save": { - "post": { - "tags": [ - "工厂设置" - ], - "summary": "添加/修改我的客户信息", - "operationId": "saveUsingPOST_32", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateExt1Str", - "in": "query", - "description": "自定义时间,比如自定义客户的到期时间", - "required": false, - "type": "string" - }, - { - "name": "domain", - "description": "专属域名,例如 http://aaa.bbb.com,这里只要传 aaa 即可", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的用户id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "priceMonth", - "description": "客户月费金额", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "priceYear", - "description": "客户年费金额", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pwd", - "description": "密码,添加时候必传,修改的时候可以不传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "realName", - "description": "真实姓名", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "remark2", - "description": "自定义备注信息", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态:-1 删除 0 默认 1 禁用 2 密码锁定", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserAliappKey/del": { - "post": { - "tags": [ - "支付宝小程序" - ], - "summary": "删除当前支付宝小程序配置", - "operationId": "delUsingPOST_35", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserAliappKey/info": { - "get": { - "tags": [ - "支付宝小程序" - ], - "summary": "获取当前appid和privateKey配置", - "operationId": "listUsingGET_5", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserAliappKey/save": { - "post": { - "tags": [ - "支付宝小程序" - ], - "summary": "配置appid和privateKey", - "operationId": "saveUsingPOST_31", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "appid", - "description": "appid", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "encryptKey", - "description": "信息解密AES 解密密钥", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "privateKey", - "description": "privateKey", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserApi/buy": { - "get": { - "tags": [ - "工厂设置" - ], - "summary": "暂时模块可购买的套餐列表", - "operationId": "buyUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "模块ID", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserApi/install": { - "post": { - "tags": [ - "工厂设置" - ], - "summary": "安装模块", - "operationId": "installUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "模块ID,多个模块用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserApi/list": { - "post": { - "tags": [ - "工厂设置" - ], - "summary": "已安装模块列表", - "operationId": "listUsingPOST_38", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserApi/removeAll": { - "post": { - "tags": [ - "工厂设置" - ], - "summary": "一键移除所有模块", - "operationId": "removeAllUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserApi/uninstall": { - "post": { - "tags": [ - "工厂设置" - ], - "summary": "卸载模块", - "operationId": "uninstallUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "模块ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserCash/cashlogs": { - "post": { - "tags": [ - "代理商模块" - ], - "summary": "商户资金流水列表", - "operationId": "cashlogsUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "behavior", - "description": "0 收入; 1 支出", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dateAddBegin", - "in": "query", - "description": "支付时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "支付时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "商户账号", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "realName", - "in": "query", - "description": "商户名称", - "required": false, - "type": "string" - }, - { - "name": "type", - "description": "交易类型 0 充值 1 返佣 2 提现 3 购买插件 4 管理员调整", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "userId", - "description": "商户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserCash/list": { - "post": { - "tags": [ - "代理商模块" - ], - "summary": "商户资产列表", - "operationId": "listUsingPOST_39", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "商户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "in": "query", - "description": "商户账号", - "required": false, - "type": "string" - }, - { - "name": "orderBy", - "in": "query", - "description": "排序规则:balanceUp 余额从小到大;balanceDown 余额从大到小;freezeUp 冻结从小到大;freezeDown 冻结从大到小;scoreUp 积分从小到大;scoreDown 积分从大到小;", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "realName", - "in": "query", - "description": "商户名称", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserCash/modify": { - "post": { - "tags": [ - "代理商模块" - ], - "summary": "调整商户余额", - "operationId": "modifyUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "商户编号(商户编号和商户账号至少传一项)", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "商户账号(商户编号和商户账号至少传一项)", - "required": false, - "type": "string" - }, - { - "name": "money", - "in": "query", - "description": "调整金额,扣除金额使用负数", - "required": true, - "type": "string" - }, - { - "name": "remark", - "in": "query", - "description": "备注", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserCashLog/list": { - "post": { - "tags": [ - "站点信息" - ], - "summary": "账务明细", - "description": "是工厂的账务明细,并非是用户的账务明细,千万不要混淆", - "operationId": "listUsingPOST_40", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "behavior", - "description": "0 收入; 1 支出", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dateAddBegin", - "in": "query", - "description": "支付时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "支付时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "remarkLike", - "in": "query", - "description": "备注关键词搜索", - "required": false, - "type": "string" - }, - { - "name": "type", - "description": "交易类型 0 充值 1 返佣 2 提现 3 购买插件 4 管理员调整", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserCashLog/recharge": { - "post": { - "tags": [ - "站点信息" - ], - "summary": "充值", - "description": "是后台的充值,并非是用户的充值,千万不要混淆", - "operationId": "rechargeUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "money", - "in": "query", - "description": "充值金额", - "required": true, - "type": "string" - }, - { - "name": "payType", - "in": "query", - "description": "alipay wx", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserResourceBundle/buy/mobile": { - "get": { - "tags": [ - "资源包管理" - ], - "summary": "购买资源包-手机支付宝付款", - "description": "vod_100:100元视频包;vod_500:500元视频包,vod_1000:1000元视频包,vod_2000:2000元视频包", - "operationId": "buyMobileUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "key", - "in": "query", - "description": "资源包编码", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserResourceBundle/buy/pc": { - "get": { - "tags": [ - "资源包管理" - ], - "summary": "购买资源包-PC支付宝付款", - "description": "vod_100:100元视频包;vod_500:500元视频包,vod_1000:1000元视频包,vod_2000:2000元视频包", - "operationId": "buyPcUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "key", - "in": "query", - "description": "资源包编码", - "required": true, - "type": "string" - }, - { - "name": "payType", - "in": "query", - "description": "alipay wx", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserResourceBundle/del": { - "post": { - "tags": [ - "资源包管理" - ], - "summary": "删除资源包", - "operationId": "delUsingPOST_38", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "资源包id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserResourceBundle/info": { - "get": { - "tags": [ - "资源包管理" - ], - "summary": "查看资源包详情", - "operationId": "infoUsingGET_27", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "资源包id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserResourceBundle/list": { - "post": { - "tags": [ - "资源包管理" - ], - "summary": "查看购买的资源包", - "operationId": "listUsingPOST_43", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "添加时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "添加时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateBegin", - "in": "query", - "description": "更新时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateEnd", - "in": "query", - "description": "更新时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "isPay", - "description": "是否已支付", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserSetKeloop/del": { - "post": { - "tags": [ - "快跑者配送" - ], - "summary": "删除快跑者设置", - "operationId": "delUsingPOST_40", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserSetKeloop/info": { - "get": { - "tags": [ - "快跑者配送" - ], - "summary": "读取快跑者设置信息", - "operationId": "infoUsingGET_29", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserSetKeloop/save": { - "post": { - "tags": [ - "快跑者配送" - ], - "summary": "快跑者设置", - "operationId": "saveUsingPOST_35", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "devKey", - "description": "开发秘钥", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "devSecret", - "description": "签名秘钥", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "isUse", - "description": "是否开启快跑者配送服务", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "platformName", - "description": "平台名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "teamToken", - "description": "团队秘钥", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserSetLive/del": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "删除云直播配置", - "operationId": "delUsingPOST_41", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserSetLive/info": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "云直播配置详情", - "operationId": "infoUsingGET_30", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserSetLive/list": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "云直播配置信息", - "operationId": "listUsingGET_7", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserSetLive/save": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "云直播配置", - "operationId": "saveUsingPOST_36", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "callbackEventKey", - "description": "事件回调鉴权KEY", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号,修改的时候需要传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "配置名称,任意命名,方便标识", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pullDomain", - "description": "拉流域名", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pullKey", - "description": "拉流鉴权KEY,不传表示不鉴权", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pushDomain", - "description": "推流域名", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pushKey", - "description": "推流鉴权KEY", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "0 腾讯云直播", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserSetOrder/info": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "读取订单设置信息", - "operationId": "infoUsingGET_32", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserSetOrder/save": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "订单设置", - "operationId": "saveUsingPOST_38", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "afterSaleAddress", - "description": "售后收货地址", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "autoDeliveryDays", - "description": "发货后超过N天后自动确认收货", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "autoReputationDays", - "description": "确认收货后超过N天后自动好评", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "benefitFreightToshop", - "description": "分润运费是否给门店", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "benefitOpen", - "description": "是否开启分润功能", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "closeMinute", - "description": "下单N分钟后自动关闭订单", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "dadaAutoSubmit", - "description": "如果使用达达配送,是否自动将订单提交给达达", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "endDays", - "description": "确认收货后超过N天后不允许售后", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "gotScoreStatus", - "description": "购买商品赠送的积分,何时赠送给用户,支付完(1)还是确认收货后(3)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "hxRole", - "description": "订单是否只能被归属门店管理员核销", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "sendToPeisong", - "description": "是否和配送模块对接", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "smsRemindNeworder", - "description": "是否开启新订单短信提醒", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "smsRemindNeworderMobiles", - "description": "新订单短信提醒接收手机号码,多个手机用英文逗号分割", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "thirdPeisongFeeMod", - "description": "三方配送费谁承担,0 商家; 1 用户", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "wxaOrderUploadShippingInfo", - "description": "微信小程序是否自动录入订单发货信息", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserSetQq/del": { - "post": { - "tags": [ - "QQ小程序" - ], - "summary": "删除当前QQ小程序配置", - "operationId": "delUsingPOST_43", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserSetQq/list": { - "get": { - "tags": [ - "QQ小程序" - ], - "summary": "读取QQ小程序当前配置", - "operationId": "listUsingGET_8", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserSetQq/qrcode": { - "post": { - "tags": [ - "QQ小程序" - ], - "summary": "获取QQ小程序二维码(正方形的)", - "operationId": "qrcodeUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "页面路径,如: pages/index/index", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserSetQq/save": { - "post": { - "tags": [ - "QQ小程序" - ], - "summary": "修改QQ小程序配置", - "operationId": "saveUsingPOST_39", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "appid", - "description": "appid", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "secret", - "description": "secret", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserSetVod/del": { - "post": { - "tags": [ - "流媒体" - ], - "summary": "删除vod视频点播设置", - "operationId": "delUsingPOST_45", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "type", - "in": "query", - "description": "aliyun / tencent", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserSetVod/info": { - "get": { - "tags": [ - "流媒体" - ], - "summary": "读取vod视频点播设置详情", - "operationId": "infoUsingGET_34", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "type", - "in": "query", - "description": "aliyun / tencent", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserSetVod/list": { - "get": { - "tags": [ - "流媒体" - ], - "summary": "读取vod视频点播设置", - "operationId": "listUsingGET_9", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserSetVod/save": { - "post": { - "tags": [ - "流媒体" - ], - "summary": "vod视频点播设置", - "operationId": "saveUsingPOST_41", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "accessKeyId", - "description": "AccessKey ID 和 AccessKey Secret 是您访问阿里云 API 的密钥", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "procedure", - "description": "腾讯云视频后续处理操作任务流模板名", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "regionId", - "description": "地域代码,阿里云点播的话必填,https://help.aliyun.com/document_detail/98194.htm", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "secret", - "description": "AccessKey ID 和 AccessKey Secret 是您访问阿里云 API 的密钥", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "aliyun / tencent", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserWxKey/del": { - "post": { - "tags": [ - "微信小程序" - ], - "summary": "删除当前小程序配置", - "operationId": "delUsingPOST_47", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserWxKey/list": { - "get": { - "tags": [ - "微信小程序" - ], - "summary": "读取小程序当前配置", - "operationId": "listUsingGET_11", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserWxKey/qrcode": { - "post": { - "tags": [ - "微信小程序" - ], - "summary": "获取小程序二维码(正方形的)", - "operationId": "qrcodeUsingPOST_3", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "页面路径,如: pages/index/index", - "required": false, - "type": "string" - }, - { - "name": "width", - "in": "query", - "description": "二维码的宽度", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/centerUserWxKey/save": { - "post": { - "tags": [ - "微信小程序" - ], - "summary": "修改小程序配置", - "operationId": "saveUsingPOST_43", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "appid", - "description": "appid", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "protection", - "in": "query", - "description": "如果传true,除了当前小程序外别的小程序将无法访问所有接口", - "required": false, - "type": "string" - }, - { - "name": "secret", - "description": "secret", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "token", - "description": "消息推送的token,一般不用配置", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/changeDomain": { - "post": { - "tags": [ - "站点信息" - ], - "summary": "修改专属域名", - "operationId": "changeDomainUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "domain", - "in": "query", - "description": "专属域名,只能是数字和大小写字母的组合", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/changeName": { - "post": { - "tags": [ - "站点信息" - ], - "summary": "修改真实姓名", - "operationId": "changeNameUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "realName", - "in": "query", - "description": "真实姓名", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/checkToken": { - "get": { - "tags": [ - "登录及授权" - ], - "summary": "token有效性校验", - "description": "状态码0表示有效;100000表示token无效;100001表示token过期", - "operationId": "indexUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/ckInfo/del": { - "post": { - "tags": [ - "仓储管理" - ], - "summary": "删除仓库", - "operationId": "delUsingPOST_48", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/ckInfo/info": { - "get": { - "tags": [ - "仓储管理" - ], - "summary": "仓库详情", - "operationId": "infoUsingGET_35", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/ckInfo/list": { - "post": { - "tags": [ - "仓储管理" - ], - "summary": "仓库列表", - "operationId": "listUsingPOST_46", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "code", - "description": "编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/ckInfo/queryOrderCK": { - "get": { - "tags": [ - "仓储管理" - ], - "summary": "查询某个订单的服务仓库", - "operationId": "queryOrderCKUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "orderIds", - "in": "query", - "description": "订单ID,多个订单用英文逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/ckInfo/save": { - "post": { - "tags": [ - "仓储管理" - ], - "summary": "仓库设置", - "operationId": "saveUsingPOST_44", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "address", - "description": "仓库地址", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "code", - "description": "编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "content", - "in": "query", - "description": "仓库负责的区域数组: [{regionId: '330000000000', regionStr: '浙江省'}]", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "记录编号,修改的时候需要传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "linkMan", - "description": "联系人", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "linkPhone", - "description": "联系电话", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/ckOrder/add": { - "post": { - "tags": [ - "仓储管理" - ], - "summary": "录入入库单", - "operationId": "addUsingPOST_2", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ckId", - "description": "仓库ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "goodsJsonStr", - "in": "query", - "description": "商品、规格尺寸、数量信息的数组,如:[{\"goodsId\":11,\"number\":2,\"propertyChildIds\":\"\", \"property\": \"\",\"amount\":\"单价\",\"remark\":\"备注\"}]", - "required": true, - "type": "string" - }, - { - "name": "remark", - "description": "备注", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/ckOrder/del": { - "post": { - "tags": [ - "仓储管理" - ], - "summary": "删除入库单", - "operationId": "delUsingPOST_49", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/ckOrder/info": { - "get": { - "tags": [ - "仓储管理" - ], - "summary": "入库单详情", - "operationId": "infoUsingGET_36", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/ckOrder/list": { - "post": { - "tags": [ - "仓储管理" - ], - "summary": "入库单列表", - "operationId": "listUsingPOST_47", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/ckStock/del": { - "post": { - "tags": [ - "仓储管理" - ], - "summary": "删除库存记录", - "operationId": "delUsingPOST_50", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/ckStock/list": { - "post": { - "tags": [ - "仓储管理" - ], - "summary": "库存列表", - "operationId": "listUsingPOST_48", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ckId", - "description": "仓库ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "goodsId", - "description": "商品ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "goodsIds", - "in": "query", - "description": "商品ID批量搜索", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "goodsNameLike", - "in": "query", - "description": "商品搜索关键词", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/ckStockLogs/list": { - "post": { - "tags": [ - "仓储管理" - ], - "summary": "出入库明细记录", - "operationId": "listUsingPOST_49", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "behavior", - "description": "入库传0;出库传1", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "ckId", - "description": "仓库ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "goodsId", - "description": "商品ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "goodsIds", - "in": "query", - "description": "商品ID批量搜索", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "goodsNameLike", - "in": "query", - "description": "商品搜索关键词", - "required": false, - "type": "string" - }, - { - "name": "orderNumber", - "description": "订单号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/collectCard/create": { - "post": { - "tags": [ - "收藏卡片" - ], - "summary": "批量创建卡片", - "operationId": "createUsingPOST_3", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "categoryId", - "in": "query", - "description": "分类ID", - "required": false, - "type": "string" - }, - { - "name": "number", - "in": "query", - "description": "需要创建的数量", - "required": true, - "type": "string" - }, - { - "name": "productName", - "in": "query", - "description": "物品名称", - "required": true, - "type": "string" - }, - { - "name": "productPic", - "in": "query", - "description": "物品图片", - "required": false, - "type": "string" - }, - { - "name": "remark", - "in": "query", - "description": "备注", - "required": false, - "type": "string" - }, - { - "name": "type", - "in": "query", - "description": "券码类型: 0为默认(券号和密码均为数字+字母的8位字符串); 1(券号7位纯数字,密码5位纯数字)", - "required": false, - "type": "string", - "default": "0" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/collectCard/del": { - "post": { - "tags": [ - "收藏卡片" - ], - "summary": "删除卡片", - "operationId": "delUsingPOST_52", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "记录编号,多个用英文逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/collectCard/info": { - "get": { - "tags": [ - "收藏卡片" - ], - "summary": "卡片详情", - "operationId": "infoUsingGET_38", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/collectCard/invalid": { - "post": { - "tags": [ - "收藏卡片" - ], - "summary": "作废优惠券动态口令", - "operationId": "invalidUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "记录编号,多个用英文逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/collectCard/list": { - "post": { - "tags": [ - "收藏卡片" - ], - "summary": "卡片列表", - "operationId": "listUsingPOST_50", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "categoryId", - "description": "分类ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dateAddBegin", - "in": "query", - "description": "添加时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "添加时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateBegin", - "in": "query", - "description": "修改时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateEnd", - "in": "query", - "description": "修改时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "领取用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "领取用户昵称", - "required": false, - "type": "string" - }, - { - "name": "number", - "description": "卡号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "状态:0 未使用 1 已使用 2 作废", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uid", - "description": "持有用户ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/collectCardCategory/del": { - "post": { - "tags": [ - "收藏卡片" - ], - "summary": "删除分类", - "operationId": "delUsingPOST_51", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/collectCardCategory/info": { - "get": { - "tags": [ - "收藏卡片" - ], - "summary": "分类详情", - "operationId": "infoUsingGET_37", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "分类id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/collectCardCategory/list": { - "get": { - "tags": [ - "收藏卡片" - ], - "summary": "分类列表", - "operationId": "listUsingGET_12", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/collectCardCategory/save": { - "post": { - "tags": [ - "收藏卡片" - ], - "summary": "分类添加/修改", - "operationId": "saveUsingPOST_45", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/collectCardHis/list": { - "post": { - "tags": [ - "收藏卡片" - ], - "summary": "绑定记录管理", - "operationId": "listUsingPOST_51", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateBindBegin", - "in": "query", - "description": "绑定时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateBindEnd", - "in": "query", - "description": "绑定时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUnbindBegin", - "in": "query", - "description": "解绑时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUnbindEnd", - "in": "query", - "description": "解绑时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "isBind", - "description": "true 绑定中;false 已解绑", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "description": "绑定用户手机号码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "no", - "description": "业务订单号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "number", - "in": "query", - "description": "卡号", - "required": false, - "type": "string" - }, - { - "name": "orderNumber", - "description": "系统订单号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "uid", - "description": "绑定用户ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/collectCardHis/setNo": { - "post": { - "tags": [ - "收藏卡片" - ], - "summary": "设置业务订单号", - "operationId": "setNoUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录ID", - "required": true, - "type": "string" - }, - { - "name": "no", - "in": "query", - "description": "业务订单号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/contact/del": { - "post": { - "tags": [ - "站点信息" - ], - "summary": "删除联系客服", - "operationId": "delUsingPOST_53", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录id", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/contact/info": { - "get": { - "tags": [ - "站点信息" - ], - "summary": "联系客服详情", - "operationId": "infoUsingGET_39", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/contact/list": { - "post": { - "tags": [ - "站点信息" - ], - "summary": "联系客服列表", - "operationId": "listUsingPOST_52", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/contact/save": { - "post": { - "tags": [ - "站点信息" - ], - "summary": "联系客服设置", - "operationId": "saveUsingPOST_46", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "t", - "description": "客服类型: qq,wx,tel,mail,txt,pic", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "v", - "description": "客服联系方式", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/copyData/typeA": { - "post": { - "tags": [ - "工厂设置" - ], - "summary": "数据克隆A", - "description": "将当前后台的所有数据克隆到下面用户名/密码对应的账号下,下面账号下的数据将会被清空", - "operationId": "typeAUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "mobile", - "in": "query", - "description": "用户名(通常为手机号码)", - "required": false, - "type": "string" - }, - { - "name": "pwd", - "in": "query", - "description": "登录密码", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/copyData/typeB": { - "post": { - "tags": [ - "工厂设置" - ], - "summary": "数据克隆B", - "description": "清空当前登录的后台,并且将下面商户的数据克隆到当前后台", - "operationId": "typeBUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "merchantId", - "in": "query", - "description": "对方商户ID", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/couponMerge/del": { - "post": { - "tags": [ - "红包优惠券" - ], - "summary": "删除", - "operationId": "delUsingPOST_54", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/couponMerge/info": { - "get": { - "tags": [ - "红包优惠券" - ], - "summary": "优惠券合并规则详情", - "operationId": "infoUsingGET_40", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/couponMerge/list": { - "post": { - "tags": [ - "红包优惠券" - ], - "summary": "优惠券合并规则列表", - "operationId": "listUsingPOST_53", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/couponMerge/save": { - "post": { - "tags": [ - "红包优惠券" - ], - "summary": "修改优惠券合并规则", - "operationId": "saveUsingPOST_47", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "合并规则,格式如:[{\"type\":0,\"couponId\":\"666\",\"number\":1},{\"type\":1,\"couponId\":\"444\",\"number\":1}]", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "记录编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "isUse", - "description": "是否启用: true/false", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "规则名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpactivityInfo/del": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "删除cp匹配活动", - "operationId": "delUsingPOST_55", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "抽奖项目ID, 多个项目用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpactivityInfo/info": { - "get": { - "tags": [ - "活动&工具" - ], - "summary": "cp匹配活动详情", - "operationId": "infoUsingGET_41", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "抽奖id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpactivityInfo/joinList": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "cp匹配活动报名记录列表", - "operationId": "joinListUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "cpactivityId", - "description": "活动id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "cpuid", - "description": "匹配用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "showExtJson", - "in": "query", - "description": "显示扩展属性", - "required": false, - "type": "string" - }, - { - "name": "showShopInfo", - "in": "query", - "description": "显示所属门店信息", - "required": false, - "type": "string" - }, - { - "name": "status", - "description": "状态 0 匹配中 1 匹配失败 2 匹配成功", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uid", - "description": "报名用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpactivityInfo/list": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "cp匹配活动列表", - "operationId": "listUsingPOST_54", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "活动id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "number", - "description": "第几期", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpactivityInfo/save": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "cp匹配活动添加/修改", - "operationId": "saveUsingPOST_48", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "amountBoy", - "description": "男生报名费", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "amountGirl", - "description": "女生报名费", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dateDeadlineStr", - "in": "query", - "description": "报名截至日期,格式: 2019-05-23 12:30:00", - "required": false, - "type": "string" - }, - { - "name": "dateMatchStr", - "in": "query", - "description": "结果公布日期,格式: 2019-05-23 12:30:00", - "required": false, - "type": "string" - }, - { - "name": "dateStartStr", - "in": "query", - "description": "报名开始日期,格式: 2019-05-23 12:30:00", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "kfQrcode", - "description": "客服二维码图片地址", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pic", - "description": "封面图片", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "title", - "description": "标题", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpactivityInfo/uploadMatch": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "cp匹配活动批量导入匹配结果", - "description": "结果中未匹配到的将做失败处理", - "operationId": "uploadMatchUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "格式 [{cpactivityId: 123, uid: 456, cpuid: 789}] ,匹配失败的 cpuid 传空或者不传", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpactivityInfo/userInfo": { - "get": { - "tags": [ - "活动&工具" - ], - "summary": "cp匹配活动查看用户交友信息", - "operationId": "userInfoUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "uid", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpsJd/del": { - "post": { - "tags": [ - "CPS" - ], - "summary": "删除京东联盟设置", - "operationId": "delUsingPOST_56", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpsJd/info": { - "get": { - "tags": [ - "CPS" - ], - "summary": "读取京东联盟设置信息", - "operationId": "infoUsingGET_42", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpsJd/save": { - "post": { - "tags": [ - "CPS" - ], - "summary": "京东联盟设置", - "operationId": "saveUsingPOST_49", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "appKey", - "description": "联盟应用的appKey", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "appSecret", - "description": "联盟应用的appSecret", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "forbidTypes", - "description": "10微信京东购物小程序禁售,11微信京喜小程序禁售,多个用英文逗号隔开", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpsJdGoods/category": { - "get": { - "tags": [ - "CPS" - ], - "summary": "获取京东联盟类目", - "operationId": "categoryUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "grade", - "in": "query", - "description": "类目级别(类目级别 0,1,2 代表一、二、三级类目)", - "required": true, - "type": "string", - "default": "0" - }, - { - "name": "parentId", - "in": "query", - "description": "父类目id(一级父类目为0)", - "required": true, - "type": "string", - "default": "0" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpsJdGoods/search": { - "post": { - "tags": [ - "CPS" - ], - "summary": "京东联盟商品搜索", - "operationId": "searchUsingPOST_2", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "cid1", - "in": "query", - "description": "一级类目id", - "required": false, - "type": "string" - }, - { - "name": "cid2", - "in": "query", - "description": "二级类目id", - "required": false, - "type": "string" - }, - { - "name": "cid3", - "in": "query", - "description": "三级类目id", - "required": false, - "type": "string" - }, - { - "name": "eliteId", - "in": "query", - "description": "频道ID:1-好券商品,2-精选卖场,10-9.9包邮,15-京东配送,22-实时热销榜,23-为你推荐,24-数码家电,25-超市,26-母婴玩具,27-家具日用,28-美妆穿搭,30-图书文具,31-今日必推,32-京东好物,33-京东秒杀,34-拼购商品,40-高收益榜,41-自营热卖榜,108-秒杀进行中,109-新品首发,110-自营,112-京东爆品,125-首购商品,129-高佣榜单,130-视频商品,153-历史最低价商品榜,210-极速版商品,238-新人价商品,247-京喜9.9,249-京喜秒杀", - "required": false, - "type": "string" - }, - { - "name": "fields", - "in": "query", - "description": "支持出参数据筛选,逗号','分隔,目前可用:videoInfo(视频信息),hotWords(热词),similar(相似推荐商品),documentInfo(段子信息),skuLabelInfo(商品标签),promotionLabelInfo(商品促销标签)", - "required": false, - "type": "string" - }, - { - "name": "keyword", - "in": "query", - "description": "关键词", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "skuIds", - "in": "query", - "description": "skuid集合(一次最多支持查询20个sku)", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "sort", - "in": "query", - "description": "asc,desc升降序,默认降序", - "required": false, - "type": "string" - }, - { - "name": "sortName", - "in": "query", - "description": "排序字段(price:单价, commissionShare:佣金比例, commission:佣金, inOrderCount30DaysSku:sku维度30天引单量,comments:评论数,goodComments:好评数)", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpsJdOrder/info": { - "get": { - "tags": [ - "CPS" - ], - "summary": "京东cps订单详情", - "operationId": "infoUsingGET_43", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpsJdOrder/list": { - "post": { - "tags": [ - "CPS" - ], - "summary": "京东cps订单列表", - "operationId": "listUsingPOST_55", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "orderId", - "description": "京东订单id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "skuId", - "description": "京东商品编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "validCode", - "description": "1:未知,2.无效-拆单,3.无效-取消,4.无效-京东帮帮主订单,5.无效-账号异常,6.无效-赠品类目不返佣,7.无效-校园订单,8.无效-企业订单,9.无效-团购订单,11.无效-乡村推广员下单,13.无效-违规订单,14.无效-来源与备案网址不符,15.待付款,16.已付款,17.已完成(购买用户确认收货),20.无效-此复购订单对应的首购订单无效,21.无效-云店订单,22. 无效-PLUS会员佣金比例为0", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpsPdd/beian": { - "get": { - "tags": [ - "CPS" - ], - "summary": "获取拼多多备案地址", - "operationId": "beianUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpsPdd/del": { - "post": { - "tags": [ - "CPS" - ], - "summary": "删除拼多多联盟设置", - "operationId": "delUsingPOST_57", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpsPdd/info": { - "get": { - "tags": [ - "CPS" - ], - "summary": "读取拼多多联盟设置信息", - "operationId": "infoUsingGET_44", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpsPdd/save": { - "post": { - "tags": [ - "CPS" - ], - "summary": "拼多多联盟设置", - "operationId": "saveUsingPOST_50", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "clientId", - "description": "联盟应用的clientId", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "clientSecret", - "description": "联盟应用的clientSecret", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pid", - "description": "推广位id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "0 正常 1 失效", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpsPddGoods/category": { - "get": { - "tags": [ - "CPS" - ], - "summary": "获取拼多多联盟类目", - "operationId": "listUsingGET_13", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "parentId", - "in": "query", - "description": "父类目id(一级父类目为0)", - "required": true, - "type": "string", - "default": "0" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpsPddGoods/search": { - "post": { - "tags": [ - "CPS" - ], - "summary": "拼多多联盟商品搜索", - "operationId": "listUsingPOST_56", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "catId", - "in": "query", - "description": "类目id", - "required": false, - "type": "string" - }, - { - "name": "channelType", - "in": "query", - "description": "1-今日销量榜,5-实时热销榜,6-实时收益榜", - "required": false, - "type": "string" - }, - { - "name": "keyword", - "in": "query", - "description": "关键词", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpsPddOrder/info": { - "get": { - "tags": [ - "CPS" - ], - "summary": "拼多多cps订单详情", - "operationId": "infoUsingGET_45", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpsPddOrder/list": { - "post": { - "tags": [ - "CPS" - ], - "summary": "拼多多cps订单列表", - "operationId": "listUsingPOST_57", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "orderId", - "description": "拼多多订单id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "orderSn", - "description": "拼多多推广订单id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "订单状态:0-已支付;1-已成团;2-确认收货;3-审核成功;4-审核失败(不可提现);5-已经结算 ;10-已处罚", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpsTaobao/del": { - "post": { - "tags": [ - "CPS" - ], - "summary": "删除淘宝联盟设置", - "operationId": "delUsingPOST_58", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpsTaobao/info": { - "get": { - "tags": [ - "CPS" - ], - "summary": "读取淘宝联盟设置信息", - "operationId": "infoUsingGET_46", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpsTaobao/save": { - "post": { - "tags": [ - "CPS" - ], - "summary": "淘宝联盟设置", - "operationId": "saveUsingPOST_51", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "appKey", - "description": "联盟应用的a ppKey", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "appSecret", - "description": "联盟应用的 appSecret", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pid", - "description": "推广位id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cpsTaobaoGoods/search": { - "post": { - "tags": [ - "CPS" - ], - "summary": "淘宝联盟商品搜索", - "operationId": "listUsingPOST_58", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "keyword", - "in": "query", - "description": "关键词", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "sort", - "in": "query", - "description": "排序_des(降序),排序_asc(升序),销量(total_sales),淘客佣金比率(tk_rate), 累计推广量(tk_total_sales),总支出佣金(tk_total_commi),价格(price),匹配分(match)", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cyOrder/check": { - "post": { - "tags": [ - "扫码点餐" - ], - "summary": "用户点餐商家确认", - "operationId": "checkUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "orderId", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cyOrder/goods": { - "post": { - "tags": [ - "扫码点餐" - ], - "summary": "读取下单菜品列表", - "operationId": "listUsingPOST_59", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "cyTableStatus", - "description": "堂食菜品状态:0 待确认 1 已下厨 2 已上菜 3 已退菜", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dateAddBegin", - "in": "query", - "description": "下单时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "下单时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "下单用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "下单用户昵称", - "required": false, - "type": "string" - }, - { - "name": "orderId", - "description": "订单ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "shopId", - "description": "所属门店ID,用于查询该门店下的下单商品", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态:'-1 关闭订单 0 待支付 1 已支付待发货 2 已发货待确认 3 确认收货待评价 4 已评价", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "tableCode", - "description": "餐桌编码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cyOrder/retreat": { - "post": { - "tags": [ - "扫码点餐" - ], - "summary": "用户点餐商家退菜操作", - "operationId": "retreatUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "number", - "in": "query", - "description": "需要退的数量", - "required": true, - "type": "string" - }, - { - "name": "orderGoodsId", - "in": "query", - "description": "订单明细记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cyOrder/serving": { - "post": { - "tags": [ - "扫码点餐" - ], - "summary": "用户点餐商家确认已上菜", - "operationId": "servingUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "orderGoodsId", - "in": "query", - "description": "订单明细记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cyTable/del": { - "post": { - "tags": [ - "扫码点餐" - ], - "summary": "删除桌号", - "operationId": "delUsingPOST_59", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cyTable/info": { - "get": { - "tags": [ - "扫码点餐" - ], - "summary": "桌号详情", - "operationId": "infoUsingGET_47", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cyTable/list": { - "post": { - "tags": [ - "扫码点餐" - ], - "summary": "桌号列表", - "operationId": "listUsingPOST_60", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "nameLike", - "in": "query", - "description": "名称模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "shopId", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "0 正常 1 停用 2 已预约 3 用餐中 4 待清洁", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "类型", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cyTable/resetKey": { - "post": { - "tags": [ - "扫码点餐" - ], - "summary": "桌号重置密钥", - "operationId": "resetKeyUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/cyTable/save": { - "post": { - "tags": [ - "扫码点餐" - ], - "summary": "桌号设置", - "operationId": "saveUsingPOST_52", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "code", - "description": "编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号,修改的时候需要传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "key", - "description": "密钥", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "0 正常 1 停用 2 已预约 3 用餐中 4 待清洁", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/dfsCategory/del": { - "post": { - "tags": [ - "上传文件管理" - ], - "summary": "删除分类", - "operationId": "delUsingPOST_61", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/dfsCategory/info": { - "get": { - "tags": [ - "上传文件管理" - ], - "summary": "分类详情", - "operationId": "infoUsingGET_48", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "分类id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/dfsCategory/list": { - "post": { - "tags": [ - "上传文件管理" - ], - "summary": "分类列表", - "operationId": "listUsingPOST_61", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/dfsCategory/save": { - "post": { - "tags": [ - "上传文件管理" - ], - "summary": "分类添加/修改", - "operationId": "saveUsingPOST_54", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isPublic", - "description": "该分类下的图片是否真对前端开放", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/discountsCouponPwd/create": { - "post": { - "tags": [ - "红包优惠券" - ], - "summary": "批量创建优惠券动态口令", - "operationId": "createUsingPOST_4", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "couponRuleId", - "in": "query", - "description": "所属优惠券规则ID", - "required": true, - "type": "string" - }, - { - "name": "days", - "in": "query", - "description": "有效期天数", - "required": true, - "type": "string" - }, - { - "name": "number", - "in": "query", - "description": "需要创建的数量", - "required": true, - "type": "string" - }, - { - "name": "remark", - "in": "query", - "description": "备注", - "required": false, - "type": "string" - }, - { - "name": "rules", - "in": "query", - "description": "兑换规则:uni-mobile(绑定手机号码后才能兑换,一个手机号只能兑换一次)", - "required": false, - "type": "string" - }, - { - "name": "type", - "in": "query", - "description": "券码类型: 0为默认(券号和密码均为数字+字母的8位字符串); 1(券号7位纯数字,密码5位纯数字); 2 纯数字券号 + 8位字母数字密码; 3 6位字母数字券号 + 6位字母数字密码", - "required": false, - "type": "string", - "default": "0" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/discountsCouponPwd/del": { - "post": { - "tags": [ - "红包优惠券" - ], - "summary": "删除优惠券动态口令", - "operationId": "delUsingPOST_62", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "口令记录ID,多个用英文逗号分割", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/discountsCouponPwd/deleteAllExpireed": { - "post": { - "tags": [ - "红包优惠券" - ], - "summary": "删除所有已过期的数据", - "operationId": "deleteAllExpireedUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/discountsCouponPwd/deleteAllInvalided": { - "post": { - "tags": [ - "红包优惠券" - ], - "summary": "删除所有已作废的数据", - "operationId": "deleteAllInvalidedUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/discountsCouponPwd/info": { - "get": { - "tags": [ - "红包优惠券" - ], - "summary": "查看优惠券动态口令详情", - "operationId": "infoUsingGET_49", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/discountsCouponPwd/invalid": { - "post": { - "tags": [ - "红包优惠券" - ], - "summary": "作废优惠券动态口令", - "operationId": "invalidUsingPOST_2", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "口令记录ID,多个用英文逗号分割", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/discountsCouponPwd/list": { - "post": { - "tags": [ - "红包优惠券" - ], - "summary": "优惠券动态口令列表", - "operationId": "listUsingPOST_62", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "添加时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "添加时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateEndBegin", - "in": "query", - "description": "到期时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateEndEnd", - "in": "query", - "description": "到期时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateBegin", - "in": "query", - "description": "修改时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateEnd", - "in": "query", - "description": "修改时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "extendKeywords", - "in": "query", - "description": "扩展属性搜索关键词", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "领取用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "领取用户昵称", - "required": false, - "type": "string" - }, - { - "name": "number", - "description": "号码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "pwd", - "description": "密码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态:0 未使用 1 已使用 2 作废 3 过期", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/editMobile/save": { - "post": { - "tags": [ - "站点信息" - ], - "summary": "修改手机号码", - "operationId": "editMobileUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "mobile", - "in": "query", - "description": "新的手机号码", - "required": true, - "type": "string" - }, - { - "name": "oldPwd", - "in": "query", - "description": "当前账号登录密码", - "required": true, - "type": "string" - }, - { - "name": "smsCode", - "in": "query", - "description": "短信验证码", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/editPwd/save": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "修改登录密码", - "operationId": "saveUsingPOST_84", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "newPwd", - "in": "query", - "description": "新密码", - "required": true, - "type": "string" - }, - { - "name": "oldPwd", - "in": "query", - "description": "原密码", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/express/account/save": { - "post": { - "tags": [ - "电子面单" - ], - "summary": "设置电子面单账号", - "operationId": "saveUsingPOST_55", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "bizId", - "description": "账号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "deliveryId", - "description": "快递公司编码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "deliveryName", - "description": "快递公司名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "自定义名称,方便识别面单账号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pwd", - "description": "密码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "remark", - "description": "备注", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopKey", - "description": "店铺key", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "0 小程序电子面单; 1 直连快递公司", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "xCompanyId", - "description": "合作商编码", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "xCompanyKey", - "description": "合作商签名key", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/express/account/wxaDeliveryList": { - "get": { - "tags": [ - "电子面单" - ], - "summary": "获取微信小程序支持的快递公司列表", - "description": "https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/express/express-by-business/getAllDelivery.html", - "operationId": "wxaDeliveryListUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/expressDadaShopCitycode/cityList": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "获取达达支持的城市列表", - "operationId": "cityListUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/expressDadaShopCitycode/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除达达门店", - "operationId": "delUsingPOST_60", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/expressDadaShopCitycode/list": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "达达门店列表", - "operationId": "listUsingGET_14", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/expressDadaShopCitycode/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "添加达达门店", - "operationId": "saveUsingPOST_53", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "cityCode", - "in": "query", - "description": "城市编码", - "required": true, - "type": "string" - }, - { - "name": "cityName", - "in": "query", - "description": "城市名称", - "required": true, - "type": "string" - }, - { - "name": "number", - "in": "query", - "description": "门店编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/expressOrder/create": { - "post": { - "tags": [ - "电子面单" - ], - "summary": "创建电子面单", - "operationId": "createUsingPOST_5", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "address", - "in": "query", - "description": "收件人详细地址", - "required": true, - "type": "string" - }, - { - "name": "area", - "in": "query", - "description": "收件人区县", - "required": true, - "type": "string" - }, - { - "name": "city", - "in": "query", - "description": "收件人城市", - "required": true, - "type": "string" - }, - { - "name": "detailsJsonStr", - "in": "query", - "description": "商品信息: [{name: \"商品名称\", count: 3}]", - "required": true, - "type": "string" - }, - { - "name": "expressAccountId", - "in": "query", - "description": "配置的电子面单账号记录ID", - "required": true, - "type": "string" - }, - { - "name": "expressSenderId", - "in": "query", - "description": "寄件人记录ID", - "required": true, - "type": "string" - }, - { - "name": "goods_name", - "in": "query", - "description": "商品名称", - "required": true, - "type": "string" - }, - { - "name": "img_url", - "in": "query", - "description": "商品缩略图", - "required": true, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "收件人手机号码", - "required": true, - "type": "string" - }, - { - "name": "name", - "in": "query", - "description": "收件人姓名", - "required": true, - "type": "string" - }, - { - "name": "openid", - "in": "query", - "description": "接收物流消息的用户openid", - "required": true, - "type": "string" - }, - { - "name": "orderNumber", - "in": "query", - "description": "自定义订单号,同一个订单号不会重复创建面单", - "required": true, - "type": "string" - }, - { - "name": "province", - "in": "query", - "description": "收件人省份", - "required": true, - "type": "string" - }, - { - "name": "serviceName", - "in": "query", - "description": "服务名称 https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/express/expressinfo.html", - "required": true, - "type": "string" - }, - { - "name": "serviceType", - "in": "query", - "description": "服务类型ID https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/express/expressinfo.html", - "required": true, - "type": "string" - }, - { - "name": "wxa_path", - "in": "query", - "description": "小程序路径,消息点击后打开该页面", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/expressOrder/list": { - "post": { - "tags": [ - "电子面单" - ], - "summary": "电子面单订单列表", - "operationId": "listUsingPOST_63", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "expressSenderId", - "description": "寄件人记录ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "orderNumber", - "description": "订单号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "waybillId", - "description": "快递单号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/extDiscountsCoupon/del": { - "post": { - "tags": [ - "红包优惠券" - ], - "summary": "删除", - "operationId": "delUsingPOST_63", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/extDiscountsCoupon/info": { - "get": { - "tags": [ - "红包优惠券" - ], - "summary": "优惠券规则详情", - "operationId": "infoUsingGET_50", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/extDiscountsCoupon/list": { - "post": { - "tags": [ - "红包优惠券" - ], - "summary": "优惠券规则列表", - "operationId": "listUsingPOST_64", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "isCash", - "description": "是否为现金券,领取的时候自动变成用户可用余额", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "nameLike", - "in": "query", - "description": "优惠券名称", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "refId", - "description": "使用对象,例如填写商品编号,该优惠券只针对该商品有效,不填为全站通用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "门店ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态 0 正常 1 失效 2 过期已结束", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "优惠券类型[自定义类型,可不填]", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/extDiscountsCoupon/save": { - "post": { - "tags": [ - "红包优惠券" - ], - "summary": "修改优惠券规则", - "operationId": "saveUsingPOST_56", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "couponRefs", - "in": "query", - "description": "优惠券使用对象json数组:[{type: 0, refId: 123}, {type: 1, refId: 456}]", - "required": false, - "type": "string" - }, - { - "name": "dateEnd", - "description": "固定的有效期截止时间,格式 2018-05-16", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dateEndDays", - "description": "领取N天后到期", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dateEndType", - "description": "0 固定截止日期 1 领取N天后生效", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "dateStart", - "description": "固定有效期开始时间,格式 2018-05-16", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dateStartType", - "description": "0 固定开始日期 1 领取当天生效 2 领取次日生效", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "extJsonStr", - "in": "query", - "description": "扩展属性的JSON格式数据", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "记录编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "isCash", - "description": "是否为现金券,领取的时候自动变成用户可用余额", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "moneyHreshold", - "description": "消费满多少可用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "moneyMax", - "description": "优惠券金额,moneyMin - moneyMax 取随机数,填写一样为固定金额", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "moneyMin", - "description": "优惠券金额,moneyMin - moneyMax 取随机数,填写一样为固定金额", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "优惠券名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "needScore", - "description": "需要多少积分才能兑换该优惠券", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "needSignedContinuous", - "description": "需要连续签到多少天才能兑换该优惠券", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "numberPersonMax", - "description": "每人限领多少张", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "numberTotle", - "description": "优惠券总数量", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pwd", - "description": "口令,如果设置了,领取的时候必须填写正确口令才能领取", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "refId", - "description": "【本参数即将废弃】使用对象,例如填写商品编号,该优惠券只针对该商品有效,不填为全站通用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "门店ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态 0 正常 1 失效 2 过期已结束", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "优惠券类型[自定义类型,可不填]", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/extDiscountsCoupon/sendBatch": { - "post": { - "tags": [ - "红包优惠券" - ], - "summary": "批量发送优惠券", - "description": "按照批次发送", - "operationId": "sendBatchUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "优惠券ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "levelId", - "description": "用户等级编号,填0为所有用户(不区分等级)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - }, - { - "name": "content", - "in": "query", - "description": "content", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/extDiscountsCoupon/sendUser": { - "post": { - "tags": [ - "红包优惠券" - ], - "summary": "给用户发送优惠券", - "operationId": "sendUserUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "优惠券ID", - "required": true, - "type": "string" - }, - { - "name": "uid", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/extDiscountsCoupon/sendUserLevel": { - "post": { - "tags": [ - "红包优惠券" - ], - "summary": "给指定等级的所有用户发送优惠券", - "operationId": "sendUserLevelUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "优惠券ID", - "required": true, - "type": "string" - }, - { - "name": "levelId", - "in": "query", - "description": "用户等级编号,填0为所有用户(不区分等级)", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/extDiscountsCouponUser/del": { - "post": { - "tags": [ - "红包优惠券" - ], - "summary": "删除", - "operationId": "delUsingPOST_64", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录id,多个id使用英文逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/extDiscountsCouponUser/hx": { - "post": { - "tags": [ - "红包优惠券" - ], - "summary": "核销优惠券", - "operationId": "hxUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "优惠券ID", - "required": true, - "type": "string" - }, - { - "name": "remark", - "in": "query", - "description": "核销备注", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/extDiscountsCouponUser/invalid": { - "post": { - "tags": [ - "红包优惠券" - ], - "summary": "作废", - "operationId": "invalidUsingPOST_3", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录id,多个id使用英文逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/extDiscountsCouponUser/list": { - "post": { - "tags": [ - "红包优惠券" - ], - "summary": "用户优惠券列表", - "operationId": "listUsingPOST_65", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "领取时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "领取时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateBegin", - "in": "query", - "description": "更新时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateEnd", - "in": "query", - "description": "更新时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "优惠券id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobileUser", - "in": "query", - "description": "用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nameLike", - "in": "query", - "description": "优惠券名称", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "用户昵称", - "required": false, - "type": "string" - }, - { - "name": "orderId", - "description": "使用订单ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "refId", - "description": "使用对象,例如填写商品编号,该优惠券只针对该商品有效,不填为全站通用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态 0 正常 1 失效 2 过期已结束 3 已使用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "优惠券类型[自定义类型,可不填]", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goods/benefit/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除商品分润设置", - "operationId": "delUsingPOST_14", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "记录ID", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goods/benefit/list": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "获取商品分润设置列表", - "operationId": "listUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "in": "query", - "description": "商品ID", - "required": true, - "type": "string" - }, - { - "name": "priceId", - "in": "query", - "description": "规格尺寸的记录ID", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goods/benefit/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品分润设置", - "operationId": "saveUsingPOST_11", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "in": "query", - "description": "商品ID", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "记录ID,编辑的时候需要用到", - "required": false, - "type": "string" - }, - { - "name": "name", - "in": "query", - "description": "分润名称: 业务员 / 供应商 / 经销商 等等", - "required": false, - "type": "string" - }, - { - "name": "number", - "in": "query", - "description": "金额百分比", - "required": false, - "type": "string" - }, - { - "name": "number2", - "in": "query", - "description": "固定金额", - "required": false, - "type": "string" - }, - { - "name": "priceId", - "in": "query", - "description": "规格尺寸的记录ID", - "required": false, - "type": "string" - }, - { - "name": "type", - "in": "query", - "description": "0进货价格 1平台服务费 2业务员提点 3其他分润", - "required": true, - "type": "string" - }, - { - "name": "uid", - "in": "query", - "description": "分润发放用户编号", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goods/coupon/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除商品卡密自动发货设置", - "operationId": "delUsingPOST_17", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "记录ID", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goods/coupon/list": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "获取商品卡密自动发货设置列表", - "operationId": "listUsingGET_1", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "in": "query", - "description": "商品ID", - "required": true, - "type": "string" - }, - { - "name": "priceId", - "in": "query", - "description": "规格尺寸的记录ID", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goods/coupon/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "添加商品卡密自动发货设置", - "operationId": "saveUsingPOST_14", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "coupon", - "in": "query", - "description": "卡密内容/卡密图片地址", - "required": false, - "type": "string" - }, - { - "name": "goodsId", - "in": "query", - "description": "商品ID", - "required": true, - "type": "string" - }, - { - "name": "priceId", - "in": "query", - "description": "规格尺寸的记录ID", - "required": false, - "type": "string" - }, - { - "name": "type", - "in": "query", - "description": "0文本 1图片", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goods/limitation/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除商品会员限购设置", - "operationId": "delUsingPOST_18", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "记录ID", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goods/limitation/list": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "获取商品会员限购设置列表", - "operationId": "listUsingGET_2", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "in": "query", - "description": "商品ID", - "required": true, - "type": "string" - }, - { - "name": "propertyChildIds", - "in": "query", - "description": "选择的规格尺寸信息:如:4:15,2:10,1:4, 。多个规格请用英文的逗号分割,4:15 中的 4 获取代表颜色,15 或许代表 土豪金", - "required": false, - "type": "string" - }, - { - "name": "userLevelId", - "in": "query", - "description": "会员等级ID, 0代表无会员用户", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goods/limitation/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品会员限购设置", - "description": "比如和针对某一个会员等级的用户,设置5个自然日内只能购买2次", - "operationId": "saveUsingPOST_15", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "buyNumbers", - "in": "query", - "description": "允许购买的数量", - "required": true, - "type": "string" - }, - { - "name": "duration", - "in": "query", - "description": "购买间隔时长", - "required": true, - "type": "string" - }, - { - "name": "goodsId", - "in": "query", - "description": "商品ID", - "required": true, - "type": "string" - }, - { - "name": "propertyChildIds", - "in": "query", - "description": "选择的规格尺寸信息:如:4:15,2:10,1:4, 。多个规格请用英文的逗号分割,4:15 中的 4 获取代表颜色,15 或许代表 土豪金", - "required": false, - "type": "string" - }, - { - "name": "unit", - "in": "query", - "description": "间隔单位: 0 自然日 1 自然月 2 自然年", - "required": true, - "type": "string" - }, - { - "name": "userLevelId", - "in": "query", - "description": "会员等级ID,0 代表无会员的用户", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goods/price/day/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除商品按天定价设置", - "operationId": "delUsingPOST_19", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "记录ID", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goods/price/day/list": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "获取商品按天定价设置列表", - "operationId": "listUsingGET_3", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "in": "query", - "description": "商品ID", - "required": true, - "type": "string" - }, - { - "name": "priceId", - "in": "query", - "description": "规格尺寸的记录ID", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goods/price/day/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品按天定价设置", - "operationId": "saveUsingPOST_16", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "batchSetCurMonth", - "in": "query", - "description": "是否批量设置本月所有日期, 传 true / false", - "required": false, - "type": "string" - }, - { - "name": "day", - "in": "query", - "description": "日期,格式为 2019-07-25", - "required": true, - "type": "string" - }, - { - "name": "goodsId", - "in": "query", - "description": "商品ID", - "required": true, - "type": "string" - }, - { - "name": "price", - "in": "query", - "description": "价格", - "required": true, - "type": "string" - }, - { - "name": "priceId", - "in": "query", - "description": "规格尺寸的记录ID", - "required": false, - "type": "string" - }, - { - "name": "stores", - "in": "query", - "description": "库存数", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsAddition/del/group": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除可选配件分组", - "operationId": "delGroupUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsAddition/del/item": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除可选配件项目", - "operationId": "delItemUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsAddition/list": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "获取商品可选配件列表", - "operationId": "listUsingGET_15", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "categoryId", - "in": "query", - "description": "类目ID,类目为0,商品ID也为0 ,代表是全局的", - "required": false, - "type": "string" - }, - { - "name": "goodsId", - "in": "query", - "description": "商品ID,商品ID为0,类目ID不为0,代表是类目下说有商品通用", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsAddition/save/group": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "添加/编辑可选配件分组", - "operationId": "saveGroupUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "categoryId", - "description": "类目ID,类目为0,商品ID也为0 ,代表是全局的", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "goodsId", - "description": "商品ID,商品ID为0,类目ID不为0,代表是类目下说有商品通用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "编辑的话要传记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "分组名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "remark", - "description": "备注", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "required", - "description": "true/false ,是否为必选项", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "0 单选 1 多选", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsAddition/save/item": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "添加/编辑可选配件", - "operationId": "saveItemUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "编辑的话要传记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pic", - "description": "图片", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pid", - "description": "分组ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "remark", - "description": "备注", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "required", - "description": "true/false ,是否为必选项", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "0 单选 1 多选", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsAdditionalPrice/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除商品附加收费模板", - "operationId": "delUsingPOST_65", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "记录编号,多个用英文逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsAdditionalPrice/info": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "商品附加收费模板详情", - "operationId": "infoUsingGET_51", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsAdditionalPrice/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品附加收费模板列表", - "operationId": "listUsingPOST_66", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsAdditionalPrice/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品附加收费模板设置", - "operationId": "saveUsingPOST_58", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "收费明细数组: [{name: '服务费', type: 0 固定价格; 1 按商品售价比例计算[优惠前], price: 8.00}]", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "记录编号,修改的时候需要传,添加时候不传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "模板名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "0 正常 1 停用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsBrand/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除商品品牌", - "operationId": "delUsingPOST_66", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsBrand/info": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "商品品牌详情", - "operationId": "infoUsingGET_52", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "品牌id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsBrand/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品品牌列表", - "operationId": "listUsingPOST_67", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsBrand/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品品牌添加/修改", - "operationId": "saveUsingPOST_59", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "品牌详情", - "required": false, - "type": "string" - }, - { - "name": "extJsonStr", - "in": "query", - "description": "扩展属性的JSON格式数据", - "required": false, - "type": "string" - }, - { - "name": "icon", - "description": "品牌图标", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isUse", - "description": "是否启用,true 或者 false", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "remark", - "description": "备注", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsBuyReward/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除购买返利", - "operationId": "delUsingPOST_67", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "记录id, 多条记录使用英文逗号分割", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsBuyReward/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "购买返利设置列表", - "operationId": "listUsingPOST_68", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "description": "商品ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "nameLike", - "in": "query", - "description": "商品名称", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsBuyReward/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "设置商品购买返利", - "operationId": "saveUsingPOST_60", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "commission", - "in": "query", - "description": "奖励数值", - "required": true, - "type": "string" - }, - { - "name": "goodsId", - "in": "query", - "description": "商品id", - "required": false, - "type": "string" - }, - { - "name": "triggerStatus", - "in": "query", - "description": "1 支付即返 3 交易成功返 4 评价后返", - "required": true, - "type": "string" - }, - { - "name": "type", - "in": "query", - "description": "奖励类型 1 积分 2 现金 3 赠送优惠券", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsLends/adjust": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "调整借还信息", - "operationId": "adjustUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "adverb", - "in": "query", - "description": "还数量", - "required": false, - "type": "string" - }, - { - "name": "goodsId", - "in": "query", - "description": "商品id", - "required": false, - "type": "string" - }, - { - "name": "lend", - "in": "query", - "description": "借数量", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "uid", - "in": "query", - "description": "用户编号", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsLends/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除借还统计记录", - "operationId": "delUsingPOST_68", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "in": "query", - "description": "商品id", - "required": false, - "type": "string" - }, - { - "name": "uid", - "in": "query", - "description": "用户编号", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsLends/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "查看商品借还统计", - "operationId": "listUsingPOST_69", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "description": "商品id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "in": "query", - "description": "用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsLends/logs": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "查看商品借还明细记录", - "operationId": "logsUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "description": "商品id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "in": "query", - "description": "用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsPackage/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除套餐商品关联", - "operationId": "delUsingPOST_69", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "记录编号,多个用英文逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsPackage/info": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "套餐商品关联详情", - "operationId": "infoUsingGET_53", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsPackage/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "套餐商品关联列表", - "operationId": "listUsingPOST_70", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dayStr", - "in": "query", - "description": "按照日期搜索: yyyy-MM-dd", - "required": false, - "type": "string" - }, - { - "name": "goodsIdM", - "description": "套餐商品id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "goodsIdS", - "description": "明细商品id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsPackage/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "套餐商品关联设置", - "operationId": "saveUsingPOST_61", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "description": "详细说明", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dayStr", - "in": "query", - "description": "按照日期搜索: yyyy-MM-dd", - "required": false, - "type": "string" - }, - { - "name": "goodsIdM", - "description": "套餐商品id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "goodsIdS", - "description": "明细商品id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号,修改的时候需要传,添加时候不传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "number", - "description": "商品数量", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsPriceMultilevel/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除商品分级定价设置", - "operationId": "delUsingPOST_70", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsPriceMultilevel/list": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "获取商品分级定价设置", - "operationId": "listUsingGET_16", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "in": "query", - "description": "商品ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsPriceMultilevel/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "添加商品分级定价设置", - "operationId": "saveUsingPOST_62", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "description": "商品ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "number", - "description": "同时购买几份", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "price", - "description": "商品价格", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "propertyChildIds", - "description": "sku参数(最后的英文逗号是需要的): 49180:510817,49178:510860,", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "propertyChildNames", - "description": "sku名称: 花色:粉色叶子,颜色:蓝色,", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "0 同分类 1 同商品", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsStoresLogs/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品库存变化明细列表", - "operationId": "listUsingPOST_71", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "behavior", - "description": "0 增加 1 减少", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "goodsId", - "description": "商品ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "propertyChildIds", - "description": "规格尺寸信息", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "变更类型", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsTimes/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除时段定价分组", - "operationId": "delUsingPOST_71", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsTimes/delItem": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除时段定价分组的时段", - "operationId": "delItemUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsTimes/info": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "时段定价分组详情", - "operationId": "infoUsingGET_54", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsTimes/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "时段定价分组列表", - "operationId": "listUsingPOST_72", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "description": "商品id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "propertyChildIds", - "description": "sku参数(最后的英文逗号是需要的): 49180:510817,49178:510860,", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsTimes/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "时段定价分组设置", - "operationId": "saveUsingPOST_63", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "days", - "in": "query", - "description": "日期,格式为 2019-07-25, 多个日期用英文逗号分隔", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "goodsId", - "description": "商品id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号,修改的时候需要传,添加时候不传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "分组名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "propertyChildIds", - "description": "sku参数(最后的英文逗号是需要的): 49180:510817,49178:510860,", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsTimes/saveItem": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "时段定价时段设置", - "operationId": "saveItemUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsTimesId", - "description": "分组id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号,修改的时候需要传,添加时候不传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "时段名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "price", - "description": "收费单价", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "stores", - "description": "库存数", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsUserBlacklist/add": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品添加用户黑名单", - "operationId": "saveUsingPOST_64", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "in": "query", - "description": "商品id", - "required": true, - "type": "string" - }, - { - "name": "uids", - "in": "query", - "description": "用户编号,多个编号用英文逗号分隔", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsUserBlacklist/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除批发设置", - "operationId": "delUsingPOST_72", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "in": "query", - "description": "商品id", - "required": true, - "type": "string" - }, - { - "name": "ids", - "in": "query", - "description": "记录编号,多个编号用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsUserBlacklist/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品用户黑名单列表", - "description": "黑名单中的用户不能查看商品列表、详情、无法购买该商品", - "operationId": "listUsingPOST_73", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "description": "商品id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "showUserMap", - "in": "query", - "description": "是否显示用户信息", - "required": false, - "type": "string" - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsVideoEpisodes/buyLogs": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品分集影视购买列表", - "operationId": "buyLogsUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "description": "商品id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsVideoEpisodes/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除商品分集影视", - "operationId": "delUsingPOST_73", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsVideoEpisodes/list": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "获取商品分集影视列表", - "operationId": "listUsingGET_17", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "in": "query", - "description": "商品ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsVideoEpisodes/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "添加/编辑商品分集影视", - "operationId": "saveUsingPOST_65", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "description": "商品ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "编辑的话要传记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mp4", - "description": "视频播放地址,必须是mp4的地址", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "number", - "description": "第几集,传数字", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "price", - "description": "购买价格", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsVideoEpisodes/setAllVideoEpisodes": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品批量设置分集影视", - "operationId": "setAllVideoEpisodesUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "剧集设置的JSON数组的字符串", - "required": false, - "type": "string" - }, - { - "name": "goodsId", - "in": "query", - "description": "商品ID", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsVirtualTrader/add": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品关联知识付费商品", - "operationId": "saveUsingPOST_66", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "in": "query", - "description": "商品id", - "required": true, - "type": "string" - }, - { - "name": "virtualTraderIds", - "in": "query", - "description": "知识付费项目ID,多个编号用英文逗号分隔", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsVirtualTrader/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除商品关联知识付费商品", - "operationId": "delUsingPOST_74", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "记录编号,多个编号用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsVirtualTrader/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品关联知识付费列表", - "description": "购买商品以后,就等于用户购买了关联的知识付费商品", - "operationId": "listUsingPOST_74", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "description": "商品id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "showVirtualTraderMap", - "in": "query", - "description": "是否显示知识付费项目信息", - "required": false, - "type": "string" - }, - { - "name": "virtualTraderId", - "description": "知识付费项目ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsWholesale/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除批发设置", - "operationId": "delUsingPOST_75", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsWholesale/info": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "批发设置详情", - "operationId": "infoUsingGET_55", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsWholesale/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "批发设置列表", - "operationId": "listUsingPOST_75", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "code", - "description": "编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "goodsId", - "description": "商品id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "propertyChildIds", - "description": "sku参数(最后的英文逗号是需要的): 49180:510817,49178:510860,", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "0 正常 1 停用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/goodsWholesale/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "批发价格设置", - "operationId": "saveUsingPOST_67", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "code", - "description": "编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "detailsJsonStr", - "in": "query", - "description": "自定义会员价格的数组形式,不传会删除该批发设置的所有会员价", - "required": false, - "type": "string" - }, - { - "name": "goodsId", - "description": "商品id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号,修改的时候需要传,添加时候不传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "规格名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "number", - "description": "该规格内有多少份商品", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "price", - "description": "销售价格", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "propertyChildIds", - "description": "sku参数(最后的英文逗号是需要的): 49180:510817,49178:510860,", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "propertyChildNames", - "description": "sku参数名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "0 正常 1 停用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/hardware/printer/print": { - "post": { - "tags": [ - "智能硬件", - "打印机" - ], - "summary": "控制打印机打印内容", - "operationId": "printUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "需要打印的内容", - "required": true, - "type": "string" - }, - { - "name": "sn", - "in": "query", - "description": "打印机序号,不传该参数则从系统设置的打印机进行打印,多个打印机用英文逗号分隔", - "required": false, - "type": "string" - }, - { - "name": "times", - "in": "query", - "description": "打印几次", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "type", - "in": "query", - "description": "0 飞蛾小票机; 1 飞蛾标签机", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/info": { - "get": { - "tags": [ - "站点信息" - ], - "summary": "当前登录账号信息", - "operationId": "infoUsingGET_25", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/invoiceApply/del": { - "post": { - "tags": [ - "财务相关" - ], - "summary": "删除开发票记录", - "operationId": "delUsingPOST_76", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "需要删除的记录id,多个id用英文逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/invoiceApply/info": { - "get": { - "tags": [ - "财务相关" - ], - "summary": "开发票记录详情", - "operationId": "infoUsingGET_56", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/invoiceApply/list": { - "post": { - "tags": [ - "财务相关" - ], - "summary": "开发票记录列表", - "operationId": "listUsingPOST_76", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "comNameLike", - "in": "query", - "description": "公司名称", - "required": false, - "type": "string" - }, - { - "name": "consumptionLike", - "in": "query", - "description": "收费项目", - "required": false, - "type": "string" - }, - { - "name": "dateAddBegin", - "in": "query", - "description": "支付时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "支付时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateBegin", - "in": "query", - "description": "更新时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateEnd", - "in": "query", - "description": "更新时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "extendKeywords", - "in": "query", - "description": "扩展属性搜索关键词", - "required": false, - "type": "string" - }, - { - "name": "orderId", - "description": "开票订单ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "remarkLike", - "in": "query", - "description": "备注", - "required": false, - "type": "string" - }, - { - "name": "status", - "description": "状态 0 待处理 1 不通过 2 开票中 3 开票完成", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "tfnLike", - "in": "query", - "description": "税号", - "required": false, - "type": "string" - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/invoiceApply/modify": { - "post": { - "tags": [ - "财务相关" - ], - "summary": "修改开发票记录", - "operationId": "modifyUsingPOST_2", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "amount", - "description": "开票金额", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "comName", - "description": "公司名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "consumption", - "description": "收费项目", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "extJsonStr", - "in": "query", - "description": "扩展属性的JSON格式数据", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "需要修改的记录id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "remark", - "description": "备注", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态 0 待处理 1 不通过 2 开票中 3 开票完成", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "tfn", - "description": "税号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/jdySet/del": { - "post": { - "tags": [ - "金蝶云" - ], - "summary": "删除账号设置", - "operationId": "delUsingPOST_77", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/jdySet/info": { - "get": { - "tags": [ - "金蝶云" - ], - "summary": "账号设置信息", - "operationId": "infoUsingGET_57", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/jdySet/save": { - "post": { - "tags": [ - "金蝶云" - ], - "summary": "账号设置", - "operationId": "saveUsingPOST_68", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "clientId", - "description": "应用ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "clientSecret", - "description": "应用secret", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "password", - "description": "登陆密码", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "username", - "description": "精斗云用户名(必须是手机号)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/jicunGoods/detail": { - "get": { - "tags": [ - "物品寄存" - ], - "summary": "查看物品寄存详情", - "operationId": "detailUsingGET_2", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "code", - "in": "query", - "description": "核销码", - "required": false, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "记录ID", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/jicunGoods/hx": { - "post": { - "tags": [ - "物品寄存" - ], - "summary": "核销寄存物品", - "operationId": "hxUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "code", - "in": "query", - "description": "核销码", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/jicunGoods/jicun": { - "post": { - "tags": [ - "物品寄存" - ], - "summary": "寄存物品", - "operationId": "jicunUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateExpiredStr", - "in": "query", - "description": "到期日期,格式: 2021-08-03", - "required": true, - "type": "string" - }, - { - "name": "goodsCategory", - "description": "物品品类", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "goodsName", - "description": "物品名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "description": "手机号码", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "姓名", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "profile", - "description": "物品描述", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "uid", - "description": "寄存用户编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/jicunGoods/list": { - "post": { - "tags": [ - "物品寄存" - ], - "summary": "查看当前门店的寄存列表", - "operationId": "listUsingPOST_77", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "code", - "description": "核销码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dateAddBegin", - "in": "query", - "description": "寄存时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "寄存时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "description": "手机号码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "姓名", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "0 寄存中 1 已取回 2 已过期", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uid", - "description": "寄存用户ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/kanjiaHelp/list": { - "post": { - "tags": [ - "砍价模块" - ], - "summary": "砍价明细", - "operationId": "listUsingPOST_78", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "砍价时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "砍价时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "goodsId", - "in": "query", - "description": "商品ID", - "required": false, - "type": "string" - }, - { - "name": "kjId", - "in": "query", - "description": "砍价ID", - "required": false, - "type": "string" - }, - { - "name": "mobileUser", - "in": "query", - "description": "用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "用户昵称", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "in": "query", - "description": "砍价状态:0 进行中 1 无效 2 完成", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/kanjiaJoiner/del": { - "post": { - "tags": [ - "砍价模块" - ], - "summary": "删除发起的某次砍价", - "operationId": "delUsingPOST_78", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录id,多条记录用英文逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/kanjiaJoiner/list": { - "post": { - "tags": [ - "砍价模块" - ], - "summary": "参与用户列表", - "operationId": "listUsingPOST_79", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "加入时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "加入时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateBegin", - "in": "query", - "description": "更新时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateEnd", - "in": "query", - "description": "更新时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "goodsId", - "description": "商品ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "kjId", - "description": "砍价ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobileUser", - "in": "query", - "description": "用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "用户昵称", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "砍价状态:0 进行中 1 无效 2 完成", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/kanjiaJoiner/status": { - "post": { - "tags": [ - "砍价模块" - ], - "summary": "修改砍价状态", - "operationId": "statusUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "status", - "in": "query", - "description": "0设为进行中;1设为无效;2设为完成", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/kanjiaSet/del": { - "post": { - "tags": [ - "砍价模块" - ], - "summary": "删除砍价设置", - "operationId": "delUsingPOST_79", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/kanjiaSet/info": { - "get": { - "tags": [ - "砍价模块" - ], - "summary": "砍价设置详情", - "operationId": "infoUsingGET_58", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/kanjiaSet/list": { - "post": { - "tags": [ - "砍价模块" - ], - "summary": "砍价设置列表", - "operationId": "listUsingPOST_80", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "开始时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "开始时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateEndBegin", - "in": "query", - "description": "截止时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateEndEnd", - "in": "query", - "description": "截止时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "goodsId", - "description": "商品ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "砍价ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "砍价状态:0 正常 1 禁用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/kanjiaSet/save": { - "post": { - "tags": [ - "砍价模块" - ], - "summary": "砍价设置添加/修改", - "operationId": "saveUsingPOST_69", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateEndStr", - "in": "query", - "description": "截止时间,格式 2018-05-16 12:23:34", - "required": false, - "type": "string" - }, - { - "name": "goodsId", - "description": "商品ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "helpPriceMax", - "description": "好友砍价一次最多能减少多少金额", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "helpPriceMin", - "description": "好友砍价一次至少能减少多少金额", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "minPrice", - "description": "底价", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "number", - "description": "总份数", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "originalPrice", - "description": "原价", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "砍价状态:0 正常 1 禁用", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/kickOut": { - "post": { - "tags": [ - "站点信息" - ], - "summary": "将某登录管理员踢下线", - "operationId": "kickOutUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - }, - { - "name": "token", - "in": "query", - "description": "token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/langContent/del": { - "post": { - "tags": [ - "国际化" - ], - "summary": "删除某条国际化", - "operationId": "delUsingPOST_80", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id,多条记录用英文逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/langContent/list": { - "get": { - "tags": [ - "国际化" - ], - "summary": "获取某字段的国际化配置列表", - "operationId": "listUsingGET_18", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "field", - "in": "query", - "description": "字段名称", - "required": true, - "type": "string" - }, - { - "name": "lang", - "in": "query", - "description": "语言编码", - "required": true, - "type": "string" - }, - { - "name": "recordId", - "in": "query", - "description": "记录id", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "query", - "description": "表名称", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/langContent/save": { - "post": { - "tags": [ - "国际化" - ], - "summary": "添加/修改某个字段的国际划说明", - "operationId": "saveUsingPOST_70", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "description": "国际化内容", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "field", - "description": "字段名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "lang", - "description": "语言,en", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "recordId", - "description": "记录id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "table", - "description": "表名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/listingInfo/del": { - "post": { - "tags": [ - "接龙" - ], - "summary": "删除接龙记录,取消以后的接龙才可以删除", - "operationId": "delUsingPOST_81", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "接龙ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/listingInfo/info": { - "get": { - "tags": [ - "接龙" - ], - "summary": "查看接龙的详细信息", - "operationId": "infoUsingGET_59", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "接龙ID", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/listingInfo/list": { - "post": { - "tags": [ - "接龙" - ], - "summary": "接龙列表", - "operationId": "listUsingPOST_81", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "开团时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "开团时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateBegin", - "in": "query", - "description": "更新时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateEnd", - "in": "query", - "description": "更新时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "接龙ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobileUser", - "in": "query", - "description": "团长手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "团长昵称", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "状态:0 正常; 1 接龙失败; 2 接龙成功并截止", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/listingInfo/status": { - "post": { - "tags": [ - "接龙" - ], - "summary": "修改接龙状态", - "operationId": "statusUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "status", - "in": "query", - "description": "1 设为无效全部退款;2 接龙成功并截止", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/listingSet/info": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "读取接龙设置信息", - "operationId": "infoUsingGET_60", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/listingSet/save": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "接龙设置", - "operationId": "saveUsingPOST_71", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "awardPercent", - "description": "成团后团长奖励金额的比例,1为1%", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "minAmount", - "description": "接龙成团最少金额", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/liveRooms/del": { - "post": { - "tags": [ - "流媒体" - ], - "summary": "删除自建直播间", - "operationId": "delUsingPOST_82", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/liveRooms/info": { - "get": { - "tags": [ - "流媒体" - ], - "summary": "自建直播间详情", - "operationId": "infoUsingGET_61", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/liveRooms/list": { - "post": { - "tags": [ - "流媒体" - ], - "summary": "自建直播间列表", - "operationId": "listUsingPOST_82", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "isShow", - "description": "显示/隐藏", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "nameLike", - "in": "query", - "description": "直播间名称模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "0 未开始 1 直播中 11 暂停 2 已结束 3 已过期", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uid", - "description": "主播用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/liveRooms/save": { - "post": { - "tags": [ - "流媒体" - ], - "summary": "自建直播间设置", - "operationId": "saveUsingPOST_72", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "bgImage", - "description": "背景图片", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "clearGoodsIds", - "in": "query", - "description": "解除原有商品关联关系", - "required": false, - "type": "string" - }, - { - "name": "coverImage", - "description": "封面图片", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "goodsIds", - "in": "query", - "description": "关联商品编号,多个商品编号用英文逗号分隔", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "id", - "description": "记录编号,修改的时候需要传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isShow", - "description": "显示/隐藏", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "直播间名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "setId", - "description": "云直播设置记录编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shareImage", - "description": "分享图片", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "startTimeStr", - "in": "query", - "description": "直播开始时间: yyyy-MM-dd HH:mm:ss", - "required": false, - "type": "string" - }, - { - "name": "uid", - "description": "主播用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/logSms/del": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "删除短信记录", - "operationId": "delUsingPOST_83", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号,批量删除请用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/logSms/list": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "短信验证码发送记录", - "operationId": "listUsingPOST_83", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "contentLike", - "in": "query", - "description": "短信内容关键字", - "required": false, - "type": "string" - }, - { - "name": "dateAddBegin", - "in": "query", - "description": "发送时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "发送时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateBegin", - "in": "query", - "description": "更新时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateEnd", - "in": "query", - "description": "更新时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "isSuccess", - "in": "query", - "description": "是否成功 true/false", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "手机号码", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "resultLike", - "in": "query", - "description": "发送结果关键字", - "required": false, - "type": "string" - }, - { - "name": "type", - "in": "query", - "description": "短信通道", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/logSms/truncate": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "清空数据[删除所有的验证码记录]", - "operationId": "truncateUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/logedAdminList": { - "get": { - "tags": [ - "站点信息" - ], - "summary": "查看当前已登录的管理员列表", - "operationId": "logedAdminListUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/luckyGoods/del": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "删除抽奖奖品项目", - "operationId": "delUsingPOST_84", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "抽奖奖品ID, 多个id用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/luckyGoods/info": { - "get": { - "tags": [ - "活动&工具" - ], - "summary": "获取抽奖奖品详情", - "operationId": "infoUsingGET_62", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "抽奖id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/luckyGoods/list": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "抽奖奖品列表", - "operationId": "listUsingPOST_84", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "luckyId", - "description": "抽奖id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "状态:0 正常 1 禁用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "0 商品 1 优惠券", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/luckyGoods/save": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "抽奖奖品添加/修改", - "operationId": "saveUsingPOST_73", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "couponId", - "description": "优惠券规则ID,type为1时传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "goodsId", - "description": "商品ID,type为0时传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "luckyId", - "description": "抽奖id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "number", - "description": "奖品数量", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "probability", - "description": "中奖概率", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态:0 正常 1 禁用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "title", - "description": "奖品名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "0 商品 1 优惠券", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/luckyInfo/award": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "抽奖项目手动填写中奖号码开奖", - "operationId": "awardUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "awardCode", - "in": "query", - "description": "5位数时时彩开奖号码", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "抽奖项目ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/luckyInfo/del": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "删除抽奖项目", - "operationId": "delUsingPOST_85", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "抽奖项目ID, 多个项目用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/luckyInfo/info": { - "get": { - "tags": [ - "活动&工具" - ], - "summary": "获取抽奖详情", - "operationId": "infoUsingGET_63", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "抽奖id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/luckyInfo/list": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "抽奖项目列表", - "operationId": "listUsingPOST_85", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "发布时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "发布时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "抽奖id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "nameLike", - "in": "query", - "description": "名称", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "状态:'0 正常 1 已结束", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/luckyInfo/save": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "抽奖项目添加/修改", - "operationId": "saveUsingPOST_74", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "awardIdx", - "description": "开奖设置:对应重庆时时彩的当日期数(24-96)", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dateEnd", - "in": "query", - "description": "开奖日期,格式: 2019-05-23", - "required": false, - "type": "string" - }, - { - "name": "extJsonStr", - "in": "query", - "description": "扩展属性的JSON格式数据", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "newsId", - "description": "抽奖介绍文档id(填写CMS模块的文章管理的文章id)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "title", - "description": "标题", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "virtualTraderId", - "description": "中奖文案信息id(填写知识付费交易的项目id)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/luckyInfo/stop": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "抽奖项目设置为截止,等待开奖", - "operationId": "stopUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "抽奖项目ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/luckyInfoJoinLog/del": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "删除抽奖记录", - "operationId": "delUsingPOST_86", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录ID, 多个项目用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/luckyInfoJoinLog/list": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "抽奖记录列表", - "operationId": "listUsingPOST_86", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "参与时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "参与时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "isAward", - "description": "是否中奖 true / false", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "lid", - "description": "抽奖项目id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "number", - "description": "抽奖号码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "uid", - "description": "抽奖用户id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/mailRemind/del": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "删除邮件提醒记录", - "operationId": "delUsingPOST_87", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/mailRemind/info": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "邮件提醒详情", - "operationId": "infoUsingGET_64", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/mailRemind/list": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "邮件提醒列表", - "operationId": "listUsingGET_19", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/mailRemind/save": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "邮件提醒设置", - "operationId": "saveUsingPOST_75", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "brandId", - "description": "商品品牌ID,goodsPattern=2时有效", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号,修改的时候需要传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isUse", - "description": "true:启用,false:禁用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mails", - "description": "接收的邮箱地址,多个地址之间用英文逗号分割", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "module", - "description": "order 下单后商品推送 comment 留言评论模块 dailySellerReport 每日销售统计", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pickPointId", - "description": "订单取货点ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "订单所属门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopIdZt", - "description": "订单自提门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "templateData", - "in": "query", - "description": "邮件内容模版", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/mockApi/del": { - "post": { - "tags": [ - "mockApi" - ], - "summary": "删除mockApi", - "operationId": "delUsingPOST_89", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/mockApi/del-group": { - "post": { - "tags": [ - "mockApi" - ], - "summary": "删除mockApi分组", - "operationId": "delGroupUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/mockApi/info": { - "get": { - "tags": [ - "mockApi" - ], - "summary": "mockApi详情", - "operationId": "infoUsingGET_65", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/mockApi/list": { - "get": { - "tags": [ - "mockApi" - ], - "summary": "mockApi列表", - "operationId": "listUsingGET_20", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/mockApi/save": { - "post": { - "tags": [ - "mockApi" - ], - "summary": "添加/修改mockApi", - "operationId": "saveUsingPOST_76", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "description": "接口模拟返回的内容", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "describe", - "description": "描述", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "groupId", - "description": "分组ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "method", - "description": "请求方式 get/post/put/delete", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "url", - "description": "路径地址", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/mockApi/save-group": { - "post": { - "tags": [ - "mockApi" - ], - "summary": "添加/修改mockApi分组", - "operationId": "saveGroupUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "url", - "description": "路径", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/moments/del": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "删除发圈素材", - "operationId": "delUsingPOST_91", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "编号", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/moments/info": { - "get": { - "tags": [ - "活动&工具" - ], - "summary": "发圈素材详情", - "operationId": "infoUsingGET_67", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/moments/list": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "发圈素材列表", - "operationId": "listUsingPOST_89", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "categoryId", - "description": "分类ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dateAddBegin", - "in": "query", - "description": "添加时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "添加时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "keyWords", - "in": "query", - "description": "关键词模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "type", - "description": "0 商品 1 cms", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/moments/save": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "发圈素材添加/修改", - "operationId": "saveUsingPOST_78", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "categoryId", - "description": "分类ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "content", - "description": "发圈文案", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "delOldPic", - "in": "query", - "description": "是否删除原来的图片: true/false", - "required": false, - "type": "string" - }, - { - "name": "extJsonStr", - "in": "query", - "description": "扩展属性的JSON格式数据", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序,数字越小越靠前", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pics", - "in": "query", - "description": "图片数组", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "refId", - "description": "商品/文章ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "0 商品 1 cms 2 营销素材", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/momentsCategory/del": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "删除发圈素材分类", - "operationId": "delUsingPOST_90", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/momentsCategory/info": { - "get": { - "tags": [ - "活动&工具" - ], - "summary": "发圈素材分类详情", - "operationId": "infoUsingGET_66", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "分类id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/momentsCategory/list": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "发圈素材分类列表", - "operationId": "listUsingPOST_88", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/momentsCategory/save": { - "post": { - "tags": [ - "活动&工具" - ], - "summary": "发圈素材分类添加/修改", - "operationId": "saveUsingPOST_77", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "remark", - "description": "备注", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/myActions": { - "get": { - "tags": [ - "站点信息" - ], - "summary": "拉取当前用户的权限列表", - "operationId": "myActionsUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/online-pay/del": { - "post": { - "tags": [ - "在线支付" - ], - "summary": "删除在线支付设置", - "operationId": "delUsingPOST_92", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "type", - "in": "query", - "description": "类型: lcsw为扫呗;wepayez为境外支付; intelsalon 为云美集付; alipay 为支付宝; baiwei 百威支付; bestpay 天翼支付; liantuofu 联拓富支付; omipay Omipay跨境支付; ottpay OTTpay跨境支付; stripe Stripe支付; sssyin sssyin支付; fomo fomo支付; royal royalPay; ccvv CCPAY & VVPAY; payXpert; payIpaynow; payAirwallex; payNihaopay; payPaypal; payAllinpay 通联支付; payShengpay 盛付通; payCelltide KFT支付", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/online-pay/info": { - "get": { - "tags": [ - "在线支付" - ], - "summary": "读取在线支付设置信息", - "operationId": "infoUsingGET_68", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/online-pay/save": { - "post": { - "tags": [ - "在线支付" - ], - "summary": "在线支付设置", - "operationId": "saveUsingPOST_79", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "accessToken", - "in": "query", - "description": "注册终端获取的令牌/秘钥", - "required": false, - "type": "string" - }, - { - "name": "aliPublicKey", - "in": "query", - "description": "支付宝的公钥", - "required": false, - "type": "string" - }, - { - "name": "apiKey", - "in": "query", - "description": "payXpert密钥", - "required": false, - "type": "string" - }, - { - "name": "appId", - "in": "query", - "description": "支付宝应用的APPID", - "required": false, - "type": "string" - }, - { - "name": "appKey", - "in": "query", - "description": "payIpaynow密钥", - "required": false, - "type": "string" - }, - { - "name": "appid", - "in": "query", - "description": "联拓富支付合作方标识 / 官方微信支付的公众号appid / royalPay微信app支付时候需要传", - "required": false, - "type": "string" - }, - { - "name": "bwApiKey", - "in": "query", - "description": "百威秘钥", - "required": false, - "type": "string" - }, - { - "name": "bwNo", - "in": "query", - "description": "百威ID", - "required": false, - "type": "string" - }, - { - "name": "ccvvuserId", - "in": "query", - "description": "CCPAY & VVPAY 的 user_id", - "required": false, - "type": "string" - }, - { - "name": "ccvvuserPassword", - "in": "query", - "description": "CCPAY & VVPAY 的 user_password", - "required": false, - "type": "string" - }, - { - "name": "certPem", - "in": "query", - "description": "微信/支付宝RSA2 的证书文件apiclient_cert.pem", - "required": false, - "type": "string" - }, - { - "name": "clientId", - "in": "query", - "description": "payAirwallex、paypal 支付的时候,需要传", - "required": false, - "type": "string" - }, - { - "name": "clientSecret", - "in": "query", - "description": "paypal 必传", - "required": false, - "type": "string" - }, - { - "name": "currency", - "in": "query", - "description": "支付货币", - "required": false, - "type": "string" - }, - { - "name": "currencyIn", - "in": "query", - "description": "到账货币", - "required": false, - "type": "string" - }, - { - "name": "key", - "in": "query", - "description": "联拓富支付安全校验码", - "required": false, - "type": "string" - }, - { - "name": "mNumber", - "in": "query", - "description": "OmiPay商户编号", - "required": false, - "type": "string" - }, - { - "name": "mchCertSerialNo", - "in": "query", - "description": "微信支付证书序列号", - "required": false, - "type": "string" - }, - { - "name": "mchId", - "in": "query", - "description": "微信支付商户号", - "required": false, - "type": "string" - }, - { - "name": "mchKey", - "in": "query", - "description": "微信支付api安全秘钥", - "required": false, - "type": "string" - }, - { - "name": "mchKeyV3", - "in": "query", - "description": "微信支付api安全秘钥V3", - "required": false, - "type": "string" - }, - { - "name": "merchantCode", - "in": "query", - "description": "联拓富支付门店编号", - "required": false, - "type": "string" - }, - { - "name": "merchantId", - "in": "query", - "description": "OTTPay Merchant ID", - "required": false, - "type": "string" - }, - { - "name": "merchantNo", - "in": "query", - "description": "商户号", - "required": false, - "type": "string" - }, - { - "name": "operatorId", - "in": "query", - "description": "OTTPay Operator_id", - "required": false, - "type": "string" - }, - { - "name": "originatorId", - "in": "query", - "description": "payXpert账号", - "required": false, - "type": "string" - }, - { - "name": "privateKey", - "in": "query", - "description": "微信/支付宝RSA2 的私钥", - "required": false, - "type": "string" - }, - { - "name": "privateKeyAlias", - "in": "query", - "description": "天翼支付证书别名", - "required": false, - "type": "string" - }, - { - "name": "privateKeyPwd", - "in": "query", - "description": "天翼支付证书密码", - "required": false, - "type": "string" - }, - { - "name": "publishableKey", - "in": "query", - "description": "Stripe支付的Publishable key", - "required": false, - "type": "string" - }, - { - "name": "secretKey", - "in": "query", - "description": "OmiPay支付、Stripe支付的商户API密钥", - "required": false, - "type": "string" - }, - { - "name": "shopid", - "in": "query", - "description": "门店编号", - "required": false, - "type": "string" - }, - { - "name": "signKey", - "in": "query", - "description": "OTTPay Sign Key", - "required": false, - "type": "string" - }, - { - "name": "terminalId", - "in": "query", - "description": "终端号", - "required": false, - "type": "string" - }, - { - "name": "token", - "in": "query", - "description": "nihaopay 必填,授权凭证", - "required": false, - "type": "string" - }, - { - "name": "txVersion", - "in": "query", - "description": "微信支付提现版本,1为企业转账到零钱;2为商家转账到零钱", - "required": false, - "type": "string" - }, - { - "name": "type", - "in": "query", - "description": "类型: lcsw为扫呗;wepayez为境外支付; intelsalon 为云美集付; alipay 为支付宝; wxpay 为官方微信支付; baiwei 百威支付; bestpay 天翼支付; liantuofu 联拓富支付; omipay Omipay跨境支付; ottpay OTTpay跨境支付; stripe Stripe支付; sssyin sssyin支付; fomo fomo支付; royal royalPay; ccvv CCPAY & VVPAY; payXpert; payIpaynow; payAirwallex; payNihaopay; payPaypal; hmpay 杉德河马支付; payAllinpay 通联支付; payShengpay 盛付通; payCelltide KFT支付", - "required": true, - "type": "string" - }, - { - "name": "webhookId", - "in": "query", - "description": "paypal 必传", - "required": false, - "type": "string" - }, - { - "name": "webhookKey", - "in": "query", - "description": "Stripe支付的webhookKey", - "required": false, - "type": "string" - }, - { - "name": "webhookSecret", - "in": "query", - "description": "payAirwallex webhook回调的签名密钥", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - }, - { - "name": "appSecret", - "in": "query", - "description": "appSecret", - "required": false, - "type": "string" - }, - { - "name": "merid", - "in": "query", - "description": "merid", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/order/refundApply/info": { - "get": { - "tags": [ - "订单模块" - ], - "summary": "获取退换货申请详情", - "operationId": "infoUsingGET_69", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/order/refundApply/list": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "读取退换货申请列表", - "operationId": "listUsingPOST_90", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "添加时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "添加时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "orderId", - "description": "订单ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "状态:0 待处理 1 买家撤销 2 卖家拒绝 3 处理中 4 退换货成功", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "unResolved", - "in": "query", - "description": "true 未解决/ false 已解决", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/order/refundApply/setBackLogisticsAddress": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "设置商品退货地址", - "operationId": "setBackLogisticsAddressUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "address", - "in": "query", - "description": "详细地址", - "required": false, - "type": "string" - }, - { - "name": "applyId", - "in": "query", - "description": "退换货申请记录的ID", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "linkMan", - "in": "query", - "description": "收件人", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "收件人手机", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/orderRefund/list": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "查询所有的退款记录", - "operationId": "listUsingPOST_14", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "支付时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "支付时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "orderId", - "description": "订单id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "payNo", - "description": "支付订单号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "refundNo", - "description": "退款订单号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "所属门店ID,用于查询该门店下的退款", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态:-1 订单已删除 0 未申请 1 提交中 2 等待退款 3 退款成功 4 退款失败", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "类型:wx 退款到微信,balance 退款到小程序余额,baiwei 退款到智百威支付", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/organizeBuyLog/list": { - "post": { - "tags": [ - "组织&成员&网盘" - ], - "summary": "组织购买记录", - "operationId": "listUsingPOST_91", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "支付时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "支付时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "购买用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "organizeId", - "description": "组织ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "uid", - "description": "购买用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/organizeInfo/list": { - "post": { - "tags": [ - "组织&成员&网盘" - ], - "summary": "组织列表", - "operationId": "listUsingPOST_92", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "nameLike", - "in": "query", - "description": "组织名称模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/organizeInfo/modify": { - "post": { - "tags": [ - "组织&成员&网盘" - ], - "summary": "修改组织信息", - "operationId": "modifyUsingPOST_3", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateEnd", - "in": "query", - "description": "组织到期时间,yyyy-MM-dd HH:mm:ss", - "required": false, - "type": "string" - }, - { - "name": "maxMembers", - "in": "query", - "description": "组织最大人数", - "required": false, - "type": "string" - }, - { - "name": "name", - "in": "query", - "description": "组织名称", - "required": true, - "type": "string" - }, - { - "name": "organizeId", - "in": "query", - "description": "组织ID", - "required": true, - "type": "string" - }, - { - "name": "remark", - "in": "query", - "description": "备注", - "required": false, - "type": "string" - }, - { - "name": "status", - "in": "query", - "description": "0 正常; 1 禁用", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/organizePanSetting/del": { - "post": { - "tags": [ - "组织&成员&网盘" - ], - "summary": "删除网盘配置", - "operationId": "delUsingPOST_93", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/organizePanSetting/info": { - "get": { - "tags": [ - "组织&成员&网盘" - ], - "summary": "读取网盘配置", - "operationId": "infoUsingGET_70", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/organizePanSetting/save": { - "post": { - "tags": [ - "组织&成员&网盘" - ], - "summary": "网盘配置", - "operationId": "saveUsingPOST_80", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "accessKey", - "description": "“密钥管理”中的AccessKey", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "bucket", - "description": "空间名Bucket", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "endpoint", - "description": "阿里云的上传地址,例如: oss-cn-hangzhou.aliyuncs.com", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "secretKey", - "description": "“密钥管理”中的SecretKey", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/organizePrice/del": { - "post": { - "tags": [ - "组织&成员&网盘" - ], - "summary": "删除组织收费", - "operationId": "delUsingPOST_94", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/organizePrice/list": { - "get": { - "tags": [ - "组织&成员&网盘" - ], - "summary": "组织收费列表", - "operationId": "listUsingGET_21", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/organizePrice/save": { - "post": { - "tags": [ - "组织&成员&网盘" - ], - "summary": "组织收费设置", - "operationId": "saveUsingPOST_81", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "days", - "description": "天数", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号,修改的时候需要传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "member", - "description": "最大人数", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "price", - "description": "费用", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/partner/del": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "删除合伙人", - "operationId": "delUsingPOST_95", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/partner/info": { - "get": { - "tags": [ - "分销管理" - ], - "summary": "查看合伙人详情", - "operationId": "infoUsingGET_71", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/partner/list": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "合伙人列表", - "operationId": "listUsingPOST_93", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "申请时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "申请时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "0 正常 1 停用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "userType", - "description": "0 个人;1 企业", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/partner/save": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "添加/编辑合伙人信息", - "operationId": "saveUsingPOST_82", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "commisionPercent", - "description": "返佣比例,%", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "corpPic", - "description": "身份证正面照片/营业执照电子版", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "用户编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "idcard", - "description": "负责人身份证号码", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "idcardPic1", - "description": "身份证正面照片", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "idcardPic2", - "description": "身份证背面照片", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "idcardPicHand", - "description": "手持身份证照片", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "legalPersonName", - "description": "负责人姓名", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "licenseNumber", - "description": "身份证号码/营业执照号码", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "description": "负责人手机号码", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "姓名/公司名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "0 正常 1 停用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "userType", - "description": "0 个人;1 企业", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/partnerSet/info": { - "get": { - "tags": [ - "分销管理" - ], - "summary": "读取当前合伙人设置", - "operationId": "infoUsingGET_72", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/partnerSet/save": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "合伙人设置", - "operationId": "saveUsingPOST_83", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "isOpen", - "description": "开启/关闭返佣功能", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "leaderUserLevelId", - "description": "团队长绑定会员等级", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "memberUserLevelId", - "description": "团队成员绑定会员等级", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pLeader", - "description": "团队长返佣比例,%", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pPartner", - "description": "合伙人返佣比例,%", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "priceLeader", - "description": "团队长购买价格", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/peisong/member/del": { - "post": { - "tags": [ - "配送模块" - ], - "summary": "删除配送人员", - "operationId": "delUsingPOST_96", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/peisong/member/list": { - "post": { - "tags": [ - "配送模块" - ], - "summary": "配送人员管理", - "operationId": "listUsingPOST_94", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "mobileLike", - "in": "query", - "description": "手机号码", - "required": false, - "type": "string" - }, - { - "name": "nameLike", - "in": "query", - "description": "姓名", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "0 可接单 1 休息 2 在路上 3 服务中", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "0 禁用 1 配送员/骑手 2 管理员(可派单)", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/peisong/member/save": { - "post": { - "tags": [ - "配送模块" - ], - "summary": "配送人员设置", - "operationId": "saveUsingPOST_85", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "用户编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "description": "手机号码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "姓名", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "openid", - "description": "用来接收服务号模版消息提醒", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "0 可接单 1 休息 2 在路上 3 服务中", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "0 禁用 1 配送员/骑手 2 管理员(可派单)", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/peisong/statisticsPeisongMemberOrder": { - "post": { - "tags": [ - "配送模块" - ], - "summary": "配送人员业绩统计", - "operationId": "listUsingPOST_137", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "day", - "description": "统计时间例如 202012 查看12月份;20201212 查看这一天的业绩", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/peisongSet/info": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "读取配送服务设置", - "operationId": "infoUsingGET_73", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/peisongSet/save": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "配送服务设置", - "operationId": "saveUsingPOST_86", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "openGrab", - "description": "是否开启抢单模式", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "openSendSys", - "description": "是否开启系统自动派单模式", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "sendSysMinutes", - "description": "N分钟未被抢单后系统自动派单", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "templateContent", - "description": "来新单提醒配送员的模版消息内容", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "wxTmplmsgId", - "description": "来新单提醒配送员的模版消息编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/photo/add": { - "post": { - "tags": [ - "图片交易" - ], - "summary": "添加图片", - "operationId": "addUsingPOST_3", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "categoryId", - "description": "所属类别ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "图片名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "price", - "description": "图片价格", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "所属店铺", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "urls", - "in": "query", - "description": "图片地址,多个地址用英文的逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/photo/del": { - "post": { - "tags": [ - "图片交易" - ], - "summary": "删除图片", - "operationId": "delUsingPOST_97", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "记录编号,多个记录用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/photo/list": { - "post": { - "tags": [ - "图片交易" - ], - "summary": "图片库列表", - "operationId": "listUsingPOST_95", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "categoryIdSel", - "in": "query", - "description": "所属类别ID", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "shopId", - "description": "所属店铺", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/photoPrice/del": { - "post": { - "tags": [ - "图片交易" - ], - "summary": "删除套餐价格", - "operationId": "delUsingPOST_98", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/photoPrice/list": { - "post": { - "tags": [ - "图片交易" - ], - "summary": "套餐价格列表", - "operationId": "listUsingPOST_96", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/photoPrice/save": { - "post": { - "tags": [ - "图片交易" - ], - "summary": "套餐价格设置", - "operationId": "saveUsingPOST_87", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "记录编号,修改的时候需要传", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "number", - "description": "购买图片数量", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "price", - "description": "打包价格", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/pickPoint/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除取货点", - "operationId": "delUsingPOST_99", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/pickPoint/info": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "取货点详情", - "operationId": "infoUsingGET_74", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/pickPoint/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "取货点列表", - "operationId": "listUsingPOST_97", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "shopId", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "0 正常; 1 停用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "类型", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/pickPoint/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "取货点设置", - "operationId": "saveUsingPOST_88", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "address", - "description": "地址", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号,修改的时候需要传", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "latitude", - "description": "地图坐标纬度", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "longitude", - "description": "地图坐标经度", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "numberOrderMax", - "description": "最多订单数", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "0 正常; 1 禁用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "tel", - "description": "联系方式", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "类型", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/pingtuanHelp/list": { - "post": { - "tags": [ - "拼团模块" - ], - "summary": "拼团记录", - "operationId": "listUsingPOST_98", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "购买时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "购买时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "goodsId", - "in": "query", - "description": "商品ID", - "required": false, - "type": "string" - }, - { - "name": "mobileUser", - "in": "query", - "description": "用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "用户昵称", - "required": false, - "type": "string" - }, - { - "name": "orderId", - "in": "query", - "description": "订单ID", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "pingtuanId", - "in": "query", - "description": "拼团ID", - "required": false, - "type": "string" - }, - { - "name": "pingtuanJoiner", - "in": "query", - "description": "团号", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/pingtuanMultilevel/del": { - "post": { - "tags": [ - "拼团模块" - ], - "summary": "删除多级团购价格设", - "operationId": "delUsingPOST_100", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/pingtuanMultilevel/list": { - "get": { - "tags": [ - "拼团模块" - ], - "summary": "获取商品多级团购价格设置", - "operationId": "listUsingGET_22", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "in": "query", - "description": "商品ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/pingtuanMultilevel/save": { - "post": { - "tags": [ - "拼团模块" - ], - "summary": "多级团购价格设置", - "operationId": "saveUsingPOST_89", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "description": "商品ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "如果是修改现有记录,需要传入id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "规则名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "number", - "description": "购买数量", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "price", - "description": "团购价格", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/pingtuanOpener/del": { - "post": { - "tags": [ - "拼团模块" - ], - "summary": "删除团,只有已结束(完成或取消)的团才可以删除", - "operationId": "delUsingPOST_101", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "团号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/pingtuanOpener/info": { - "get": { - "tags": [ - "拼团模块" - ], - "summary": "查看某团的详细信息", - "operationId": "infoUsingGET_75", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "tuanId", - "in": "query", - "description": "团号,请注意不是拼团id,是每个人开团后的团号", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/pingtuanOpener/list": { - "post": { - "tags": [ - "拼团模块" - ], - "summary": "开团列表", - "operationId": "listUsingPOST_99", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "开团时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "开团时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateEndBegin", - "in": "query", - "description": "到期时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateEndEnd", - "in": "query", - "description": "到期时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateBegin", - "in": "query", - "description": "更新时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateEnd", - "in": "query", - "description": "更新时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "goodsId", - "description": "商品ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "团号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobileUser", - "in": "query", - "description": "用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "用户昵称", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "pingtuanId", - "description": "拼团ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态:0 进行中 1 无效 2 完成", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/pingtuanOpener/status": { - "post": { - "tags": [ - "拼团模块" - ], - "summary": "修改拼团状态", - "operationId": "statusUsingPOST_2", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "status", - "in": "query", - "description": "0设为进行中;1设为无效;2设为完成", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/pingtuanSet/del": { - "post": { - "tags": [ - "拼团模块" - ], - "summary": "删除拼团设置", - "operationId": "delUsingPOST_102", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/pingtuanSet/info": { - "get": { - "tags": [ - "拼团模块" - ], - "summary": "拼团设置详情", - "operationId": "infoUsingGET_76", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "in": "query", - "description": "商品id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "id", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/pingtuanSet/list": { - "post": { - "tags": [ - "拼团模块" - ], - "summary": "拼团设置列表", - "operationId": "listUsingPOST_100", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "开始时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "开始时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateEndBegin", - "in": "query", - "description": "截止时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateEndEnd", - "in": "query", - "description": "截止时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "goodsId", - "description": "商品ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "拼团ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "状态:0 正常 1 禁用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/pingtuanSet/save": { - "post": { - "tags": [ - "拼团模块" - ], - "summary": "拼团设置添加/修改", - "operationId": "saveUsingPOST_90", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateEndStr", - "in": "query", - "description": "截止时间,格式 2018-05-16 12:23:34", - "required": false, - "type": "string" - }, - { - "name": "goodsId", - "description": "商品ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "numberPersion", - "description": "需要几人才能成团", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "numberSucccess", - "description": "已成团数量", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "refundType", - "description": "退款方式:0 退到工厂用户余额 1 原路退回", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态:0 正常 1 禁用", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "timeoutHours", - "description": "超时时间,单位为小时,超时未成团,自动退款", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/pluginInfo/check": { - "get": { - "tags": [ - "工厂设置" - ], - "summary": "检测是否开通了某插件", - "operationId": "checkUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "type", - "in": "query", - "description": "插件类型编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/pluginInfo/list": { - "get": { - "tags": [ - "工厂设置" - ], - "summary": "我开通的插件列表", - "operationId": "listUsingGET_23", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/privateConfig/del": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "删除隐私数据", - "operationId": "delUsingPOST_37", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/privateConfig/info": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "隐私数据详情", - "operationId": "infoUsingGET_26", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": false, - "type": "string" - }, - { - "name": "key", - "in": "query", - "description": "编号", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/privateConfig/list": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "隐私数据管理列表", - "operationId": "listUsingPOST_42", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "key", - "in": "query", - "description": "编号", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - }, - { - "name": "dateAddBegin", - "in": "query", - "description": "dateAddBegin", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "dateAddEnd", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateBegin", - "in": "query", - "description": "dateUpdateBegin", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateEnd", - "in": "query", - "description": "dateUpdateEnd", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/privateConfig/save": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "隐私数据设置", - "operationId": "saveUsingPOST_33", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "隐私数据,一定要是 JSON 格式的数据", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "type": "string" - }, - { - "name": "key", - "in": "query", - "description": "编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseAllocate/add": { - "post": { - "tags": [ - "进销存" - ], - "summary": "录入调拨单", - "operationId": "addUsingPOST_4", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsJsonStr", - "in": "query", - "description": "商品、规格尺寸、数量信息的数组,如:[{\"goodsId\":11,\"number\":2,\"propertyChildIds\":\"\", \"property\": \"\",\"amount\":\"单价\",\"remark\":\"备注\"}]", - "required": true, - "type": "string" - }, - { - "name": "remark", - "description": "备注", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseAllocate/cancel": { - "post": { - "tags": [ - "进销存" - ], - "summary": "终止调拨单", - "operationId": "cancelUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseAllocate/del": { - "post": { - "tags": [ - "进销存" - ], - "summary": "删除调拨单", - "operationId": "delUsingPOST_104", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseAllocate/info": { - "get": { - "tags": [ - "进销存" - ], - "summary": "调拨单详情", - "operationId": "infoUsingGET_78", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseAllocate/list": { - "post": { - "tags": [ - "进销存" - ], - "summary": "调拨单列表", - "operationId": "listUsingPOST_101", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseAllocate/vetSuccess": { - "post": { - "tags": [ - "进销存" - ], - "summary": "调拨单核通过", - "operationId": "vetSuccessUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseDeliveryOrder/add": { - "post": { - "tags": [ - "进销存" - ], - "summary": "录入采购单收货", - "operationId": "addUsingPOST_5", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsJsonStr", - "in": "query", - "description": "商品、规格尺寸、数量信息的数组,如:[{\"goodsId\":11,\"number\":2,\"propertyChildIds\":\"\", \"property\": \"\",\"amount\":\"单价\",\"remark\":\"备注\"}]", - "required": true, - "type": "string" - }, - { - "name": "parantId", - "description": "采购单ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "remark", - "description": "备注", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseDeliveryOrder/del": { - "post": { - "tags": [ - "进销存" - ], - "summary": "删除采购单收货", - "operationId": "delUsingPOST_105", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseDeliveryOrder/info": { - "get": { - "tags": [ - "进销存" - ], - "summary": "采购单收货详情", - "operationId": "infoUsingGET_79", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseDeliveryOrder/list": { - "post": { - "tags": [ - "进销存" - ], - "summary": "采购单收货列表", - "operationId": "listUsingPOST_102", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseDeliveryOrder/vetSuccess": { - "post": { - "tags": [ - "进销存" - ], - "summary": "采购单收货审核通过", - "operationId": "vetSuccessUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseOrder/add": { - "post": { - "tags": [ - "进销存" - ], - "summary": "录入采购单", - "operationId": "addUsingPOST_6", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsJsonStr", - "in": "query", - "description": "商品、规格尺寸、数量信息的数组,如:[{\"goodsId\":11,\"number\":2,\"propertyChildIds\":\"\", \"property\": \"\",\"amount\":\"单价\",\"remark\":\"备注\"}]", - "required": true, - "type": "string" - }, - { - "name": "remark", - "description": "备注", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "supplierId", - "description": "供应商ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseOrder/cancel": { - "post": { - "tags": [ - "进销存" - ], - "summary": "终止采购单", - "operationId": "cancelUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseOrder/del": { - "post": { - "tags": [ - "进销存" - ], - "summary": "删除采购单", - "operationId": "delUsingPOST_106", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseOrder/info": { - "get": { - "tags": [ - "进销存" - ], - "summary": "采购单详情", - "operationId": "infoUsingGET_80", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseOrder/list": { - "post": { - "tags": [ - "进销存" - ], - "summary": "采购单列表", - "operationId": "listUsingPOST_103", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseOrder/vetSuccess": { - "post": { - "tags": [ - "进销存" - ], - "summary": "采购单审核通过", - "operationId": "vetSuccessUsingPOST_2", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseRefundOrder/add": { - "post": { - "tags": [ - "进销存" - ], - "summary": "录入采购单退货", - "operationId": "addUsingPOST_7", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsJsonStr", - "in": "query", - "description": "商品、规格尺寸、数量信息的数组,如:[{\"goodsId\":11,\"number\":2,\"propertyChildIds\":\"\", \"property\": \"\",\"amount\":\"单价\",\"remark\":\"备注\"}]", - "required": true, - "type": "string" - }, - { - "name": "parantId", - "description": "采购单ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "remark", - "description": "备注", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseRefundOrder/del": { - "post": { - "tags": [ - "进销存" - ], - "summary": "删除采购单退货", - "operationId": "delUsingPOST_107", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseRefundOrder/info": { - "get": { - "tags": [ - "进销存" - ], - "summary": "采购单退货详情", - "operationId": "infoUsingGET_81", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseRefundOrder/list": { - "post": { - "tags": [ - "进销存" - ], - "summary": "采购单列表", - "operationId": "listUsingPOST_104", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseRefundOrder/vetSuccess": { - "post": { - "tags": [ - "进销存" - ], - "summary": "采购单退货审核通过", - "operationId": "vetSuccessUsingPOST_3", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseStock/del": { - "post": { - "tags": [ - "进销存" - ], - "summary": "删除库存记录", - "operationId": "delUsingPOST_108", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseStock/list": { - "post": { - "tags": [ - "进销存" - ], - "summary": "库存列表", - "operationId": "listUsingPOST_105", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "description": "商品ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "goodsIds", - "in": "query", - "description": "商品ID批量搜索", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "goodsNameLike", - "in": "query", - "description": "商品搜索关键词", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "shopId", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "supplierId", - "description": "供应商ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseStockLogs/list": { - "post": { - "tags": [ - "进销存" - ], - "summary": "出入库明细记录", - "operationId": "listUsingPOST_106", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "behavior", - "description": "入库传0;出库传1", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "goodsId", - "description": "商品ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "goodsIds", - "in": "query", - "description": "商品ID批量搜索", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "goodsNameLike", - "in": "query", - "description": "商品搜索关键词", - "required": false, - "type": "string" - }, - { - "name": "orderNumber", - "description": "订单号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "shopId", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "supplierId", - "description": "供应商ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "业务类型", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseStocktaking/add": { - "post": { - "tags": [ - "进销存" - ], - "summary": "录入盘库单", - "operationId": "addUsingPOST_8", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsJsonStr", - "in": "query", - "description": "商品、规格尺寸、数量信息的数组,如:[{\"goodsId\":11,\"number\":2,\"propertyChildIds\":\"\", \"property\": \"\",\"amount\":\"单价\",\"remark\":\"备注\"}]", - "required": true, - "type": "string" - }, - { - "name": "remark", - "description": "备注", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseStocktaking/cancel": { - "post": { - "tags": [ - "进销存" - ], - "summary": "终止盘库单", - "operationId": "cancelUsingPOST_2", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseStocktaking/del": { - "post": { - "tags": [ - "进销存" - ], - "summary": "删除盘库单", - "operationId": "delUsingPOST_109", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseStocktaking/info": { - "get": { - "tags": [ - "进销存" - ], - "summary": "盘库单详情", - "operationId": "infoUsingGET_82", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseStocktaking/list": { - "post": { - "tags": [ - "进销存" - ], - "summary": "盘库单列表", - "operationId": "listUsingPOST_107", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/purchaseStocktaking/vetSuccess": { - "post": { - "tags": [ - "进销存" - ], - "summary": "盘库单核通过", - "operationId": "vetSuccessUsingPOST_4", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/queuingUpLog/list": { - "post": { - "tags": [ - "排队叫号" - ], - "summary": "叫号列表", - "operationId": "listUsingPOST_108", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "状态,0 排队中;1 受理中; 2 已处理; 3 已过号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "typeId", - "description": "队列ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/queuingUpLog/skip": { - "post": { - "tags": [ - "排队叫号" - ], - "summary": "当前取号设置为已过号", - "operationId": "skipUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "当前取号ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/queuingUpLog/success": { - "post": { - "tags": [ - "排队叫号" - ], - "summary": "当前取号设置为已受理", - "operationId": "successUsingPOST_2", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "当前取号ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/queuingUpType/curService": { - "post": { - "tags": [ - "排队叫号" - ], - "summary": "获取某叫号类型当前叫号信息", - "operationId": "curServiceUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "队列ID", - "required": false, - "type": "string" - }, - { - "name": "serviceWindow", - "in": "query", - "description": "服务窗口编号", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/queuingUpType/del": { - "post": { - "tags": [ - "排队叫号" - ], - "summary": "删除叫号队列/类型", - "operationId": "delUsingPOST_110", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "队列ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/queuingUpType/fetch": { - "get": { - "tags": [ - "排队叫号" - ], - "summary": "取号", - "operationId": "fetchUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "队列ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/queuingUpType/info": { - "get": { - "tags": [ - "排队叫号" - ], - "summary": "叫号队列/类型详情", - "operationId": "infoUsingGET_83", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/queuingUpType/jump": { - "post": { - "tags": [ - "排队叫号" - ], - "summary": "叫号队列/类型-(过号)呼叫下一个号码", - "operationId": "jumpUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "队列ID", - "required": true, - "type": "string" - }, - { - "name": "serviceWindow", - "in": "query", - "description": "服务窗口编号", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/queuingUpType/list": { - "post": { - "tags": [ - "排队叫号" - ], - "summary": "叫号队列/类型列表", - "operationId": "listUsingPOST_109", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "状态,0 正常;1 关闭; 2 名额已满", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/queuingUpType/reset": { - "post": { - "tags": [ - "排队叫号" - ], - "summary": "(重置)初始化叫号队列/类型", - "operationId": "resetUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "队列ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/queuingUpType/save": { - "post": { - "tags": [ - "排队叫号" - ], - "summary": "添加/修改叫号队列/类型", - "operationId": "saveUsingPOST_92", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateBeginStr", - "in": "query", - "description": "开始可取号时间(yyyy-MM-dd HH:mm:ss)", - "required": false, - "type": "string" - }, - { - "name": "dateEndStr", - "in": "query", - "description": "截止取号时间(yyyy-MM-dd HH:mm:ss)", - "required": false, - "type": "string" - }, - { - "name": "descript", - "description": "类型备注(描述)", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "minitus", - "description": "每个号预计服务耗时(单位:分钟)", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "类型名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "numberTotle", - "description": "总名额", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态:0 正常; 1 关闭; 2 名额已满", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/queuingUpType/success": { - "post": { - "tags": [ - "排队叫号" - ], - "summary": "叫号队列/类型-服务完成并呼叫下一个号码", - "operationId": "successUsingPOST_3", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "队列ID", - "required": true, - "type": "string" - }, - { - "name": "logId", - "in": "query", - "description": "当前取号信息记录的ID", - "required": false, - "type": "string" - }, - { - "name": "serviceWindow", - "in": "query", - "description": "服务窗口编号", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/qwApps/del": { - "post": { - "tags": [ - "企业微信" - ], - "summary": "删除企业微信应用配置", - "operationId": "delUsingPOST_111", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/qwApps/info": { - "get": { - "tags": [ - "企业微信" - ], - "summary": "读取企业微信应用配置", - "operationId": "infoUsingGET_84", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/qwApps/save": { - "post": { - "tags": [ - "企业微信" - ], - "summary": "修改企业微信应用配置", - "operationId": "saveUsingPOST_93", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "agentId", - "description": "企业微信应用的AgentId", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "corpid", - "description": "企业ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "secret", - "description": "企业微信应用的Secret", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/recycleOrder/del": { - "post": { - "tags": [ - "旧物回收" - ], - "summary": "删除回收订单", - "operationId": "delUsingPOST_112", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/recycleOrder/info": { - "get": { - "tags": [ - "旧物回收" - ], - "summary": "回收订单详情", - "operationId": "infoUsingGET_85", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/recycleOrder/list": { - "post": { - "tags": [ - "旧物回收" - ], - "summary": "回收订单列表", - "operationId": "listUsingPOST_110", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "buyOrderId", - "description": "购买订单ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "hxNumber", - "description": "核销码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "in": "query", - "description": "下单用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nameLike", - "in": "query", - "description": "商品名称", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "下单用户昵称", - "required": false, - "type": "string" - }, - { - "name": "orderNumber", - "description": "回收订单号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "platform", - "description": "平台编码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "-2 审核不通过 -1 关闭订单 0 待审核 1 审核通过待发货 2 已发货待确认 3 回收成功", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "trackingNumber", - "description": "快递单号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "0 商城订单 1 cps订单", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/recycleOrder/success": { - "post": { - "tags": [ - "旧物回收" - ], - "summary": "回收订单设为交易成功", - "operationId": "successUsingPOST_4", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "amount", - "in": "query", - "description": "回收金额", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "score", - "in": "query", - "description": "回收积分", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/recycleOrder/vetPass": { - "post": { - "tags": [ - "旧物回收" - ], - "summary": "回收订单审核通过", - "operationId": "vetPassUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/recycleOrder/vetRefuse": { - "post": { - "tags": [ - "旧物回收" - ], - "summary": "回收订单审核拒绝", - "operationId": "vetRefuseUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/remark/list": { - "get": { - "tags": [ - "工作流备忘录" - ], - "summary": "获取工作流备忘录列表", - "operationId": "listUsingGET_26", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "refId", - "in": "query", - "description": "外键ID", - "required": true, - "type": "string" - }, - { - "name": "type", - "in": "query", - "description": "类型", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/remark/save": { - "post": { - "tags": [ - "工作流备忘录" - ], - "summary": "工作流备忘录添加新备注", - "operationId": "saveUsingPOST_96", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "refId", - "in": "query", - "description": "外键ID", - "required": true, - "type": "string" - }, - { - "name": "remark", - "in": "query", - "description": "备注信息", - "required": true, - "type": "string" - }, - { - "name": "type", - "in": "query", - "description": "类型", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/remind/curIndex": { - "get": { - "tags": [ - "消息提醒[订单等数据变化时提醒]" - ], - "summary": "当前提醒索引", - "operationId": "curIndexUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/remind/readNext": { - "get": { - "tags": [ - "消息提醒[订单等数据变化时提醒]" - ], - "summary": "获取下一个提醒消息", - "operationId": "readNextUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "curIndex", - "in": "query", - "description": "获取该索引之后的提醒消息", - "required": true, - "type": "string" - }, - { - "name": "mod", - "in": "query", - "description": "消息所属模块,order:订单 user:用户", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/resetKey": { - "post": { - "tags": [ - "站点信息" - ], - "summary": "重置商户秘钥", - "operationId": "resetKeyUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/rewardPoint/add": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品分享奖励设置", - "operationId": "addUsingPOST_9", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "commission", - "in": "query", - "description": "奖励数值", - "required": true, - "type": "string" - }, - { - "name": "commissionSettleType", - "in": "query", - "description": "0 支付即返; 1 确认收货返; 2 好评返;", - "required": true, - "type": "string" - }, - { - "name": "commissionType", - "in": "query", - "description": "奖励类型 1 积分 2 现金 3 赠送优惠券", - "required": true, - "type": "string" - }, - { - "name": "commissionUserType", - "in": "query", - "description": "0任何用户都可以发起分享;1只有有会员等级的会员", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "商品id", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/rewardPoint/cancel": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "取消商品分享奖励", - "operationId": "cancelUsingPOST_3", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "商品id, 多个商品使用英文逗号分割", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/rewardPoint/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商品分享奖励设置列表", - "operationId": "listUsingPOST_111", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "商品ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "nameLike", - "in": "query", - "description": "商品名称", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/roles/actions": { - "get": { - "tags": [ - "登录及授权" - ], - "summary": "获取所有的权限列表", - "operationId": "actionsUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/roles/del": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "删除角色", - "operationId": "delUsingPOST_113", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/roles/info": { - "get": { - "tags": [ - "登录及授权" - ], - "summary": "获取角色详情", - "operationId": "infoUsingGET_86", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/roles/list": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "所有的角色列表", - "operationId": "listUsingPOST_112", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/roles/save": { - "post": { - "tags": [ - "登录及授权" - ], - "summary": "添加/修改角色", - "operationId": "saveUsingPOST_97", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "actionsIds", - "in": "query", - "description": "允许的权限ID", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "id", - "description": "记录编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "角色名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "profile", - "description": "角色描述", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionApply/addCorporate": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "添加企业类型分销商", - "operationId": "addCorporateUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "bankBranch", - "in": "query", - "description": "开户行(支行)", - "required": true, - "type": "string" - }, - { - "name": "bankCardNumber", - "in": "query", - "description": "银行账号", - "required": true, - "type": "string" - }, - { - "name": "bankName", - "in": "query", - "description": "银行名称", - "required": true, - "type": "string" - }, - { - "name": "corpName", - "in": "query", - "description": "企业名称", - "required": true, - "type": "string" - }, - { - "name": "corpPic", - "in": "query", - "description": "营业执照照片", - "required": true, - "type": "string" - }, - { - "name": "idcard", - "in": "query", - "description": "身份证号码", - "required": true, - "type": "string" - }, - { - "name": "idcardPic1", - "in": "query", - "description": "身份证正面照片", - "required": true, - "type": "string" - }, - { - "name": "idcardPic2", - "in": "query", - "description": "身份证背面照片", - "required": true, - "type": "string" - }, - { - "name": "idcardPicHand", - "in": "query", - "description": "手持身份证照片", - "required": true, - "type": "string" - }, - { - "name": "legalPersonName", - "in": "query", - "description": "法人姓名", - "required": true, - "type": "string" - }, - { - "name": "licenseNumber", - "in": "query", - "description": "营业执照号码", - "required": true, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "手机号码", - "required": true, - "type": "string" - }, - { - "name": "mobileParent", - "in": "query", - "description": "邀请人手机号码", - "required": false, - "type": "string" - }, - { - "name": "remark", - "in": "query", - "description": "备注", - "required": false, - "type": "string" - }, - { - "name": "uid", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionApply/addPersonal": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "添加个人类型分销商", - "operationId": "addPersonalUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "bankBranch", - "in": "query", - "description": "开户行(支行)", - "required": true, - "type": "string" - }, - { - "name": "bankCardNumber", - "in": "query", - "description": "银行账号", - "required": true, - "type": "string" - }, - { - "name": "bankName", - "in": "query", - "description": "银行名称", - "required": true, - "type": "string" - }, - { - "name": "idcard", - "in": "query", - "description": "身份证号码", - "required": true, - "type": "string" - }, - { - "name": "idcardPic1", - "in": "query", - "description": "身份证正面照片", - "required": true, - "type": "string" - }, - { - "name": "idcardPic2", - "in": "query", - "description": "身份证背面照片", - "required": true, - "type": "string" - }, - { - "name": "idcardPicHand", - "in": "query", - "description": "手持身份证照片", - "required": true, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "手机号码", - "required": true, - "type": "string" - }, - { - "name": "mobileParent", - "in": "query", - "description": "邀请人手机号码", - "required": false, - "type": "string" - }, - { - "name": "name", - "in": "query", - "description": "姓名", - "required": true, - "type": "string" - }, - { - "name": "remark", - "in": "query", - "description": "备注", - "required": false, - "type": "string" - }, - { - "name": "uid", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionApply/del": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "删除分销商", - "operationId": "delUsingPOST_114", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录id,多条记录请使用英文逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionApply/disable": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "禁用分销商", - "operationId": "disableUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "uid", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionApply/enable": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "启用分销商", - "operationId": "enableUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "uid", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionApply/info": { - "get": { - "tags": [ - "分销管理" - ], - "summary": "查看分销商信息详情", - "operationId": "infoUsingGET_87", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "uid", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionApply/list": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "分销商列表", - "operationId": "listUsingPOST_113", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "申请时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "申请时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "groupId", - "description": "分组ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "in": "query", - "description": "用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "审核状态,0 审核中 1 不通过 2 通过", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateBegin", - "in": "query", - "description": "dateUpdateBegin", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateEnd", - "in": "query", - "description": "dateUpdateEnd", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "nick", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionApply/modifyCorporate": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "修改企业类型分销商信息", - "operationId": "modifyCorporateUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "bankBranch", - "in": "query", - "description": "开户行(支行)", - "required": false, - "type": "string" - }, - { - "name": "bankCardNumber", - "in": "query", - "description": "银行账号", - "required": false, - "type": "string" - }, - { - "name": "bankName", - "in": "query", - "description": "银行名称", - "required": false, - "type": "string" - }, - { - "name": "corpName", - "in": "query", - "description": "企业名称", - "required": false, - "type": "string" - }, - { - "name": "corpPic", - "in": "query", - "description": "营业执照照片", - "required": false, - "type": "string" - }, - { - "name": "idcard", - "in": "query", - "description": "身份证号码", - "required": false, - "type": "string" - }, - { - "name": "idcardPic1", - "in": "query", - "description": "身份证正面照片", - "required": false, - "type": "string" - }, - { - "name": "idcardPic2", - "in": "query", - "description": "身份证背面照片", - "required": false, - "type": "string" - }, - { - "name": "idcardPicHand", - "in": "query", - "description": "手持身份证照片", - "required": false, - "type": "string" - }, - { - "name": "isSeller", - "in": "query", - "description": "是否设置为分销商, trrue / false", - "required": false, - "type": "string" - }, - { - "name": "legalPersonName", - "in": "query", - "description": "法人姓名", - "required": false, - "type": "string" - }, - { - "name": "licenseNumber", - "in": "query", - "description": "营业执照号码", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "手机号码", - "required": false, - "type": "string" - }, - { - "name": "remark", - "in": "query", - "description": "备注", - "required": false, - "type": "string" - }, - { - "name": "sellerLevelId", - "in": "query", - "description": "分销商等级ID", - "required": false, - "type": "string" - }, - { - "name": "uid", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionApply/modifyPersonal": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "修改个人类型分销商资料", - "operationId": "modifyPersonalUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "bankBranch", - "in": "query", - "description": "开户行(支行)", - "required": false, - "type": "string" - }, - { - "name": "bankCardNumber", - "in": "query", - "description": "银行账号", - "required": false, - "type": "string" - }, - { - "name": "bankName", - "in": "query", - "description": "银行名称", - "required": false, - "type": "string" - }, - { - "name": "idcard", - "in": "query", - "description": "身份证号码", - "required": false, - "type": "string" - }, - { - "name": "idcardPic1", - "in": "query", - "description": "身份证正面照片", - "required": false, - "type": "string" - }, - { - "name": "idcardPic2", - "in": "query", - "description": "身份证背面照片", - "required": false, - "type": "string" - }, - { - "name": "idcardPicHand", - "in": "query", - "description": "手持身份证照片", - "required": false, - "type": "string" - }, - { - "name": "isSeller", - "in": "query", - "description": "是否设置为分销商, trrue / false", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "手机号码", - "required": false, - "type": "string" - }, - { - "name": "name", - "in": "query", - "description": "姓名", - "required": false, - "type": "string" - }, - { - "name": "remark", - "in": "query", - "description": "备注", - "required": false, - "type": "string" - }, - { - "name": "sellerLevelId", - "in": "query", - "description": "分销商等级ID", - "required": false, - "type": "string" - }, - { - "name": "uid", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionApply/pass": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "审核通过", - "operationId": "passUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionApply/refuse": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "拒绝申请", - "operationId": "refuseUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录id", - "required": true, - "type": "string" - }, - { - "name": "remark", - "in": "query", - "description": "不通过原因", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionApplyGroup/del": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "删除分组", - "operationId": "delUsingPOST_115", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionApplyGroup/info": { - "get": { - "tags": [ - "分销管理" - ], - "summary": "分组详情", - "operationId": "infoUsingGET_88", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "分组id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionApplyGroup/list": { - "get": { - "tags": [ - "分销管理" - ], - "summary": "分组列表", - "operationId": "listUsingGET_27", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionApplyGroup/modify/group": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "批量修改分销商分组", - "operationId": "modifyCategoryUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "groupId", - "in": "query", - "description": "商品分类ID", - "required": true, - "type": "string" - }, - { - "name": "ids", - "in": "query", - "description": "记录ID,多个记录用英文逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionApplyGroup/save": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "添加/修改分组", - "operationId": "saveUsingPOST_98", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "remark", - "description": "备注", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionCity/del": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "删除分销区域合伙人", - "operationId": "delUsingPOST_116", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionCity/info": { - "get": { - "tags": [ - "分销管理" - ], - "summary": "获取分销区域合伙人详情", - "operationId": "infoUsingGET_89", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionCity/list": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "分销区域合伙人列表", - "operationId": "listUsingPOST_114", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionCity/report": { - "get": { - "tags": [ - "分销管理" - ], - "summary": "查看区域合伙人销售报表", - "operationId": "reportUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "cityId", - "in": "query", - "description": "城市ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionCity/save": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "添加/修改分销区域合伙人", - "operationId": "saveUsingPOST_99", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "cityId", - "description": "城市ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "p", - "description": "返佣比例", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "provinceId", - "description": "省份ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "standardSaleroom", - "description": "考核月度达标销售额", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uid", - "description": "用户编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionCommisionLog/add": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "手动增加返佣", - "description": "改方式只是添加返佣记录,不会自动结算佣金,如果结算佣金请调用接口接口;", - "operationId": "addUsingPOST_10", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "beginFromSelf", - "in": "query", - "description": "true / false 如果自己是分销商,那么第一级返佣就是自己", - "required": false, - "type": "string" - }, - { - "name": "commisionBaseFirst", - "in": "query", - "description": "true / false 2,3级返佣是否基于1级的佣金", - "required": false, - "type": "string" - }, - { - "name": "commisionTotal", - "in": "query", - "description": "计佣金额,用来计算佣金的金额", - "required": true, - "type": "string" - }, - { - "name": "goodsName", - "description": "商品名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "notSellerLevel1Jump", - "in": "query", - "description": "true / false 如果1级返佣的用户不是分销商,寻址上级分销商用户作为1级", - "required": false, - "type": "string" - }, - { - "name": "orderId", - "description": "订单ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "orderType", - "description": "0 内部订单; 1 外部订单", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "property", - "description": "规格尺寸", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "saleAmount", - "description": "订单金额", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "uids", - "description": "消费用户编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionCommisionLog/list": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "佣金明细列表", - "operationId": "listUsingPOST_115", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "返佣时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "返佣时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "groupId", - "in": "query", - "description": "分销商所属分组", - "required": false, - "type": "string" - }, - { - "name": "isSettlement", - "description": "true / false 是否结算", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "level", - "description": "发展级别,1,2,3", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobilem", - "in": "query", - "description": "收入用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "mobiles", - "in": "query", - "description": "消费用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nickm", - "in": "query", - "description": "收入用户昵称", - "required": false, - "type": "string" - }, - { - "name": "nicks", - "in": "query", - "description": "消费用户昵称", - "required": false, - "type": "string" - }, - { - "name": "orderId", - "description": "订单编号(数字类型)", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "uidm", - "description": "收入用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uids", - "description": "消费用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "unit", - "description": "0 现金返佣 1 积分返佣", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionCommisionLog/settlement": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "结算一笔待结算的分销记录", - "operationId": "settlementUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "commisionApiRequestId", - "in": "query", - "description": "创建返佣记录接口返回的请求ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionGoods/del": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "删除分销商品", - "description": "购买这些商品后可自动成为分销商", - "operationId": "delUsingPOST_117", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "记录id, 多个商品使用英文逗号分割", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionGoods/list": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "分销商品列表", - "description": "购买这些商品后可自动成为分销商", - "operationId": "listUsingPOST_116", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "商品ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "nameLike", - "description": "商品名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionGoods/set": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "添加分销商品", - "description": "购买这些商品后可自动成为分销商", - "operationId": "setUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsIds", - "in": "query", - "description": "商品id,多个商品用英文逗号隔开", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionLevel/del": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "删除分销等级", - "operationId": "delUsingPOST_118", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionLevel/info": { - "get": { - "tags": [ - "分销管理" - ], - "summary": "获取分销等级详情", - "operationId": "infoUsingGET_90", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionLevel/list": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "分销等级列表", - "operationId": "listUsingPOST_117", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "等级编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionLevel/save": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "添加/修改分销等级", - "operationId": "saveUsingPOST_100", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "记录编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "level", - "description": "级别,数字越大,级别越高", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "等级名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "p1", - "description": "1级返佣比例,%", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "p2", - "description": "2级返佣比例,%", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "p3", - "description": "3级返佣比例,%", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "upgradeAmount", - "description": "销售额达到多少可升级至该等级", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "upgradeCommision", - "description": "推广佣金达到多少可升级至该等级", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "upgradeOrderNumber", - "description": "推广订单数达到多少可升级至该等级", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionLevelGoodsP/del": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "删除商品分销比例", - "operationId": "delUsingPOST_119", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "记录id, 多个商品使用英文逗号分割", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionLevelGoodsP/list": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "商品分销比例列表", - "operationId": "listUsingPOST_118", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "商品ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "nameLike", - "description": "商品名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionLevelGoodsP/set": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "设置商品分销比例", - "operationId": "setUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsIds", - "in": "query", - "description": "商品id,多个商品用英文逗号隔开", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "levelId", - "in": "query", - "description": "分销等级id", - "required": true, - "type": "string" - }, - { - "name": "p1", - "in": "query", - "description": "1级返佣比例,%", - "required": true, - "type": "string" - }, - { - "name": "p2", - "in": "query", - "description": "2级返佣比例,%", - "required": true, - "type": "string" - }, - { - "name": "p3", - "in": "query", - "description": "3级返佣比例,%", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionSet/info": { - "get": { - "tags": [ - "分销管理" - ], - "summary": "读取当前分销设置", - "operationId": "infoUsingGET_91", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionSet/save": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "分销设置", - "operationId": "saveUsingPOST_101", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "applyAutoPass", - "description": "分销商申请是否自动审核通过", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "earningsPercent", - "description": "商品返佣比例,单位为%", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "isOpen", - "description": "开启/关闭返佣功能", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "p1", - "description": "1级返佣比例,%", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "p2", - "description": "2级返佣比例,%", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "p3", - "description": "3级返佣比例,%", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "triggerType", - "description": "0 支付即返;1 交易成功返", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "0 现金返佣;1积分返佣", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "widthdrawType", - "description": "0 人工提现;1 微信打款", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionTeam/del": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "删除分销团队", - "operationId": "delUsingPOST_120", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionTeam/info": { - "get": { - "tags": [ - "分销管理" - ], - "summary": "获取分销团队详情", - "operationId": "infoUsingGET_92", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionTeam/list": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "分销团队列表", - "operationId": "listUsingPOST_119", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "等级编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionTeam/report": { - "get": { - "tags": [ - "分销管理" - ], - "summary": "查看团队销售报表", - "operationId": "reportUsingGET_1", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "teamId", - "in": "query", - "description": "团队id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionTeam/save": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "添加/修改分销团队", - "operationId": "saveUsingPOST_102", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "deputyLeader", - "description": "副队长用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "leader", - "description": "队长用户编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "团队名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "p1", - "description": "队长返佣比例", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "p2", - "description": "副队长返佣比例", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "standardSaleroom", - "description": "考核月度达标销售额", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionUserPercent/del": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "删除特殊用户的分销比例设置", - "operationId": "delUsingPOST_121", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "uid", - "in": "query", - "description": "用户编号,多个用户用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionUserPercent/list": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "特殊用户返佣比例配置列表", - "operationId": "listUsingPOST_120", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "mobile", - "in": "query", - "description": "用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "用户昵称", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/saleDistributionUserPercent/save": { - "post": { - "tags": [ - "分销管理" - ], - "summary": "特殊用户设置分销返佣比例", - "operationId": "saveUsingPOST_103", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "p1", - "in": "query", - "description": "1级返佣比例,%", - "required": true, - "type": "string" - }, - { - "name": "p2", - "in": "query", - "description": "2级返佣比例,%", - "required": true, - "type": "string" - }, - { - "name": "p3", - "in": "query", - "description": "3级返佣比例,%", - "required": true, - "type": "string" - }, - { - "name": "uid", - "in": "query", - "description": "用户编号,多个用户用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/sccSaleOrder/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "scc出库单列表", - "operationId": "listUsingPOST_121", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "orderNumber", - "description": "业务订单号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "orderNumberScc", - "description": "出库单号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "10 创建;20 审核失败;30 审核成功;101 取消;40 下发失败;60 下发成功;65 生产中;300 分配完成;500 捡货完成;700 包装完成;900 发货确认", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/sccSaleOrder/queryOrderStatus": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "scc出库单状态查询", - "operationId": "queryOrderStatusUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "orderId", - "in": "query", - "description": "订单ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/scoreDeductionRule/del": { - "post": { - "tags": [ - "积分模块" - ], - "summary": "删除积分抵扣规则", - "operationId": "delUsingPOST_122", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/scoreDeductionRule/info": { - "get": { - "tags": [ - "积分模块" - ], - "summary": "积分抵扣规则详情", - "operationId": "infoUsingGET_93", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/scoreDeductionRule/list": { - "post": { - "tags": [ - "积分模块" - ], - "summary": "积分抵扣规则列表", - "operationId": "listUsingPOST_122", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/scoreDeductionRule/save": { - "post": { - "tags": [ - "积分模块" - ], - "summary": "添加/修改积分抵扣规则", - "operationId": "saveUsingPOST_104", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "description": "针对某个商品特殊设置,预留字段,暂时没有启用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "goodsIds", - "in": "query", - "description": "下单抵扣规则添加时有效,传可用的商品编号,多个用英文逗号分割", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "id", - "description": "记录编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "loop", - "description": "true/false ,假如充100抵10元,是否自动200积分可以抵20元", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "money", - "description": "抵扣金额", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "score", - "description": "积分数", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/seckill/add": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "设置秒杀", - "operationId": "addUsingPOST_11", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "多个抢购时间数组: [{\"dateStartStr\": \"yyyy-MM-dd HH:mm:ss\", \"dateEndStr\": \"yyyy-MM-dd HH:mm:ss\"}]", - "required": false, - "type": "string" - }, - { - "name": "dateEndStr", - "in": "query", - "description": "结束时间, yyyy-MM-dd HH:mm:ss", - "required": false, - "type": "string" - }, - { - "name": "dateStartStr", - "in": "query", - "description": "开始时间, yyyy-MM-dd HH:mm:ss", - "required": false, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "商品id", - "required": false, - "type": "string" - }, - { - "name": "minPrice", - "in": "query", - "description": "秒杀价格【需要支付多少金额】", - "required": true, - "type": "string" - }, - { - "name": "minScore", - "in": "query", - "description": "秒杀积分【需要支付多少积分】", - "required": true, - "type": "string" - }, - { - "name": "seckillBuyNumber", - "in": "query", - "description": "用户限购数量,0代表不限购", - "required": true, - "type": "string" - }, - { - "name": "stores", - "in": "query", - "description": "库存数", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/seckill/cancel": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "取消秒杀", - "operationId": "cancelUsingPOST_4", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "商品id, 多个商品使用英文逗号分割", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/seckill/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "秒杀商品列表", - "operationId": "listUsingPOST_123", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "商品ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "nameLike", - "in": "query", - "description": "商品名称", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/sergiAddress/del": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "删除sergi地址", - "operationId": "delUsingPOST_123", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/sergiAddress/info": { - "get": { - "tags": [ - "用户管理" - ], - "summary": "sergi地址详情", - "operationId": "infoUsingGET_94", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/sergiAddress/list": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "sergi地址列表", - "operationId": "listUsingPOST_124", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "addressEn2Like", - "in": "query", - "description": "英文地址模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "addressEn3Like", - "in": "query", - "description": "英文地址模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "addressEn4Like", - "in": "query", - "description": "英文地址模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "addressEn5Like", - "in": "query", - "description": "英文地址模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "addressEn6Like", - "in": "query", - "description": "英文地址模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "addressEn7Like", - "in": "query", - "description": "英文地址模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "addressEn8Like", - "in": "query", - "description": "英文地址模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "addressEnLike", - "in": "query", - "description": "英文地址模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "addressLike", - "in": "query", - "description": "中文地址模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/sergiAddress/save": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "sergi地址设置", - "operationId": "saveUsingPOST_105", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "address", - "description": "详细地址", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "addressEn", - "description": "英文详细地址", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "addressEn2", - "description": "英文详细地址", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "addressEn3", - "description": "英文详细地址", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "addressEn4", - "description": "英文详细地址", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "addressEn5", - "description": "英文详细地址", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "addressEn6", - "description": "英文详细地址", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "addressEn7", - "description": "英文详细地址", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "addressEn8", - "description": "英文详细地址", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "cityId", - "description": "城市编码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "districtId", - "description": "区县编码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "extJsonStr", - "description": "扩展属性的JSON格式数据", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号,修改的时候需要传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "longitude", - "description": "地图经度", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "provinceId", - "description": "省份编码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/feePeisong/del": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "删除配送费", - "operationId": "delUsingPOST_39", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/feePeisong/info": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "配送费详情", - "operationId": "infoUsingGET_28", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/feePeisong/list": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "配送费设置列表", - "operationId": "listUsingGET_6", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/feePeisong/save": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "配送费设置", - "operationId": "saveUsingPOST_34", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "distance", - "description": "配送距离,单位为公里(km)", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "fwf1FreeAmount", - "description": "满多少金额免收此项费用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "fwf1Min", - "description": "最低收费", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "fwf1Name", - "description": "收费名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "fwf1Number", - "description": "金额/比例", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "fwf1Type", - "description": "0 固定金额; 1 百分比", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "fwf2FreeAmount", - "description": "满多少金额免收此项费用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "fwf2Min", - "description": "最低收费", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "fwf2Name", - "description": "收费名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "fwf2Number", - "description": "金额/比例", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "fwf2Type", - "description": "0 固定金额; 1 百分比", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "fwf3FreeAmount", - "description": "满多少金额免收此项费用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "fwf3Min", - "description": "最低收费", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "fwf3Name", - "description": "收费名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "fwf3Number", - "description": "金额/比例", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "fwf3Type", - "description": "0 固定金额; 1 百分比", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号,修改的时候需要传", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "serviceAmountMin", - "description": "起送金额", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "ztDiscounts", - "description": "自提补贴金额", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/mail/del": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "删除邮件网关", - "operationId": "delUsingPOST_42", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/mail/info": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "邮件网关详情", - "operationId": "infoUsingGET_31", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/mail/list": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "邮件网关设置列表", - "operationId": "listUsingPOST_44", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "isUse", - "description": "true:启用,false:禁用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "type", - "description": "smtp: smtp方式发送; qw: 用企微发送邮件", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/mail/qiyeweixin/app/mail": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "读取企业微信应用的邮箱地址", - "operationId": "qiyeweixinAppMailUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/mail/qiyeweixin/app/mail/set": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "读取企业微信应用的邮箱地址", - "operationId": "qiyeweixinAppMailSetUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "mail", - "in": "query", - "description": "新的邮箱地址", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/mail/save": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "邮件网关设置", - "operationId": "saveUsingPOST_37", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "from", - "description": "邮件地址", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "host", - "description": "smtp地址", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号,修改的时候需要传", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "isSsl", - "description": "true:启用,false:不启用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isUse", - "description": "true:启用,false:禁用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "passWord", - "description": "密码", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "port", - "description": "smtp端口", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "smtp: smtp方式发送; qw: 用企微发送邮件", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "userName", - "description": "用户名", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "weight", - "description": "权重,数字越大,使用率越高", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/printer/del": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "删除打印机", - "operationId": "delUsingPOST_103", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/printer/info": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "打印机详情", - "operationId": "infoUsingGET_77", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/printer/list": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "打印机列表", - "operationId": "listUsingGET_24", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/printer/save": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "打印机设置", - "operationId": "saveUsingPOST_91", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "brandId", - "description": "商品品牌ID,goodsPattern=2时有效", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "cronTriggerTimes", - "description": "如果是定时打印,填具体触发时间:11:19,12:00,13:00", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "daysAgo", - "description": "定时打印的话,打印几天前的订单(根据预约 day 日期判断),0 为当天,1为明天,其他数字同理", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "goodsPattern", - "description": "0 每个商品单独打印; 1 所有商品一起打印; 2 指定品牌的商品汇总打印", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号,修改的时候需要传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isUse", - "description": "true:启用,false:禁用", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "打印机名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "orderTimeMax", - "description": "订单表的time字段的最大范围值,包含", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "orderTimeMin", - "description": "订单表的time字段的最小范围值,包含", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "orderTriggerStatus", - "description": "订单什么状态触发打印机进行打印,0 下单就打印; 1支付后打印; 2 发货后打印(您可以用来打印发货单)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pickPointId", - "description": "订单取货点ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "printType", - "description": "0 自动打印 1 商家确认后打印 2 定时打印 3 手动打印【补打小票时候选择打印机打印】", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "printerSn", - "description": "打印机编号,多台机器用英文逗号分隔", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "printerTimes", - "description": "打印份数", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pushShansong", - "description": "是否将订单推送给闪送", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pushShansongDelayMinutes", - "description": "订单延迟多少分钟后推送给闪送", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "订单所属门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopIdZt", - "description": "订单自提门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "templateData", - "in": "query", - "description": "打印内容模版", - "required": true, - "type": "string" - }, - { - "name": "type", - "description": "0 飞蛾小票机; 1 飞蛾标签机", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/printer/setLabelPrinterSize": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "设置标签机标签纸尺寸", - "operationId": "setLabelPrinterSizeUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "height", - "in": "query", - "description": "高度", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "width", - "in": "query", - "description": "宽度", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/printerFeie/clearTask": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "清空打印任务", - "operationId": "clearTaskUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "id", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/printerFeie/list": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "飞鹅打印机列表", - "operationId": "listUsingGET_25", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/printerFeie/setLabelPrinterSize": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "设置标签机标签纸尺寸", - "operationId": "setLabelPrinterSizeUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "height", - "in": "query", - "description": "高度", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "width", - "in": "query", - "description": "宽度", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/printerFeie/status": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "读取飞鹅打印机状态", - "description": "1、离线。2、在线,工作状态正常。3、在线,工作状态不正常。 备注:异常一般是无纸,离线的判断是打印机与服务器失去联系超过2分钟。", - "operationId": "statusUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "id", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/speaker/del": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "删除音箱", - "operationId": "delUsingPOST_133", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/speaker/getPayData": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "4G流量卡续费", - "operationId": "getPayDataUsingPOST_2", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录ID", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/speaker/info": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "音箱详情", - "operationId": "infoUsingGET_103", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/speaker/list": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "音箱列表", - "operationId": "listUsingGET_30", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/speaker/save": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "音箱设置", - "operationId": "saveUsingPOST_113", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "记录编号,修改的时候需要传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isUse", - "description": "true:启用,false:禁用", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "音箱名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "orderSt0", - "description": "待支付订单通知", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "orderSt1", - "description": "支付订单通知", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "paySuccess", - "description": "在线支付成功通知", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pickPointId", - "description": "订单取货点ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "订单所属门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopIdZt", - "description": "订单自提门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "sn", - "description": "音箱编号,多台机器用英文逗号分隔", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/set/speaker/speaker": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "调用音箱播报指定内容", - "operationId": "speakerUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "context", - "in": "query", - "description": "播报文字内容", - "required": false, - "type": "string" - }, - { - "name": "sn", - "in": "query", - "description": "设备序列号", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shansongShop/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除闪送门店绑定", - "operationId": "delUsingPOST_124", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shansongShop/info": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "闪送门店绑定详情", - "operationId": "infoUsingGET_95", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shansongShop/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "闪送门店绑定列表", - "operationId": "listUsingPOST_125", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shansongShop/queryAllStores": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "获取闪送商户的所有门店列表数据", - "operationId": "queryAllStoresUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shansongShop/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "闪送门店绑定设置", - "operationId": "saveUsingPOST_106", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "cityId", - "description": "闪送端的门店的城市ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "cityName", - "description": "闪送端的门店的城市名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号,修改的时候需要传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pickupPwd", - "description": "0:关闭取件码,1:开启取件码", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "门店ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "storeId", - "description": "闪送端的门店ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopArea/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除门店区域", - "operationId": "delUsingPOST_125", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopArea/info": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "门店区域详情", - "operationId": "infoUsingGET_96", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopArea/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "门店区域列表", - "operationId": "listUsingPOST_126", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "nameLike", - "in": "query", - "description": "名称模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopArea/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "门店区域设置", - "operationId": "saveUsingPOST_107", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "code", - "description": "编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号,修改的时候需要传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "key", - "description": "密钥", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "0 正常 1 停用 2 已预约 3 用餐中 4 待清洁", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopBusyTimes/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除门店忙时设置", - "operationId": "delUsingPOST_126", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopBusyTimes/info": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "门店忙时设置详情", - "operationId": "infoUsingGET_97", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopBusyTimes/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "门店忙时设置列表", - "operationId": "listUsingPOST_127", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dayStr", - "in": "query", - "description": "日期, 格式为: 2023-05-26", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "shopId", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopBusyTimes/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "门店忙时设置", - "operationId": "saveUsingPOST_108", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "busyTimes", - "description": "忙时时间段", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dayStr", - "in": "query", - "description": "日期, 格式为: 2023-05-26", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "记录编号,修改的时候需要传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopBusyTimes/saveByDay": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "门店忙时设置", - "operationId": "saveByDayUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "busyTimes", - "in": "query", - "description": "忙时时间段", - "required": false, - "type": "string" - }, - { - "name": "dayStr", - "in": "query", - "description": "日期, 格式为: 2023-05-26", - "required": false, - "type": "string" - }, - { - "name": "shopId", - "in": "query", - "description": "门店ID", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopCamera/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除门店探头", - "operationId": "delUsingPOST_127", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopCamera/info": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "门店探头详情", - "operationId": "infoUsingGET_98", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopCamera/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "门店探头列表", - "operationId": "listUsingPOST_128", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "deviceSn", - "description": "探头序列号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "nameLike", - "in": "query", - "description": "探头名称模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "shopId", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态 0 正常; 1 离线", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "taiNum", - "description": "台号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopCamera/liveUrl": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "获取门店探头在线播放地址", - "operationId": "liveUrlUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopCamera/playbackUrl": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "获取门店探头回放地址", - "operationId": "playbackUrlUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "endTime", - "in": "query", - "description": "结束时间,格式为 yyyyMMddHHmmss", - "required": false, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "protocolType", - "in": "query", - "description": "协议类型,不传默认为https_flv, 可选 http_flv wss jvmp", - "required": false, - "type": "string" - }, - { - "name": "startTime", - "in": "query", - "description": "开始时间,格式为 yyyyMMddHHmmss", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopCamera/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "门店探头设置", - "operationId": "saveUsingPOST_109", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "deviceSn", - "description": "探头序列号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号,修改的时候需要传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "探头名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "onlineTime", - "description": "探头在线时间", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "recommendStatus", - "description": "推荐状态 0 一般 1 推荐", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态 0 正常; 1 离线", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "taiNum", - "description": "台号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopCash/list": { - "post": { - "tags": [ - "门店财务模块" - ], - "summary": "门店资产列表", - "operationId": "listUsingPOST_129", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "nameLike", - "in": "query", - "description": "门店名称模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "number", - "in": "query", - "description": "门店编号", - "required": false, - "type": "string" - }, - { - "name": "orderBy", - "in": "query", - "description": "排序规则:balanceUp 余额从小到大;balanceDown 余额从大到小;freezeUp 冻结从小到大;freezeDown 冻结从大到小", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "shopId", - "in": "query", - "description": "门店ID", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopCash/modifyBalance": { - "post": { - "tags": [ - "门店财务模块" - ], - "summary": "调整门店余额", - "operationId": "modifyBalanceUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "门店ID(门店ID和门店编号至少传一项)", - "required": false, - "type": "string" - }, - { - "name": "money", - "in": "query", - "description": "调整金额,负数代表扣除余额", - "required": true, - "type": "string" - }, - { - "name": "number", - "in": "query", - "description": "门店编号(门店ID和门店编号至少传一项)", - "required": false, - "type": "string" - }, - { - "name": "payGateExt", - "in": "query", - "description": "扩展支付类型", - "required": false, - "type": "string" - }, - { - "name": "remark", - "in": "query", - "description": "备注", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopCategory/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除商家分类", - "operationId": "delUsingPOST_128", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopCategory/info": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "商家分类详情", - "operationId": "infoUsingGET_99", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "分类id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopCategory/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商家分类列表", - "operationId": "listUsingPOST_130", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopCategory/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商家分类添加/修改", - "operationId": "saveUsingPOST_110", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "extJsonStr", - "in": "query", - "description": "扩展属性的JSON格式数据", - "required": false, - "type": "string" - }, - { - "name": "icon", - "description": "分类图标", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isNoNeedVet", - "description": "该分类下的商家入驻是否免审核", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isUse", - "description": "是否启用,true 或者 false", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "key", - "description": "分类编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pid", - "description": "上级分类ID, 0 代表顶级分类", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "remark", - "description": "备注", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "自定义类型,32个字符以内", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopCertificate/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除商家认证记录", - "operationId": "delUsingPOST_129", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopCertificate/info": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "商家认证详情", - "operationId": "infoUsingGET_100", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopCertificate/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "商家认证列表", - "operationId": "listUsingPOST_131", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "corpNameLike", - "in": "query", - "description": "名称模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "0 待审核; 1 审核通过; 2 审核不通过", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopCertificate/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "提交商家认证信息", - "operationId": "saveUsingPOST_111", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "corpName", - "description": "企业名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "corpPic", - "description": "营业执照照片", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "商家ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "idcardPic1", - "description": "身份证正面照片", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "idcardPic2", - "description": "身份证背面照片", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "legalPersonIdcard", - "description": "法人身份证号码", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "legalPersonName", - "description": "法人姓名", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "licenseNumber", - "description": "营业执照号码", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "remark", - "description": "备注", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "0 待审核; 1 审核通过; 2 审核不通过", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopFav/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "门店收藏用户列表", - "operationId": "listUsingPOST_132", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "mobile", - "in": "query", - "description": "用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "用户昵称", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "shopId", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "tagLike", - "in": "query", - "description": "标签搜索", - "required": false, - "type": "string" - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopFav/setTag": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "给门店收藏的用户设置标签", - "operationId": "setTagUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "tags", - "in": "query", - "description": "标签", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopIot/cmds": { - "get": { - "tags": [ - "IoT设备" - ], - "summary": "获取设备指令集", - "operationId": "cmdsUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "topic", - "in": "query", - "description": "设备编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopIot/execute": { - "post": { - "tags": [ - "IoT设备" - ], - "summary": "发送设备指令", - "operationId": "executeUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "指令ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopIot/info": { - "get": { - "tags": [ - "IoT设备" - ], - "summary": "设备详情", - "operationId": "infoUsingGET_101", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "topic", - "in": "query", - "description": "设备编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopIot/list": { - "post": { - "tags": [ - "IoT设备" - ], - "summary": "设备列表", - "operationId": "listUsingPOST_133", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "shopId", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "0 正常; 1 禁用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - }, - { - "name": "nameLike", - "in": "query", - "description": "nameLike", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopIot/online": { - "get": { - "tags": [ - "IoT设备" - ], - "summary": "设备在线状态", - "operationId": "onlineUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "topic", - "in": "query", - "description": "设备编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopIot/update": { - "post": { - "tags": [ - "IoT设备" - ], - "summary": "修改设备信息", - "operationId": "updateUsingPOST_3", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "name", - "description": "设备名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "0 正常; 1 禁用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "topic", - "description": "设备编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopIot/updateCMD": { - "post": { - "tags": [ - "IoT设备" - ], - "summary": "修改指令信息", - "operationId": "updateCMDUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "in": "query", - "description": "绑定商品ID", - "required": false, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "指令ID", - "required": true, - "type": "string" - }, - { - "name": "name", - "in": "query", - "description": "指令名称", - "required": false, - "type": "string" - }, - { - "name": "paixu", - "in": "query", - "description": "排序", - "required": false, - "type": "string" - }, - { - "name": "userControl", - "in": "query", - "description": "针对用户可见或者隐藏", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopPic/add": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "添加门店图库", - "operationId": "addUsingPOST_12", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "group", - "description": "分组编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "姓名", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pic", - "description": "图片地址", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "门店ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopPic/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除门店图库图片", - "operationId": "delUsingPOST_130", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "记录编号,多个用英文逗号分割", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopPic/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "门店图库列表", - "operationId": "listUsingPOST_134", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "group", - "description": "分组编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "shopId", - "description": "门店ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - }, - { - "name": "nameLike", - "in": "query", - "description": "nameLike", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopPic/update": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "修改图库信息", - "operationId": "updateUsingPOST_4", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录ID", - "required": true, - "type": "string" - }, - { - "name": "name", - "in": "query", - "description": "姓名", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopReputation/del": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "删除商家评价", - "operationId": "delUsingPOST_131", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "需要删除的记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopReputation/info": { - "get": { - "tags": [ - "订单模块" - ], - "summary": "商家评价详情", - "operationId": "detailUsingGET_3", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "订单明细记录ID", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopReputation/list": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "商家评价列表", - "operationId": "listUsingPOST_135", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodReputation", - "description": "0 差评 1 中评 2 好评", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "in": "query", - "description": "用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "用户昵称", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "shopNameLike", - "in": "query", - "description": "门店名称模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopReputation/reply": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "回复商家评价", - "operationId": "replyUsingPOST_2", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "回复内容,最多200个字", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "需要修改的记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopReputation/update": { - "post": { - "tags": [ - "订单模块" - ], - "summary": "修改商家评价", - "operationId": "updateUsingPOST_5", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "deleteOldPic", - "in": "query", - "description": "是否删除原有买家秀", - "required": false, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "需要修改的记录ID", - "required": true, - "type": "string" - }, - { - "name": "pics", - "in": "query", - "description": "买家秀图片", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "remark", - "in": "query", - "description": "用户评价内容", - "required": false, - "type": "string" - }, - { - "name": "reply", - "in": "query", - "description": "回复内容", - "required": false, - "type": "string" - }, - { - "name": "reputation", - "in": "query", - "description": "0 差评 1 中评 2 好评", - "required": true, - "type": "string" - }, - { - "name": "tags", - "in": "query", - "description": "用户评价标签", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopStaff/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除门店员工", - "operationId": "delUsingPOST_132", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopStaff/info": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "门店员工详情", - "operationId": "infoUsingGET_102", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopStaff/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "门店员工列表", - "operationId": "listUsingPOST_136", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "shopId", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - }, - { - "name": "nameLike", - "in": "query", - "description": "nameLike", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopStaff/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "门店员工设置", - "operationId": "saveUsingPOST_112", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "description": "记录编号,修改的时候需要传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "description": "手机号码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "姓名", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pwd", - "description": "密码,不修改原密码,无需传该参数", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "shopId", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/shopStatisticsDay/day": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "门店/商家每日数据统计", - "operationId": "listUsingGET_28", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "day", - "in": "query", - "description": "日期,格式如:20220611", - "required": false, - "type": "string" - }, - { - "name": "shopId", - "in": "query", - "description": "门店ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/spread/alipay": { - "post": { - "tags": [ - "工厂设置" - ], - "summary": "设置推广返佣支付宝账号", - "operationId": "alipayUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "alipay", - "in": "query", - "description": "支付宝账号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/spread/apply": { - "post": { - "tags": [ - "工厂设置" - ], - "summary": "推广返佣申请提现", - "operationId": "applyUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "amount", - "in": "query", - "description": "提现金额", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/spread/teams": { - "post": { - "tags": [ - "工厂设置" - ], - "summary": "我的推广团队", - "description": "推广api工厂,邀请用户来用,拿高额佣金", - "operationId": "teamsUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "level", - "description": "直接发展为1,间接发展为2", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/statistics": { - "get": { - "tags": [ - "站点信息" - ], - "summary": "统计当前站点数据", - "operationId": "statisticsUsingGET_2", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/statistics/days": { - "get": { - "tags": [ - "数据统计" - ], - "summary": "获取每天增量数据", - "operationId": "daysUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateEnd", - "in": "query", - "description": "截止日期,格式 2020-05-07", - "required": false, - "type": "string" - }, - { - "name": "dateStart", - "in": "query", - "description": "开始日期,格式 2020-05-07", - "required": false, - "type": "string" - }, - { - "name": "quickDays", - "in": "query", - "description": "拉取最近几天的数据", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/statistics/wxaDailyVisit": { - "get": { - "tags": [ - "数据统计" - ], - "summary": "小程序每日访问分析[包含支付人数]", - "operationId": "listUsingGET_32", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dayBegin", - "in": "query", - "description": "统计日期起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dayEnd", - "in": "query", - "description": "统计日期止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/statisticsCommision/list": { - "get": { - "tags": [ - "数据统计" - ], - "summary": "拉取分销商佣金及销售统计记录", - "operationId": "listUsingGET_31", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dayBegin", - "in": "query", - "description": "统计日期起,格式 20180516", - "required": false, - "type": "string" - }, - { - "name": "dayEnd", - "in": "query", - "description": "统计日期止,格式 20190516", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/supplier/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除供应商", - "operationId": "delUsingPOST_134", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/supplier/info": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "供应商详情", - "operationId": "infoUsingGET_104", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "品牌id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/supplier/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "供应商列表", - "operationId": "listUsingPOST_138", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/supplier/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "供应商添加/修改", - "operationId": "saveUsingPOST_114", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "icon", - "description": "图标", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isUse", - "description": "是否启用,true 或者 false", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "remark", - "description": "备注", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/taskSetting/del": { - "post": { - "tags": [ - "积分模块" - ], - "summary": "删除做任务送积分设置", - "operationId": "delUsingPOST_135", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/taskSetting/list": { - "get": { - "tags": [ - "积分模块" - ], - "summary": "做任务送积分设置列表", - "operationId": "listUsingGET_33", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/taskSetting/save": { - "post": { - "tags": [ - "积分模块" - ], - "summary": "做任务送积分设置", - "operationId": "saveUsingPOST_115", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "group", - "description": "分组名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isDaily", - "description": "是否为每日任务", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "maxTimes", - "description": "(每天)最多可做几次任务", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "任务名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序,数字越小越靠前", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "remark", - "description": "任务备注", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "score", - "description": "完成任务可获得多少积分", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "任务类型,对应的具体业务逻辑", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/teamLeader/add": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "添加团队长", - "operationId": "addUsingPOST_13", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "partnerId", - "in": "query", - "description": "合伙人编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/teamLeader/del": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "删除团队长", - "operationId": "delUsingPOST_136", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "用户编号,多个用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/tourJourney/del": { - "post": { - "tags": [ - "旅游 & 旅行" - ], - "summary": "删除行程", - "operationId": "delUsingPOST_137", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/tourJourney/del/item": { - "post": { - "tags": [ - "旅游 & 旅行" - ], - "summary": "删除行程明细记录", - "operationId": "delItemUsingPOST_2", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/tourJourney/list": { - "get": { - "tags": [ - "旅游 & 旅行" - ], - "summary": "获取行程列表", - "operationId": "listUsingGET_34", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "refId", - "in": "query", - "description": "商品/文章ID", - "required": true, - "type": "string" - }, - { - "name": "type", - "in": "query", - "description": "0 cms; 1 商品;", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/tourJourney/save": { - "post": { - "tags": [ - "旅游 & 旅行" - ], - "summary": "添加/编辑行程", - "operationId": "saveUsingPOST_116", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "day", - "description": "说明这是第几天的行程", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "descript", - "description": "行程详细介绍", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "编辑的话要传记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "行程名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "refId", - "description": "商品/文章ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "subName", - "description": "行程一句话介绍", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "0 cms; 1 商品;", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/tourJourney/save/item": { - "post": { - "tags": [ - "旅游 & 旅行" - ], - "summary": "添加/编辑行程明细", - "operationId": "saveItemUsingPOST_2", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "descript", - "description": "行程详细介绍", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "编辑的话要传记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "linkUrl", - "description": "链接地址", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "行程名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序,数字越小越靠前", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pic", - "description": "图片封面", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "subName", - "description": "行程一句话介绍", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "tourJourneyId", - "description": "行程记录ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "0 活动; 10 早餐; 11 午餐; 12 晚餐; 13 茶点; 2 住宿; 3 景点;", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/tt/microapp/del": { - "post": { - "tags": [ - "字节跳动", - "头条小程序" - ], - "summary": "删除头条小程序配置", - "operationId": "delUsingPOST_44", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/tt/microapp/info": { - "get": { - "tags": [ - "字节跳动", - "头条小程序" - ], - "summary": "读取当前头条小程序配置", - "operationId": "infoUsingGET_33", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/tt/microapp/qrcode": { - "post": { - "tags": [ - "字节跳动", - "头条小程序" - ], - "summary": "获取头条小程序二维码", - "operationId": "qrcodeUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "二维码参数,json形式,无需传 access_token, https://microapp.bytedance.com/dev/cn/mini-app/develop/server/qr-code/createqrcode", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/tt/microapp/save": { - "post": { - "tags": [ - "字节跳动", - "头条小程序" - ], - "summary": "修改头条小程序配置", - "operationId": "saveUsingPOST_40", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "appid", - "description": "appid", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "payAppId", - "description": "支付appID,在抖音开放平台后台,支付界面申请开通后获取", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "secret", - "description": "secret", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/unBindWX": { - "post": { - "tags": [ - "站点信息" - ], - "summary": "解除公众号绑定", - "operationId": "unBindWXUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userAttendant/changeRecommendStatus": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "批量修改技师推荐状态", - "operationId": "changeRecommendStatusUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ids", - "in": "query", - "description": "技师ID,多个用英文逗号分割", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "recommendStatus", - "in": "query", - "description": "0 一般 1 推荐", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userAttendant/changeStatus": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "修改技师工作状态", - "operationId": "changeStatusUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "技师ID", - "required": true, - "type": "string" - }, - { - "name": "status", - "in": "query", - "description": "0 上班;1 休息", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userAttendant/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除技师", - "operationId": "delUsingPOST_138", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "技师ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userAttendant/info": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "技师详情", - "operationId": "infoUsingGET_105", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "技师ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userAttendant/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "技师列表", - "operationId": "listUsingPOST_139", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "nameLike", - "in": "query", - "description": "技师姓名模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "shopId", - "description": "商家ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "工作状态:0 上班;1 休息", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userAttendant/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "修改技师信息", - "operationId": "saveUsingPOST_117", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "age", - "description": "年龄", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "alipayAccount", - "description": "支付宝账号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "alipayName", - "description": "支付宝真实姓名", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "cityId", - "description": "所在城市ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "constellation", - "description": "星座", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "content", - "description": "个人介绍", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "districtId", - "description": "所在区县ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "gender", - "description": "性别,0 未知 1 男性 2 女性", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "技师ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "idCardNo", - "in": "query", - "description": "身份证号码,添加的时候必填,编辑的时候忽略", - "required": false, - "type": "string" - }, - { - "name": "jobNumber", - "description": "工号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "description": "手机号码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "技师姓名", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "picCyzg", - "description": "从业执照照片", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "picIdcard1", - "description": "身份证正面照片", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "picIdcard2", - "description": "身份证反面照片", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "picJkz", - "description": "健康证照片", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "picLive", - "description": "实拍照片", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "picOther", - "description": "其他资质照片", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "picShow", - "description": "工装照照片", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "provinceId", - "description": "所在省份ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "serviceShopIds", - "in": "query", - "description": "技师可服务的门店ID,多个门店之间用英文逗号分隔", - "required": false, - "type": "string" - }, - { - "name": "shopId", - "description": "门店ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "similarRate", - "description": "工装照片和实拍照片相似度", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "工作状态 0 上班;1 休息", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "streetId", - "description": "所在街道ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "tags", - "description": "技能标签", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "vetStatus", - "description": "审核状态 0 待审核 1 通过 2不通过", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "zc", - "description": "职称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userAttendant/unbindShop": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "技师解绑商家", - "operationId": "unbindShopUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "技师ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userCertificate/del": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "删除用户标签认证信息", - "operationId": "delUsingPOST_139", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "uid", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userCertificate/info": { - "get": { - "tags": [ - "用户管理" - ], - "summary": "用户标签认证详情", - "operationId": "infoUsingGET_106", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "uid", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userCertificate/list": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "用户标签认证列表", - "operationId": "listUsingPOST_140", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "cityId", - "description": "城市ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "idcard", - "description": "身份证", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "description": "手机号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "姓名", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "provinceId", - "description": "省份ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "0 待审核; 1 审核通过; 2 审核不通过", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "userTag", - "description": "标签名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userCertificate/pass": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "用户标签认证审核通过", - "operationId": "passUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "uid", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userCertificate/refuse": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "用户标签认证审核不通过", - "operationId": "refuseUsingPOST_2", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "uid", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userDepartment/del": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "删除部门", - "operationId": "delUsingPOST_140", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "部门ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userDepartment/info": { - "get": { - "tags": [ - "用户管理" - ], - "summary": "获取部门详情", - "operationId": "infoUsingGET_107", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "部门ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userDepartment/list": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "部门列表", - "operationId": "listUsingPOST_141", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userDepartment/save": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "添加/修改部门信息", - "operationId": "saveUsingPOST_118", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "extJsonStr", - "in": "query", - "description": "扩展属性的JSON格式数据", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "部门ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "部门名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userIdcard/del": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "删除用户实名认证认证", - "operationId": "delUsingPOST_141", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "uid", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userIdcard/info": { - "get": { - "tags": [ - "用户管理" - ], - "summary": "实名认证详情", - "operationId": "infoUsingGET_108", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "uid", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userIdcard/list": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "实名认证列表", - "operationId": "listUsingPOST_142", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "idCardNo", - "description": "身份证", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "姓名", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "0 待审核, 1 驳回 2 通过", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userIdcard/pass": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "用户实名认证审核通过", - "operationId": "passUsingPOST_2", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "uid", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userIdcard/refuse": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "用户实名认证审核不通过", - "operationId": "refuseUsingPOST_3", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "uid", - "in": "query", - "description": "用户编号", - "required": true, - "type": "string" - }, - { - "name": "vetRemark", - "in": "query", - "description": "审核备注", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userLevelBuyLog/list": { - "post": { - "tags": [ - "财务相关" - ], - "summary": "会员等级购买记录", - "operationId": "listUsingPOST_143", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "支付时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "支付时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "levelId", - "description": "会员等级ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "in": "query", - "description": "用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "用户昵称", - "required": false, - "type": "string" - }, - { - "name": "orderNumber", - "description": "订单号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "priceId", - "description": "会员等级收费项目ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userScoreSendRule/del": { - "post": { - "tags": [ - "积分模块" - ], - "summary": "删除积分赠送规则", - "operationId": "delUsingPOST_142", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userScoreSendRule/info": { - "get": { - "tags": [ - "积分模块" - ], - "summary": "积分赠送规则详情", - "operationId": "infoUsingGET_109", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userScoreSendRule/list": { - "post": { - "tags": [ - "积分模块" - ], - "summary": "积分赠送规则列表", - "operationId": "listUsingPOST_144", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userScoreSendRule/save": { - "post": { - "tags": [ - "积分模块" - ], - "summary": "添加/修改积分赠送规则", - "operationId": "saveUsingPOST_119", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "code", - "description": "积分规则编码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "confine", - "description": "满足条件", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "expireDays", - "description": "积分有效期(天)", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "expression", - "description": "定期清空所有用户的积分模式下,必传,填写crontab表达式", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "score", - "description": "赠送积分数量", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "script", - "description": "清空积分以后后续执行脚本任务", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userScoreTicket/create": { - "post": { - "tags": [ - "积分模块" - ], - "summary": "批量创建积分券", - "operationId": "createUsingPOST_6", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "days", - "in": "query", - "description": "有效期天数", - "required": true, - "type": "string" - }, - { - "name": "number", - "in": "query", - "description": "需要创建的券数量", - "required": true, - "type": "string" - }, - { - "name": "remark", - "in": "query", - "description": "备注", - "required": false, - "type": "string" - }, - { - "name": "scoreMax", - "in": "query", - "description": "积分随机范围最大值", - "required": true, - "type": "string" - }, - { - "name": "scoreMin", - "in": "query", - "description": "积分随机范围最小值", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userScoreTicket/del": { - "post": { - "tags": [ - "积分模块" - ], - "summary": "删除积分券", - "operationId": "delUsingPOST_143", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userScoreTicket/invalid": { - "post": { - "tags": [ - "积分模块" - ], - "summary": "作废积分券", - "operationId": "invalidUsingPOST_4", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userScoreTicket/list": { - "post": { - "tags": [ - "积分模块" - ], - "summary": "积分券列表", - "operationId": "listUsingPOST_145", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "发布时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "发布时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateEndBegin", - "in": "query", - "description": "到期时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateEndEnd", - "in": "query", - "description": "到期时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateBegin", - "in": "query", - "description": "修改时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateEnd", - "in": "query", - "description": "修改时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "券ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "in": "query", - "description": "领取用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "领取用户昵称", - "required": false, - "type": "string" - }, - { - "name": "number", - "description": "券号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "score", - "description": "积分数量", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态:0 未使用 1 已使用 2 作废 3 过期", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userSetting/info": { - "get": { - "tags": [ - "设置类接口" - ], - "summary": "读取用户设置", - "operationId": "infoUsingGET_110", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userSetting/save": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "用户设置", - "operationId": "saveUsingPOST_120", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "birthdaySmsRemind", - "description": "生日短信祝福", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "registSmsRemind", - "description": "注册成功短信提醒", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userTag/del": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "删除用户标签", - "operationId": "delUsingPOST_144", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "部门ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userTag/info": { - "get": { - "tags": [ - "用户管理" - ], - "summary": "获取用户标签详情", - "operationId": "infoUsingGET_111", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "部门ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userTag/list": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "用户标签列表", - "operationId": "listUsingPOST_146", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userTag/save": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "添加/修改用户标签", - "operationId": "saveUsingPOST_121", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "certificateScore", - "description": "用户通过该标签认证赠送多少积分", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录ID,修改的时候传,添加不需要传", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序,数字越小越靠前", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userWelfare/add": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "批量发放用户福利", - "operationId": "addUsingPOST_14", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "批量导入的数据,是json的数组,例如:[{level:'黄金会员',mobile:'13500000000',nick:'张三',money:0}]", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userWelfare/del": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "删除用户福利记录", - "operationId": "delUsingPOST_145", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/userWelfare/list": { - "post": { - "tags": [ - "用户管理" - ], - "summary": "用户福利记录列表", - "operationId": "listUsingPOST_147", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "levelId", - "description": "会员等级编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "description": "手机号码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "nameLike", - "in": "query", - "description": "姓名", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "0 未领取 1 已领取", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/vipCard/list": { - "post": { - "tags": [ - "工厂设置" - ], - "summary": "vip卡券列表", - "operationId": "listUsingPOST_45", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/virtualTraderBuyLog/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除知识交易记录", - "operationId": "delUsingPOST_146", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录ID,多条记录请用英文逗号隔开", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/virtualTraderBuyLog/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "知识交易购买记录", - "operationId": "listUsingPOST_148", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "交易时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "交易时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "mobile", - "in": "query", - "description": "手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "昵称", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "vId", - "description": "知识编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/virtualTraderSet/del": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "删除知识", - "operationId": "delUsingPOST_147", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "知识ID,批量删除请用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/virtualTraderSet/info": { - "get": { - "tags": [ - "商城模块" - ], - "summary": "获取知识详情", - "operationId": "infoUsingGET_112", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "知识编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/virtualTraderSet/list": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "知识商品设置", - "operationId": "listUsingPOST_149", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "categoryIdSel", - "in": "query", - "description": "所属类别ID", - "required": false, - "type": "string" - }, - { - "name": "dateAddBegin", - "in": "query", - "description": "添加时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "添加时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "nameLike", - "in": "query", - "description": "名称", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "status", - "description": "状态:'0 上架 1 下架", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/virtualTraderSet/save": { - "post": { - "tags": [ - "商城模块" - ], - "summary": "知识设置添加/修改", - "operationId": "saveUsingPOST_122", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "buyNumber", - "description": "已售数量", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "categoryId", - "description": "所属分类ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "content", - "description": "内容详情", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "detailsJsonStr", - "in": "query", - "description": "付费的属性JSON格式", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "price", - "description": "价格", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态:'0 上架 1 下架", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/voteInfo/del": { - "post": { - "tags": [ - "投票模块" - ], - "summary": "删除投票项目", - "operationId": "delUsingPOST_148", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "编号,多个编号用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/voteInfo/importFromYuyue": { - "post": { - "tags": [ - "投票模块" - ], - "summary": "从报名模块导入投票数据", - "operationId": "importFromYuyueUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "yuyueId", - "in": "query", - "description": "报名项目ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/voteInfo/info": { - "get": { - "tags": [ - "投票模块" - ], - "summary": "投票项目详情", - "operationId": "infoUsingGET_113", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/voteInfo/items/best": { - "post": { - "tags": [ - "投票模块" - ], - "summary": "投票项目设为/取消优选项", - "operationId": "bestItemsUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/voteInfo/items/del": { - "post": { - "tags": [ - "投票模块" - ], - "summary": "删除投票项目的选项", - "operationId": "delItemsUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/voteInfo/items/save": { - "post": { - "tags": [ - "投票模块" - ], - "summary": "添加/修改投票项目的投票选项", - "operationId": "saveItemsUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "descript", - "description": "投票选项描述", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "paixu", - "description": "排序,数字越小越靠前", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态:0开启;1关闭", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "title", - "description": "投票选项名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "voteId", - "description": "投票项目ID", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/voteInfo/list": { - "post": { - "tags": [ - "投票模块" - ], - "summary": "投票项目列表", - "operationId": "listUsingPOST_150", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "添加时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "添加时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateBeginBegin", - "in": "query", - "description": "开始时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateBeginEnd", - "in": "query", - "description": "开始时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateEndBegin", - "in": "query", - "description": "截止时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateEndEnd", - "in": "query", - "description": "截止时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateBegin", - "in": "query", - "description": "编辑时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateEnd", - "in": "query", - "description": "编辑时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isPublic", - "description": "投票信息是否公开(是否匿名) true / false", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "refId", - "description": "type对应的外键ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "rule", - "description": "0 单选 1 多选", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态:'0 开启 1 关闭", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "titleLike", - "in": "query", - "description": "项目名称模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "type", - "description": "类型:0 手动添加 1 报名系统导入", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/voteInfo/save": { - "post": { - "tags": [ - "投票模块" - ], - "summary": "添加/修改投票项目", - "operationId": "saveUsingPOST_123", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "description": "详细说明", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dateBeginStr", - "in": "query", - "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss", - "required": false, - "type": "string" - }, - { - "name": "dateEndStr", - "in": "query", - "description": "截止时间,格式:yyyy-MM-dd HH:mm:ss", - "required": false, - "type": "string" - }, - { - "name": "extJsonStr", - "in": "query", - "description": "扩展属性的JSON格式数据", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isPublic", - "description": "投票信息是否公开(是否匿名) true / false", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mp3", - "description": "音频地址", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mp4", - "description": "视频地址", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "refId", - "description": "type对应的外键ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "rule", - "description": "0 单选 1 多选", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态:0开启;1关闭", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "title", - "description": "标题", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "类型:0 手动添加 1 报名系统导入", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/voteJoin/list": { - "post": { - "tags": [ - "投票模块" - ], - "summary": "投票明细记录列表", - "operationId": "listUsingPOST_151", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "categoryId", - "in": "query", - "description": "项目分类", - "required": false, - "type": "string" - }, - { - "name": "dateAddBegin", - "in": "query", - "description": "报名时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "报名时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "投票ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "in": "query", - "description": "用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "用户昵称", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "uid", - "description": "投票用户ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "voteId", - "description": "投票项目ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/workingHoursProject/del": { - "post": { - "tags": [ - "工时登记" - ], - "summary": "删除项目", - "operationId": "delUsingPOST_149", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/workingHoursProject/info": { - "get": { - "tags": [ - "工时登记" - ], - "summary": "项目详情", - "operationId": "infoUsingGET_114", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/workingHoursProject/list": { - "post": { - "tags": [ - "工时登记" - ], - "summary": "项目列表", - "operationId": "listUsingPOST_153", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "nameLike", - "in": "query", - "description": "名称模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "uid", - "description": "发布人用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "page", - "required": false, - "type": "integer", - "format": "int32" - }, - { - "name": "pageSize", - "in": "query", - "description": "pageSize", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/workingHoursProject/save": { - "post": { - "tags": [ - "工时登记" - ], - "summary": "项目设置", - "operationId": "saveUsingPOST_124", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "code", - "description": "项目唯一编码", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号,修改的时候需要传", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "项目名称", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "remindDay", - "description": "是否每天模板消息提醒", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uid", - "description": "发布人用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "wxFwhOpenid", - "description": "服务号对应的openid,使用服务号模板消息每天推送提醒", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wx/material/images/del": { - "post": { - "tags": [ - "微信相关" - ], - "summary": "删除图片素材", - "operationId": "delUsingPOST_88", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "mediaId", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wx/material/images/list": { - "post": { - "tags": [ - "微信相关" - ], - "summary": "图片素材列表", - "operationId": "listUsingPOST_87", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据,最多20", - "required": false, - "type": "string", - "default": "20" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wx/material/images/upload": { - "post": { - "tags": [ - "微信相关" - ], - "summary": "上传图片素材", - "operationId": "uploadUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "url", - "in": "query", - "description": "图片地址", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wx/mp/del": { - "post": { - "tags": [ - "微信相关" - ], - "summary": "删除当前公众号配置", - "operationId": "delUsingPOST_46", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wx/mp/list": { - "get": { - "tags": [ - "微信相关" - ], - "summary": "读取公众号当前配置", - "operationId": "listUsingGET_10", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wx/mp/qrcode": { - "post": { - "tags": [ - "微信相关" - ], - "summary": "获取二维码", - "operationId": "qrcodeUsingPOST_2", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "二维码参数,可不传", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wx/mp/save": { - "post": { - "tags": [ - "微信相关" - ], - "summary": "修改公众号配置", - "operationId": "saveUsingPOST_42", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "appid", - "description": "appid", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "secret", - "description": "secret", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "token", - "description": "消息推送的token,一般不用配置", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxAutoReply/del": { - "post": { - "tags": [ - "微信相关" - ], - "summary": "删除公众号自动回复设置", - "operationId": "delUsingPOST_150", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxAutoReply/info": { - "get": { - "tags": [ - "微信相关" - ], - "summary": "公众号自动回复详情", - "operationId": "infoUsingGET_115", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxAutoReply/list": { - "post": { - "tags": [ - "微信相关" - ], - "summary": "公众号自动回复设置列表", - "operationId": "listUsingPOST_154", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "isUse", - "description": "true:启用,false:禁用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "likeAsk", - "in": "query", - "description": "关键词", - "required": false, - "type": "string" - }, - { - "name": "likeReply", - "in": "query", - "description": "回复内容", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "type", - "description": "0:关注,1:关键词回复", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxAutoReply/save": { - "post": { - "tags": [ - "微信相关" - ], - "summary": "公众号自动回复设置", - "operationId": "saveUsingPOST_125", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "ask", - "description": "关键词", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "isUse", - "description": "true:启用,false:禁用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "reply", - "description": "回复内容", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "0:关注,1:关键词回复", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxInfo": { - "get": { - "tags": [ - "站点信息" - ], - "summary": "绑定微信服务号接收订单提醒", - "description": "可接收最新信息推送及客户下单推送", - "operationId": "wxInfoUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "fwfUserId", - "in": "query", - "description": "服务号的商户ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxMenu/curMenu": { - "get": { - "tags": [ - "微信相关" - ], - "summary": "公众号当前菜单", - "operationId": "curMenuUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxMenu/setMenu": { - "post": { - "tags": [ - "微信相关" - ], - "summary": "设置公众号菜单", - "operationId": "setMenuUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "菜单的json格式设置数据", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxTemplateMsg/del": { - "post": { - "tags": [ - "微信相关" - ], - "summary": "删除模板消息设置", - "operationId": "delUsingPOST_151", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxTemplateMsg/info": { - "get": { - "tags": [ - "微信相关" - ], - "summary": "模板消息详情", - "operationId": "infoUsingGET_116", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxTemplateMsg/list": { - "post": { - "tags": [ - "微信相关" - ], - "summary": "模板消息列表", - "operationId": "listUsingPOST_155", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "isUse", - "description": "true:启用,false:禁用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "module", - "description": "order 所属订单模块; comment 留言评论模块; cmsnews 文章投稿模块;saleDistributionApply 分销商申请", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "templateId", - "description": "模板消息ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "trigger", - "description": "对应模块的触发状态", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "0 小程序 1 服务号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "url", - "description": "模板消息点击后跳转地址", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxTemplateMsg/save": { - "post": { - "tags": [ - "微信相关" - ], - "summary": "模板消息设置", - "operationId": "saveUsingPOST_126", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "description": "模板消息内容", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "isUse", - "description": "true:启用,false:禁用", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "module", - "description": "order 所属订单模块; comment 留言评论模块; cmsnews 文章投稿模块;saleDistributionApply 分销商申请; queuingUp 排队叫号; community 社区团购; live 自建直播间; notice 网站公告; pingtuan 拼团模块; invoice 申请发票;blindBoxFriends 盲盒交友; idcard 实名认证; cpactivity cp匹配活动", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "templateId", - "description": "模板消息ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "trigger", - "description": "对应模块的触发状态", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "0 小程序 1 服务号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "url", - "description": "模板消息点击后跳转地址", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxa-live/his": { - "get": { - "tags": [ - "微信小程序" - ], - "summary": "读取微信小程序直播回放源视频", - "operationId": "hisUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "roomId", - "in": "query", - "description": "直播间ID", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxa-live/rooms": { - "get": { - "tags": [ - "微信小程序" - ], - "summary": "读取微信小程序直播间数据", - "operationId": "roomsUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxa/urlGenerate/link": { - "post": { - "tags": [ - "微信小程序" - ], - "summary": "获取小程序 scheme 链接", - "description": "适用于短信、邮件、外部网页、微信内等拉起小程序的业务场景。通过该接口,可以选择生成到期失效和永久有效的小程序码,目前仅针对国内非个人主体的小程序开放,详见 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/url-link/urllink.generate.html ,规则已调整 https://developers.weixin.qq.com/community/develop/doc/000aeab88a4ea0c5c89d81fde5b801?highLine=urllink.generate", - "operationId": "linkUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "接口参数的json格式,具体属性参阅官方接口说明,无需传 access_token 参数", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxa/urlGenerate/scheme": { - "post": { - "tags": [ - "微信小程序" - ], - "summary": "获取小程序 scheme 链接", - "description": "适用于短信、邮件、外部网页、微信内等拉起小程序的业务场景。通过该接口,可以选择生成到期失效和永久有效的小程序码,目前仅针对国内非个人主体的小程序开放,详见 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/url-scheme/urlscheme.generate.html ,规则已调整 https://developers.weixin.qq.com/community/develop/doc/000aeab88a4ea0c5c89d81fde5b801?highLine=urllink.generate", - "operationId": "schemeUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "接口参数的json格式,具体属性参阅官方接口说明,无需传 access_token 参数", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxa/urlGenerate/shortlink": { - "post": { - "tags": [ - "微信小程序" - ], - "summary": "获取小程序ShortLink", - "description": "获取小程序 Short Link,适用于微信内拉起小程序的业务场景", - "operationId": "shortlinkUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content", - "in": "query", - "description": "接口参数的json格式,具体属性参阅官方接口说明,无需传 access_token 参数:https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/short-link/generateShortLink.html", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/addExperienceUser": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "给授权公众号添加插件", - "operationId": "addExperienceUserUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "wechatid", - "in": "query", - "description": "用户的微信号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/addcategory": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "给授权小程序添加类目", - "operationId": "addcategoryUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "first", - "in": "query", - "description": "一级类目ID", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "second", - "in": "query", - "description": "二级类目ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/auditstatus": { - "get": { - "tags": [ - "微信服务商" - ], - "summary": "查看小程序审核状态", - "operationId": "auditstatusUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/del": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "删除授权公众号", - "operationId": "delUsingPOST_152", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/getallcategories": { - "get": { - "tags": [ - "微信服务商" - ], - "summary": "获取可以设置的所有类目", - "operationId": "getallcategoriesUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/info": { - "get": { - "tags": [ - "微信服务商" - ], - "summary": "授权公众号详情", - "operationId": "infoUsingGET_117", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/list": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "授权公众号列表", - "operationId": "listUsingPOST_156", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "appid", - "description": "公众号appid", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "componentAppid", - "description": "服务商appid", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "nameLike", - "in": "query", - "description": "公众号名称关键词", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "principalNameLike", - "in": "query", - "description": "主体名称关键词", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/modifyheadimage": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "给授权公众号修改头像", - "operationId": "modifyheadimageUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "head_img", - "in": "query", - "description": "头像图片地址", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/modifysignature": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "给授权公众号设置简介", - "operationId": "modifysignatureUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "signature", - "in": "query", - "description": "公众号功能介绍(简介)", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/pluginAdd": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "给授权公众号添加插件", - "operationId": "pluginAddUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "pluginAppid", - "in": "query", - "description": "插件的appid", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/privacysettingQuery": { - "get": { - "tags": [ - "微信服务商" - ], - "summary": "查询小程序用户隐私保护指引", - "operationId": "privacysettingQueryUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "privacy_ver", - "in": "query", - "description": "用户隐私保护指引的版本,1表示现网版本;2表示开发版。默认是2开发版。", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/privacysettingSave": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "配置小程序用户隐私保护指引", - "operationId": "privacysettingSaveUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "content_owner_setting", - "in": "query", - "description": "收集方(开发者)信息配置", - "required": true, - "type": "string" - }, - { - "name": "content_setting_list", - "in": "query", - "description": "要收集的用户信息配置", - "required": false, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "privacy_ver", - "in": "query", - "description": "用户隐私保护指引的版本,1表示现网版本;2表示开发版。默认是2开发版。", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/qrcode/experience": { - "get": { - "tags": [ - "微信服务商" - ], - "summary": "获取授权公众号体验二维码", - "operationId": "qrcodeExperienceUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/queryquota": { - "get": { - "tags": [ - "微信服务商" - ], - "summary": "查询服务商的当月提审限额(quota)和加急次数", - "operationId": "queryquotaUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/refreshBasicinfo": { - "get": { - "tags": [ - "微信服务商" - ], - "summary": "同步更新小程序信息", - "operationId": "refreshBasicinfoUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/release": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "发布审核通过的小程序", - "operationId": "releaseUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/save": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "编辑授权公众号信息", - "operationId": "saveUsingPOST_127", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "aeskey", - "description": "消息加解密Key", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "appid", - "description": "服务商应用的APPID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "服务商应用名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "secret", - "description": "服务商应用的APPSECRET", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "token", - "description": "消息校验Token", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/set/domain": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "给授权公众号设置服务器域名", - "operationId": "setDomainUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/setnickname": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "给授权公众号设置小程序名称", - "operationId": "setnicknameUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "license", - "in": "query", - "description": "营业执照照片地址", - "required": true, - "type": "string" - }, - { - "name": "nick_name", - "in": "query", - "description": "小程序名称", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/setwebviewdomain": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "给授权公众号添加业务域名", - "operationId": "setwebviewdomainUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "webviewdomain", - "in": "query", - "description": "小程序业务域名", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/speedupaudit": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "小程序加急审核", - "operationId": "speedupauditUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/submitAudit": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "小程序提交审核", - "operationId": "submitAuditUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/undocodeaudit": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "小程序撤回审核", - "operationId": "undocodeauditUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/app/uploadCode": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "给授权公众号上传代码", - "operationId": "uploadCodeUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "extJsonStr", - "in": "query", - "description": "自定义的配置", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "templateId", - "in": "query", - "description": "代码库模版编号", - "required": true, - "type": "string" - }, - { - "name": "userDesc", - "in": "query", - "description": "代码描述", - "required": true, - "type": "string" - }, - { - "name": "userVersion", - "in": "query", - "description": "代码版本号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/setting/del": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "删除微信服务商应用设置", - "operationId": "delUsingPOST_153", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/setting/fastregister": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "微信服务商快速创建小程序", - "description": "https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Register_Mini_Programs/Fast_Registration_Interface_document.html", - "operationId": "fastregisterUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "code", - "in": "query", - "description": "企业代码", - "required": true, - "type": "string" - }, - { - "name": "codeType", - "in": "query", - "description": "企业代码类型 1:统一社会信用代码(18 位) 2:组织机构代码(9 位 xxxxxxxx-x) 3:营业执照注册号(15 位)", - "required": true, - "type": "string" - }, - { - "name": "componentPhone", - "in": "query", - "description": "第三方联系电话(方便法人与第三方联系)", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "legalPersonaName", - "in": "query", - "description": "法人姓名(绑定银行卡)", - "required": true, - "type": "string" - }, - { - "name": "legalPersonaWechat", - "in": "query", - "description": "法人微信号", - "required": true, - "type": "string" - }, - { - "name": "name", - "in": "query", - "description": "企业名(需与工商部门登记信息一致)", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/setting/fastregister/query": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "微信服务商快速创建小程序状态查询", - "operationId": "fastregisterQueryUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "legalPersonaName", - "in": "query", - "description": "法人姓名(绑定银行卡)", - "required": true, - "type": "string" - }, - { - "name": "legalPersonaWechat", - "in": "query", - "description": "法人微信号", - "required": true, - "type": "string" - }, - { - "name": "name", - "in": "query", - "description": "企业名(需与工商部门登记信息一致)", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/setting/info": { - "get": { - "tags": [ - "微信服务商" - ], - "summary": "微信服务商应用设置详情", - "operationId": "infoUsingGET_118", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "记录编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/setting/list": { - "get": { - "tags": [ - "微信服务商" - ], - "summary": "微信服务商应用设置列表", - "operationId": "listUsingGET_35", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/setting/parentList": { - "get": { - "tags": [ - "微信服务商" - ], - "summary": "获取运营商的微信服务商应用设置列表", - "operationId": "parentListUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/setting/save": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "微信服务商应用设置", - "operationId": "saveUsingPOST_128", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "aeskey", - "description": "消息加解密Key", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "appid", - "description": "服务商应用的APPID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "id", - "description": "记录编号,不传为添加,传了为更新", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "服务商应用名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "secret", - "description": "服务商应用的APPSECRET", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "token", - "description": "消息校验Token", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/template/addtotemplate": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "开发版添加至模版库", - "operationId": "addtotemplateUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "appid", - "in": "query", - "description": "应用的appid", - "required": true, - "type": "string" - }, - { - "name": "draftId", - "in": "query", - "description": "开发版模版id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/template/deletetemplate": { - "post": { - "tags": [ - "微信服务商" - ], - "summary": "删除指定的模版库", - "operationId": "deletetemplateUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "appid", - "in": "query", - "description": "应用的appid", - "required": true, - "type": "string" - }, - { - "name": "templateId", - "in": "query", - "description": "模版id", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/template/draftlist": { - "get": { - "tags": [ - "微信服务商" - ], - "summary": "读取模版库开发版", - "operationId": "draftlistUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "appid", - "in": "query", - "description": "应用的appid", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxopenapp/template/templatelist": { - "get": { - "tags": [ - "微信服务商" - ], - "summary": "读取模版库列表", - "operationId": "templatelistUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "appid", - "in": "query", - "description": "应用的appid", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxsph/auditResult": { - "get": { - "tags": [ - "微信视频号" - ], - "summary": "根据审核id,查询品牌和类目的审核结果", - "description": "https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/ministore/minishopopencomponent2/API/audit/audit_result.html", - "operationId": "auditResultUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "audit_id", - "in": "query", - "description": "1级类目ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxsph/categories": { - "get": { - "tags": [ - "微信视频号" - ], - "summary": "获取商品类目", - "description": "https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/ministore/minishopopencomponent2/API/cat/get_children_cateogry.html", - "operationId": "categoriesUsingGET", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxsph/categoryAudit": { - "post": { - "tags": [ - "微信视频号" - ], - "summary": "类目审核", - "description": "https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/ministore/minishopopencomponent2/API/audit/audit_category.html", - "operationId": "categoryAuditUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "certificates", - "in": "query", - "description": "资质材料,图片url,图片类型,最多不超过10张,用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "first_cat_id", - "in": "query", - "description": "1级类目ID", - "required": true, - "type": "string" - }, - { - "name": "license", - "in": "query", - "description": "营业执照", - "required": true, - "type": "string" - }, - { - "name": "second_cat_id", - "in": "query", - "description": "2级类目ID", - "required": true, - "type": "string" - }, - { - "name": "third_cat_id", - "in": "query", - "description": "3级类目ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxsph/spuAdd": { - "post": { - "tags": [ - "微信视频号" - ], - "summary": "添加商品", - "description": "https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/ministore/minishopopencomponent2/API/SPU/add_spu.html", - "operationId": "spuAddUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "in": "query", - "description": "商品ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxsph/spuGet": { - "post": { - "tags": [ - "微信视频号" - ], - "summary": "获取商品信息", - "description": "https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/ministore/minishopopencomponent2/API/SPU/get_spu.html", - "operationId": "spuGetUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "in": "query", - "description": "商品ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxsph/spuUpdate": { - "post": { - "tags": [ - "微信视频号" - ], - "summary": "更新商品", - "description": "https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/ministore/minishopopencomponent2/API/SPU/update_spu.html", - "operationId": "spuUpdateUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "goodsId", - "in": "query", - "description": "商品ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/wxsph/updateSphInfo": { - "post": { - "tags": [ - "微信视频号" - ], - "summary": "更新商家信息", - "description": "https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/ministore/minishopopencomponent2/API/account/update_info.html", - "operationId": "updateSphInfoUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/yhcCertificate/add": { - "post": { - "tags": [ - "定制开发" - ], - "summary": "分发证书", - "operationId": "addUsingPOST_15", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "certName", - "description": "证书名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "certNo", - "description": "证书编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "cover", - "description": "证书封面", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "grade", - "description": "等级", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "idcard", - "description": "身份证号码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "logo", - "description": "证书LOGO", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "姓名", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "prize", - "description": "奖项", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "sex", - "description": "性别:男/女", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "speciality", - "description": "专业", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "stamp", - "description": "印章图片", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "证书类型", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/yhcCertificate/del": { - "post": { - "tags": [ - "定制开发" - ], - "summary": "删除我发放的证书", - "operationId": "delUsingPOST_154", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "证书记录ID", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/yhcCertificate/list": { - "post": { - "tags": [ - "定制开发" - ], - "summary": "查询我发放的证书列表", - "operationId": "listUsingPOST_157", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "certName", - "description": "证书名称", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "certNo", - "description": "证书编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "grade", - "description": "等级", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "idcard", - "description": "身份证号码", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "name", - "description": "姓名", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "prize", - "description": "奖项", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "sex", - "description": "性别:男/女", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "speciality", - "description": "专业", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "type", - "description": "证书类型", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "uid", - "description": "用户编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/yuyueInfo/del": { - "post": { - "tags": [ - "预约报名" - ], - "summary": "删除预约报名项目", - "operationId": "delUsingPOST_155", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/yuyueInfo/info": { - "get": { - "tags": [ - "预约报名" - ], - "summary": "获取预约报名项目详情", - "operationId": "infoUsingGET_119", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "编号", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/yuyueInfo/list": { - "post": { - "tags": [ - "预约报名" - ], - "summary": "预约报名数据列表", - "operationId": "listUsingPOST_158", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "categoryId", - "description": "分类ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dateAddBegin", - "in": "query", - "description": "添加时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "添加时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateBeginBegin", - "in": "query", - "description": "开始时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateBeginEnd", - "in": "query", - "description": "开始时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateEndBegin", - "in": "query", - "description": "截止时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateEndEnd", - "in": "query", - "description": "截止时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isRecommend", - "description": "是否推荐:true 推荐 / false 不推荐", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "shopId", - "description": "所属店铺", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态:'0 开启 1 关闭", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "titleLike", - "in": "query", - "description": "名称模糊搜索", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateBegin", - "in": "query", - "description": "dateUpdateBegin", - "required": false, - "type": "string" - }, - { - "name": "dateUpdateEnd", - "in": "query", - "description": "dateUpdateEnd", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/yuyueInfo/save": { - "post": { - "tags": [ - "预约报名" - ], - "summary": "预约报名设置添加/修改", - "operationId": "saveUsingPOST_129", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "activityTimeStr", - "in": "query", - "description": "活动时间,格式:yyyy-MM-dd HH:mm:ss", - "required": false, - "type": "string" - }, - { - "name": "address", - "description": "活动地点", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "amount", - "description": "预约报名需要支付的金额", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "content", - "description": "详细说明", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "dateBeginStr", - "in": "query", - "description": "报名开始时间,格式:yyyy-MM-dd HH:mm:ss", - "required": false, - "type": "string" - }, - { - "name": "dateEndStr", - "in": "query", - "description": "报名截止时间,格式:yyyy-MM-dd HH:mm:ss", - "required": false, - "type": "string" - }, - { - "name": "descript", - "description": "描述", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "extJsonStr", - "in": "query", - "description": "扩展属性的JSON格式数据", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "添加不传;修改传需要修改的记录id", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isMemberLimit", - "description": "是否仅限会员报名 true/false", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "isRecommend", - "description": "是否推荐:true 推荐 / false 不推荐", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "limitUserDay", - "description": "0 为不限,每个用户每天最多可投几次", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "limitUserTotal", - "description": "0 为不限, 每个用户最多可投几次", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "numberMax", - "description": "最多预约报名人数", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "pics", - "in": "query", - "description": "图片数组", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "scoreSend", - "description": "成功报名/预约奖励积分数", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "status", - "description": "状态:0开启;1关闭", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "title", - "description": "标题", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "vipLevel", - "description": "isMemberLimit = true 下生效,指定会员等级限制", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/yuyueJoin/cancel": { - "post": { - "tags": [ - "预约报名" - ], - "summary": "取消预约", - "operationId": "cancelUsingPOST_5", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "报名ID", - "required": true, - "type": "string" - }, - { - "name": "refund", - "in": "query", - "description": "是否退还报名费, true / false", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/yuyueJoin/del": { - "post": { - "tags": [ - "预约报名" - ], - "summary": "预约/报名记录删除", - "operationId": "delUsingPOST_156", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "报名ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/yuyueJoin/info": { - "get": { - "tags": [ - "预约报名" - ], - "summary": "预约报名信息详情", - "operationId": "infoUsingGET_120", - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "报名ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/yuyueJoin/list": { - "post": { - "tags": [ - "预约报名" - ], - "summary": "预约/报名用户管理", - "operationId": "listUsingPOST_159", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "dateAddBegin", - "in": "query", - "description": "报名时间起,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "dateAddEnd", - "in": "query", - "description": "报名时间止,格式 2018-05-16", - "required": false, - "type": "string" - }, - { - "name": "id", - "description": "预约ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "mobile", - "in": "query", - "description": "用户手机号码", - "required": false, - "type": "string" - }, - { - "name": "nick", - "in": "query", - "description": "用户昵称", - "required": false, - "type": "string" - }, - { - "name": "page", - "in": "query", - "description": "获取第几页数据", - "required": false, - "type": "string", - "default": "1" - }, - { - "name": "pageSize", - "in": "query", - "description": "每页显示多少数据", - "required": false, - "type": "string", - "default": "50" - }, - { - "name": "showExtJson", - "in": "query", - "description": "显示扩展属性", - "required": false, - "type": "string" - }, - { - "name": "status", - "description": "状态:'0 等待付款 1 报名成功", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "teamId", - "description": "团队ID", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "yuyueId", - "description": "预约项目编号", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/yuyueJoin/servered": { - "post": { - "tags": [ - "预约报名" - ], - "summary": "预约/报名记录标记为已服务", - "operationId": "serveredUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "报名ID,多个ID用英文逗号分隔", - "required": true, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/user/yuyueJoin/success": { - "post": { - "tags": [ - "预约报名" - ], - "summary": "预约/报名设置为报名成功", - "operationId": "successUsingPOST_6", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "id", - "in": "query", - "description": "报名ID", - "required": true, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/vip/agent/getPayData": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "运营商的客户自己续费链接", - "description": "userId 和 mobile 只要传一个即可", - "operationId": "agentGetPayDataUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "mobile", - "in": "query", - "description": "续费的商户手机号码", - "required": false, - "type": "string" - }, - { - "name": "number", - "in": "query", - "description": "购买几年(月)", - "required": false, - "type": "string" - }, - { - "name": "payType", - "in": "query", - "description": "alipay wx", - "required": false, - "type": "string" - }, - { - "name": "type", - "in": "query", - "description": "1 按年; 2 按月", - "required": false, - "type": "string" - }, - { - "name": "userId", - "in": "query", - "description": "续费的商户编号", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/vip/card": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "使用vip卡券激活(续费)", - "description": "userId 和 mobile 只要传一个即可", - "operationId": "cardUsingPOST", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "mobile", - "in": "query", - "description": "商户手机号码", - "required": false, - "type": "string" - }, - { - "name": "number", - "in": "query", - "description": "vip卡券的卡密", - "required": true, - "type": "string" - }, - { - "name": "userId", - "in": "query", - "description": "商户编号", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - }, - "/vip/getPayData": { - "post": { - "tags": [ - "设置类接口" - ], - "summary": "获得购买vip地址信息", - "description": "userId 和 mobile 只要传一个即可", - "operationId": "topayUsingPOST_1", - "consumes": [ - "application/json" - ], - "produces": [ - "*/*" - ], - "parameters": [ - { - "name": "mobile", - "in": "query", - "description": "续费的商户手机号码", - "required": false, - "type": "string" - }, - { - "name": "payType", - "in": "query", - "description": "alipay wx", - "required": false, - "type": "string" - }, - { - "name": "userId", - "in": "query", - "description": "续费的商户编号", - "required": false, - "type": "string" - }, - { - "name": "vipLevel", - "in": "query", - "description": "1 为购买专业版; 2为购买增值版", - "required": false, - "type": "string" - }, - { - "name": "X-Token", - "in": "header", - "description": "登录接口返回的token", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/JSONResultCode" - } - }, - "201": { - "description": "Created" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not Found" - } - }, - "deprecated": false - } - } - }, - "definitions": { - "JSONResultCode": { - "type": "object", - "properties": { - "code": { - "type": "integer", - "format": "int32" - }, - "data": { - "type": "object" - }, - "msg": { - "type": "string" - } - }, - "title": "JSONResultCode" - } - } -} \ No newline at end of file diff --git a/后台接口.md b/后台接口.md new file mode 100644 index 0000000..77d2d86 --- /dev/null +++ b/后台接口.md @@ -0,0 +1,25416 @@ +# Apifm-common + + +**简介**:Apifm-common + + +**HOST**:http://common.apifm.com + + +**联系人**:gooking + + +**Version**:v1.0.0 + + +**接口路径**:/v3/api-docs/后台接口 + + +[TOC] + + + + + + +# 设置类接口 + + +## 获得购买vip地址信息 + + +**接口地址**:`/vip/getPayData` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**:

userId 和 mobile 只要传一个即可

+ + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|userId|商户编号|query|true|integer(int32)|| +|mobile|商户手机号码|query|true|string|| +|vipLevel||query|true|integer(int32)|| +|payType|alipay wx|query|true|string|| +|apiPriceId|模块所对应的套餐ID|query|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 使用vip卡券激活(续费) + + +**接口地址**:`/vip/card` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**:

userId 和 mobile 只要传一个即可

+ + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|userId|商户编号|query|true|integer(int32)|| +|mobile|商户手机号码|query|true|string|| +|number|vip卡券的卡密|query|true|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 运营商的客户自己续费链接 + + +**接口地址**:`/vip/agent/getPayData` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**:

userId 和 mobile 只要传一个即可

+ + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|userId|商户编号|query|true|integer(int32)|| +|mobile|商户手机号码|query|true|string|| +|type|1 按年; 2 按月|query|true|integer(int32)|| +|number|购买几年(月)|query|true|integer(int32)|| +|payType|alipay wx|query|true|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 设置标签机标签纸尺寸 + + +**接口地址**:`/apifmUser/set/printerFeie/setLabelPrinterSize` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录ID|query|true|integer(int32)|| +|width|宽度|query|true|integer(int32)|| +|height|高度|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 清空打印任务 + + +**接口地址**:`/apifmUser/set/printerFeie/clearTask` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 图片验证码设置 + + +**接口地址**:`/apifmUser/picCodeConfig/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|str|包含字符|query|true||| +|strLength|验证码长度|query|true||| +|width|图片宽度|query|true||| +|height|图片高度|query|true||| +|isAddEfect|是否添加干扰效果,0 不加,1加|query|true||| +|lineSpace|干扰线间距|query|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 系统参数设置 + + +**接口地址**:`/apifmUser/configBase/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|content|参数值|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|dateType|类型:0 文本字符串 1 开关 2 上传文件|query|true||| +|key|参数编码|query|true||| +|id|添加不传;修改传需要修改的记录id|query|false||| +|isPub|是否公开还是隐私,true/false|query|false||| +|remark|备注|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 修改参数设置 + + +**接口地址**:`/apifmUser/configBase/modify` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|key|参数编码|query|true|string|| +|content|参数值|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 系统参数设置列表 + + +**接口地址**:`/apifmUser/configBase/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|creatAtBegin|更新时间起,格式 2018-05-16|query|true|string|| +|creatAtEnd|更新时间止,格式 2018-05-16|query|true|string|| +|updateAtBegin||query|true|string|| +|updateAtEnd||query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|isPub|是否公开还是隐私,true/false|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除系统参数 + + +**接口地址**:`/apifmUser/configBase/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|删除的记录id,多个id之间用英文的逗号分隔|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 扩展地址添加-编辑 + + +**接口地址**:`/apifmUser/centerUserAddress/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|id|记录编号,修改的时候需要传|query|false||| +|provinceId|省份编码|query|false||| +|cityId|城市编码|query|false||| +|districtId|区县编码|query|false||| +|address|详细地址|query|false||| +|addressEn|英文详细地址|query|false||| +|addressEn2|英文详细地址|query|false||| +|addressEn3|英文详细地址|query|false||| +|addressEn4|英文详细地址|query|false||| +|addressEn5|英文详细地址|query|false||| +|addressEn6|英文详细地址|query|false||| +|addressEn7|英文详细地址|query|false||| +|addressEn8|英文详细地址|query|false||| +|latitude|地图纬度|query|false||| +|longitude|地图经度|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 扩展地址列表 + + +**接口地址**:`/apifmUser/centerUserAddress/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|addressLike|中文地址模糊搜索|query|true|string|| +|addressEnLike|英文地址模糊搜索|query|true|string|| +|addressEn2Like|英文地址模糊搜索|query|true|string|| +|addressEn3Like|英文地址模糊搜索|query|true|string|| +|addressEn4Like|英文地址模糊搜索|query|true|string|| +|addressEn5Like|英文地址模糊搜索|query|true|string|| +|addressEn6Like|英文地址模糊搜索|query|true|string|| +|addressEn7Like|英文地址模糊搜索|query|true|string|| +|addressEn8Like|英文地址模糊搜索|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除扩展地址 + + +**接口地址**:`/apifmUser/centerUserAddress/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 读取飞鹅打印机状态 + + +**接口地址**:`/apifmUser/set/printerFeie/status` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**:

1、离线。2、在线,工作状态正常。3、在线,工作状态不正常。 备注:异常一般是无纸,离线的判断是打印机与服务器失去联系超过2分钟。

+ + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 飞鹅打印机列表 + + +**接口地址**:`/apifmUser/set/printerFeie/list` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 读取图片验证码设置 + + +**接口地址**:`/apifmUser/picCodeConfig/list` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 批量获取多个参数设置值 + + +**接口地址**:`/apifmUser/configBase/values` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|key|参数值,多个key用英文逗号隔开|query|true|array|string| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 系统参数设置详情 + + +**接口地址**:`/apifmUser/configBase/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id||query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 扩展地址详情 + + +**接口地址**:`/apifmUser/centerUserAddress/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 登录及授权 + + +## 注册获取短信验证码 + + +**接口地址**:`/registerAdmin/smscode` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|type|不传为 apifm|query|true|string|| +|mobile|手机号码|query|true|string|| +|code|图形验证码|query|true|string|| +|k|验证码随机数|query|true|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 注册保存【手机方式】 + + +**接口地址**:`/registerAdmin/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|type|不传为 apifm|query|true|string|| +|mobile|手机号码|query|true|string|| +|pwd|登录密码|query|true|string|| +|name|姓名/昵称|query|true|string|| +|smsCode|短信验证码|query|true|string|| +|referrer|推荐人用户ID|query|true|integer(int32)|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 注册保存【邮箱方式】 + + +**接口地址**:`/registerAdmin/save/email` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|email|邮箱|query|true|string|| +|pwd|登录密码|query|true|string|| +|name|姓名/昵称|query|true|string|| +|mailCode|邮箱验证码|query|true|string|| +|referrer|推荐人用户ID|query|true|integer(int32)|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 注册获取邮箱验证码 + + +**接口地址**:`/registerAdmin/mailcode` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|email|电子邮箱|query|true|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 子账号登录[域名] + + +**接口地址**:`/loginAdmin/userName/v2` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**:

该接口会优先判断手机号码登录,如果满足直接登录成功,其次才会尝试子账号登录

+ + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|userName|用户名|query|true|string|| +|pwd|登录密码|query|true|string|| +|rememberMe|是否记住密码|query|true|string|| +|pdomain|专属域名|query|true|string|| +|imgcode|图形验证码|query|true|string|| +|k|验证码随机数|query|true|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 通过前端用户的token换取X-TOKEN + + +**接口地址**:`/loginAdmin/token` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|token|前端用户登陆的token|query|true|string|| +|id|管理员ID,可以指定换取某个管理员,不传该参数会返回所有管理员列表|query|true|integer(int32)|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 门店登陆接口 + + +**接口地址**:`/loginAdmin/shop` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**:

使用门店管理里面的用户名和密码进行登陆

+ + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|username|用户名|query|true|string|| +|pwd|登录密码|query|true|string|| +|pdomain|专属域名|query|true|string|| +|code|小程序login接口获取到的临时凭证 code;如果传了,登陆以后绑定openid,后续可实现自动登陆|query|true|string|| +|appid|对应小程序的appID; 如果传了,登陆以后绑定openid,后续可实现自动登陆|query|true|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 子账号登录[商户号] + + +**接口地址**:`/loginAdmin/operator/v2` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**:

前5次登陆如果没传验证码,忽略验证码验证,一小时内连续错误5次以后,必须要提供验证码

+ + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|userName|用户名|query|true|string|| +|pwd|登录密码|query|true|string|| +|rememberMe|是否记住密码|query|true|string|| +|merchantId|商户编号|query|true|integer(int32)|| +|imgcode|图形验证码|query|true|string|| +|k|验证码随机数|query|true|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 手机号码登录 + + +**接口地址**:`/loginAdmin/mobile/v2` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**:

前5次登陆如果没传验证码,忽略验证码验证,一小时内连续错误5次以后,必须要提供验证码

+ + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|mobile|手机号码|query|true|string|| +|pwd|登录密码|query|true|string|| +|rememberMe|是否记住密码|query|true|string|| +|imgcode|图形验证码|query|true|string|| +|k|验证码随机数|query|true|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 通过商户号和秘钥登录获取X-TOKEN + + +**接口地址**:`/loginAdmin/key` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|merchantNo|商户号|query|true|string|| +|merchantKey|商户秘钥|query|true|string|| +|rememberMe|是否记住密码|query|true|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 邮箱登录获取X-TOKEN + + +**接口地址**:`/loginAdmin/email` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|email|电子邮箱|query|true|string|| +|pwd|登录密码|query|true|string|| +|rememberMe|是否记住密码|query|true|string|| +|imgcode|图形验证码|query|true|string|| +|k|验证码随机数|query|true|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 忘记密码发送短信验证码 + + +**接口地址**:`/forgetPassword/smscode` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|type|不传为 apifm|query|true|string|| +|mobile|手机号码|query|true|string|| +|code|图形验证码|query|true|string|| +|k|验证码随机数|query|true|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 重置新密码 + + +**接口地址**:`/forgetPassword/resetPwd` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|type|不传为 apifm|query|true|string|| +|mobile|手机号码|query|true|string|| +|pwd|新密码|query|true|string|| +|smsCode|短信验证码|query|true|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 重置新密码【通过邮件验证码】 + + +**接口地址**:`/forgetPassword/resetPwd/mail` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|type|不传为 apifm|query|true|string|| +|email|手机号码|query|true|string|| +|pwd|新密码|query|true|string|| +|mailCode|邮件验证码|query|true|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 修改登录密码 + + +**接口地址**:`/apifmUser/editPwd/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|oldPwd|原密码|query|true|string|| +|newPwd|新密码|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 添加-修改角色 + + +**接口地址**:`/apifmUser/centerUserRoles/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|actionsIds|允许的权限ID|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| +|id|记录编号|query|true||| +|name|角色名称|query|false||| +|profile|角色描述|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 所有的角色列表 + + +**接口地址**:`/apifmUser/centerUserRoles/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除角色 + + +**接口地址**:`/apifmUser/centerUserRoles/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|角色ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 启用管理员 + + +**接口地址**:`/apifmUser/admin/unstop` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|管理员ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 禁用管理员 + + +**接口地址**:`/apifmUser/admin/stop` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|管理员ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 添加-修改管理员 + + +**接口地址**:`/apifmUser/admin/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|roleIds|角色ID|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| +|id|管理员ID,修改时候传|query|false||| +|username|用户名|query|false||| +|pwd|密码|query|false||| +|realname|姓名|query|false||| +|shopIds|门店管理员的话,拥有权限的门店ID,多个门店之间用英文逗号分隔|query|false||| +|logo|自定义字段,长度200|query|false||| +|cover|自定义字段,长度200|query|false||| +|stamp|自定义字段,长度200|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 重置管理员密码 + + +**接口地址**:`/apifmUser/admin/resetPwd` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|管理员ID|query|true|integer(int32)|| +|pwd|新密码|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 区域管理员列表 + + +**接口地址**:`/apifmUser/admin/quyu` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 平台管理员列表 + + +**接口地址**:`/apifmUser/admin/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除管理员 + + +**接口地址**:`/apifmUser/admin/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|管理员id,多个数字用英文逗号分割|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 退出登录 + + +**接口地址**:`/loginAdmin/exit` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|xtoken|当前登录的后台xtoken|query|true|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取角色详情 + + +**接口地址**:`/apifmUser/centerUserRoles/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|角色ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取所有的权限列表 + + +**接口地址**:`/apifmUser/centerUserRoles/actions` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 管理员详情 + + +**接口地址**:`/apifmUser/admin/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|管理员ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 插件管理 + + +## 获得购买插件信息 + + +**接口地址**:`/buy/plugin/getPayData` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|userId|商户编号|query|true|integer(int32)|| +|mobile|商户手机号码|query|true|string|| +|type|购买的插件类型|query|true|integer(int32)|| +|payType|alipay wx|query|true|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 工厂设置 + + +## 获得购买模块套餐信息 + + +**接口地址**:`/buy/centerUserApi/getPayData` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**:

userId 和 mobile 只要传一个即可

+ + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|userId|商户编号|query|true|integer(int32)|| +|mobile|商户手机号码|query|true|string|| +|apiPriceId|模块所对应的套餐ID|query|true|integer(int32)|| +|payType|alipay wx|query|true|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取所有工厂模块列表 + + +**接口地址**:`/apis/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|nameLike|关键词|query|true|string|| +|isShow|是否显示所有模块(否则同一个分组仅展示一个模块)|query|false||| +|groupName|接口分组|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## vip卡券列表 + + +**接口地址**:`/apifmUser/vipCard/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 推广返佣申请提现 + + +**接口地址**:`/apifmUser/spread/apply` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|amount|提现金额|query|true|number|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 设置推广返佣支付宝账号 + + +**接口地址**:`/apifmUser/spread/alipay` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|alipay|支付宝账号|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 添加-修改我的客户信息 + + +**接口地址**:`/apifmUser/centerUser/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|dateExt1Str|自定义时间,比如自定义客户的到期时间|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|id|添加不传;修改传需要修改的用户id|query|false||| +|pwd|密码,添加时候必传,修改的时候可以不传|query|false||| +|domain|专属域名,例如 http://aaa.bbb.com,这里只要传 aaa 即可|query|false||| +|realName|真实姓名|query|false||| +|status|状态:-1 删除 0 默认 1 禁用 2 密码锁定|query|false||| +|remark2|自定义备注信息|query|false||| +|priceYear|客户年费金额|query|false||| +|priceMonth|客户月费金额|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 我的客户列表 + + +**接口地址**:`/apifmUser/centerUser/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin|开通时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|开通时间止,格式 2018-05-16|query|true|string|| +|realNameLike|真实姓名|query|true|string|| +|orderBy|排序规则:idAsc 开户时间早优先,idDesc 开户时间晚优先,loginAsc 登陆时间早优先,loginDesc 登陆时间晚优先,dateExt1Asc 自定义时间早优先,dateExt1Desc 自定义时间晚优先|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|mobile|用户名|query|false||| +|merchantNo|商户号|query|false||| +|domain|域名|query|false||| +|status|状态:-1 删除 0 默认 1 禁用 2 密码锁定|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除我的客户 + + +**接口地址**:`/apifmUser/centerUser/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|用户ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 卸载模块 + + +**接口地址**:`/apifmUser/apiCenterUser/uninstall` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|模块ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 一键移除所有模块 + + +**接口地址**:`/apifmUser/apiCenterUser/removeAll` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 已安装模块列表 + + +**接口地址**:`/apifmUser/apiCenterUser/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 安装模块 + + +**接口地址**:`/apifmUser/apiCenterUser/install` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|模块ID,多个模块用英文逗号分隔|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 我开通的插件列表 + + +**接口地址**:`/apifmUser/pluginInfo/list` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 检测是否开通了某插件 + + +**接口地址**:`/apifmUser/pluginInfo/check` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|type|插件类型编号|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 我的客户详情 + + +**接口地址**:`/apifmUser/centerUser/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|客户用户ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 暂时模块可购买的套餐列表 + + +**接口地址**:`/apifmUser/apiCenterUser/buy` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|模块ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 预约报名 + + +## 预约-报名设置为报名成功 + + +**接口地址**:`/apifmUser/yuyueJoin/success` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|报名ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 预约-报名记录标记为已服务 + + +**接口地址**:`/apifmUser/yuyueJoin/servered` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|报名ID,多个ID用英文逗号分隔|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 预约-报名用户管理 + + +**接口地址**:`/apifmUser/yuyueJoin/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin|报名时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|报名时间止,格式 2018-05-16|query|true|string|| +|mobile|用户手机号码|query|true|string|| +|nick|用户昵称|query|true|string|| +|showExtJson|显示扩展属性|query|true|boolean|| +|X-Token|管理员登录凭证|header|true||| +|id|预约ID|query|false||| +|yuyueId|预约项目编号|query|false||| +|teamId|团队ID|query|false||| +|status|状态:'0 等待付款 1 报名成功|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 预约-报名记录删除 + + +**接口地址**:`/apifmUser/yuyueJoin/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|报名ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 取消预约 + + +**接口地址**:`/apifmUser/yuyueJoin/cancel` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|报名ID|query|true|integer(int64)|| +|refund|是否退还报名费, true / false|query|true|boolean|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 预约报名设置添加-修改 + + +**接口地址**:`/apifmUser/yuyueInfo/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|pics|图片数组|query|true|array|string| +|dateBeginStr|报名开始时间,格式:yyyy-MM-dd HH:mm:ss|query|true|string|| +|dateEndStr|报名截止时间,格式:yyyy-MM-dd HH:mm:ss|query|true|string|| +|activityTimeStr|活动时间,格式:yyyy-MM-dd HH:mm:ss|query|true|string|| +|extJsonStr|扩展属性的JSON格式数据|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|id|添加不传;修改传需要修改的记录id|query|false||| +|title|标题|query|false||| +|isRecommend|是否推荐:true 推荐 / false 不推荐|query|false||| +|descript|描述|query|false||| +|content|详细说明|query|false||| +|isMemberLimit|是否仅限会员报名 true/false|query|false||| +|vipLevel|isMemberLimit = true 下生效,指定会员等级限制|query|false||| +|numberMax|最多预约报名人数|query|false||| +|amount|预约报名需要支付的金额|query|false||| +|status|状态:0开启;1关闭|query|false||| +|limitUserTotal|0 为不限, 每个用户最多可投几次|query|false||| +|limitUserDay|0 为不限,每个用户每天最多可投几次|query|false||| +|scoreSend|成功报名/预约奖励积分数|query|false||| +|scoreComplete|活动完成后奖励积分数|query|false||| +|address|活动地点|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 预约报名数据列表 + + +**接口地址**:`/apifmUser/yuyueInfo/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin|添加时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|添加时间止,格式 2018-05-16|query|true|string|| +|dateUpdateBegin||query|true|string|| +|dateUpdateEnd||query|true|string|| +|dateBeginBegin|开始时间起,格式 2018-05-16|query|true|string|| +|dateBeginEnd|开始时间止,格式 2018-05-16|query|true|string|| +|dateEndBegin|截止时间起,格式 2018-05-16|query|true|string|| +|dateEndEnd|截止时间止,格式 2018-05-16|query|true|string|| +|titleLike|名称模糊搜索|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|id|编号|query|false||| +|shopId|所属店铺|query|false||| +|categoryId|分类ID|query|false||| +|isRecommend|是否推荐:true 推荐 / false 不推荐|query|false||| +|status|状态:'0 开启 1 关闭|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除预约报名项目 + + +**接口地址**:`/apifmUser/yuyueInfo/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|编号|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 预约报名信息详情 + + +**接口地址**:`/apifmUser/yuyueJoin/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|报名ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取预约报名项目详情 + + +**接口地址**:`/apifmUser/yuyueInfo/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|编号|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 微信服务商 + + +## 删除指定的模版库 + + +**接口地址**:`/apifmUser/wxopenapp/template/deletetemplate` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|appid|应用的appid|query|true|string|| +|templateId|模版id|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 开发版添加至模版库 + + +**接口地址**:`/apifmUser/wxopenapp/template/addtotemplate` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|appid|应用的appid|query|true|string|| +|draftId|开发版模版id|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 微信服务商应用设置 + + +**接口地址**:`/apifmUser/wxopenapp/setting/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|id|记录编号,不传为添加,传了为更新|query|true||| +|name|服务商应用名称|query|false||| +|appid|服务商应用的APPID|query|false||| +|secret|服务商应用的APPSECRET|query|false||| +|token|消息校验Token|query|false||| +|aeskey|消息加解密Key|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 微信服务商快速创建小程序 + + +**接口地址**:`/apifmUser/wxopenapp/setting/fastregister` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**:

https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Register_Mini_Programs/Fast_Registration_Interface_document.html

+ + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|name|企业名(需与工商部门登记信息一致)|query|true|string|| +|code|企业代码|query|true|string|| +|codeType|企业代码类型 1:统一社会信用代码(18 位) 2:组织机构代码(9 位 xxxxxxxx-x) 3:营业执照注册号(15 位)|query|true|integer(int32)|| +|legalPersonaWechat|法人微信号|query|true|string|| +|legalPersonaName|法人姓名(绑定银行卡)|query|true|string|| +|componentPhone|第三方联系电话(方便法人与第三方联系)|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 微信服务商快速创建小程序状态查询 + + +**接口地址**:`/apifmUser/wxopenapp/setting/fastregister/query` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|name|企业名(需与工商部门登记信息一致)|query|true|string|| +|legalPersonaWechat|法人微信号|query|true|string|| +|legalPersonaName|法人姓名(绑定银行卡)|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除微信服务商应用设置 + + +**接口地址**:`/apifmUser/wxopenapp/setting/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 给授权公众号上传代码 + + +**接口地址**:`/apifmUser/wxopenapp/app/uploadCode` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|templateId|代码库模版编号|query|true|string|| +|extJsonStr|自定义的配置|query|true|string|| +|userVersion|代码版本号|query|true|string|| +|userDesc|代码描述|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 小程序撤回审核 + + +**接口地址**:`/apifmUser/wxopenapp/app/undocodeaudit` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 小程序提交审核 + + +**接口地址**:`/apifmUser/wxopenapp/app/submitAudit` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 小程序加急审核 + + +**接口地址**:`/apifmUser/wxopenapp/app/speedupaudit` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 给授权公众号添加业务域名 + + +**接口地址**:`/apifmUser/wxopenapp/app/setwebviewdomain` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|webviewdomain|小程序业务域名,多个用英文逗号分隔|query|true|array|string| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 给授权公众号设置小程序名称 + + +**接口地址**:`/apifmUser/wxopenapp/app/setnickname` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|nick_name|小程序名称|query|true|string|| +|license|营业执照照片地址|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 给授权公众号设置服务器域名 + + +**接口地址**:`/apifmUser/wxopenapp/app/set/domain` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 授权公众号列表 + + +**接口地址**:`/apifmUser/wxopenapp/app/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|id|记录编号|query|true||| +|name|服务商应用名称|query|false||| +|appid|服务商应用的APPID|query|false||| +|secret|服务商应用的APPSECRET|query|false||| +|token|消息校验Token|query|false||| +|aeskey|消息加解密Key|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 发布审核通过的小程序 + + +**接口地址**:`/apifmUser/wxopenapp/app/release` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 配置小程序用户隐私保护指引 + + +**接口地址**:`/apifmUser/wxopenapp/app/privacysettingSave` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|privacy_ver|用户隐私保护指引的版本,1表示现网版本;2表示开发版。默认是2开发版。|query|true|integer(int32)|| +|content_owner_setting|收集方(开发者)信息配置|query|true|string|| +|content_setting_list|要收集的用户信息配置|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 给授权公众号添加插件 + + +**接口地址**:`/apifmUser/wxopenapp/app/pluginAdd` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|pluginAppid|插件的appid|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 给授权公众号设置简介 + + +**接口地址**:`/apifmUser/wxopenapp/app/modifysignature` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|signature|公众号功能介绍(简介)|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 给授权公众号修改头像 + + +**接口地址**:`/apifmUser/wxopenapp/app/modifyheadimage` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|head_img|头像图片地址|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 授权公众号列表 + + +**接口地址**:`/apifmUser/wxopenapp/app/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|nameLike|公众号名称关键词|query|true|string|| +|principalNameLike|主体名称关键词|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|componentAppid|服务商appid|query|false||| +|appid|公众号appid|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除授权公众号 + + +**接口地址**:`/apifmUser/wxopenapp/app/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 给授权小程序添加类目 + + +**接口地址**:`/apifmUser/wxopenapp/app/addcategory` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|first|一级类目ID|query|true|integer(int32)|| +|second|二级类目ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 给授权公众号添加插件 + + +**接口地址**:`/apifmUser/wxopenapp/app/addExperienceUser` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|wechatid|用户的微信号|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 读取模版库列表 + + +**接口地址**:`/apifmUser/wxopenapp/template/templatelist` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|appid|应用的appid|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 读取模版库开发版 + + +**接口地址**:`/apifmUser/wxopenapp/template/draftlist` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|appid|应用的appid|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取运营商的微信服务商应用设置列表 + + +**接口地址**:`/apifmUser/wxopenapp/setting/parentList` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 微信服务商应用设置列表 + + +**接口地址**:`/apifmUser/wxopenapp/setting/list` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 微信服务商应用设置详情 + + +**接口地址**:`/apifmUser/wxopenapp/setting/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 同步更新小程序信息 + + +**接口地址**:`/apifmUser/wxopenapp/app/refreshBasicinfo` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 查询服务商的当月提审限额(quota)和加急次数 + + +**接口地址**:`/apifmUser/wxopenapp/app/queryquota` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取授权公众号体验二维码 + + +**接口地址**:`/apifmUser/wxopenapp/app/qrcode/experience` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 查询小程序用户隐私保护指引 + + +**接口地址**:`/apifmUser/wxopenapp/app/privacysettingQuery` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|privacy_ver|用户隐私保护指引的版本,1表示现网版本;2表示开发版。默认是2开发版。|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 授权公众号详情 + + +**接口地址**:`/apifmUser/wxopenapp/app/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取可以设置的所有类目 + + +**接口地址**:`/apifmUser/wxopenapp/app/getallcategories` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 查看小程序审核状态 + + +**接口地址**:`/apifmUser/wxopenapp/app/auditstatus` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 微信相关 + + +## 修改公众号配置 + + +**接口地址**:`/apifmUser/wxMpSet/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|appid|appid|query|true||| +|secret|secret|query|false||| +|token|消息推送的token,一般不用配置|query|false||| +|isCopy|是否是镜像配置,镜像配置的话系统会读主配置信息|query|false||| +|allowCopyUserids|允许被镜像的商户IDS,多个商户ID用英文逗号分隔|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取二维码 + + +**接口地址**:`/apifmUser/wxMpSet/qrcode` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|content|二维码参数,可不传|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除当前公众号配置 + + +**接口地址**:`/apifmUser/wxMpSet/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 读取公众号当前配置 + + +**接口地址**:`/apifmUser/wxMpSet/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 微信小程序 + + +## 修改小程序配置 + + +**接口地址**:`/apifmUser/wxMiniprogramSet/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|protection|如果传true,除了当前小程序外别的小程序将无法访问所有接口|query|true|boolean|| +|X-Token|管理员登录凭证|header|true||| +|appid|appid|query|true||| +|secret|secret|query|false||| +|token|消息推送的token,一般不用配置|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取小程序二维码(正方形的) + + +**接口地址**:`/apifmUser/wxMiniprogramSet/qrcode` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|content|页面路径,如: pages/index/index|query|true|string|| +|width|二维码的宽度|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 读取小程序当前配置 + + +**接口地址**:`/apifmUser/wxMiniprogramSet/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除当前小程序配置 + + +**接口地址**:`/apifmUser/wxMiniprogramSet/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## apifm收银机商户设置 + + +**接口地址**:`/apifmUser/cashRegisterSetting/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 财务相关 + + +## 提现设置 + + +**接口地址**:`/apifmUser/withdrawalSet/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|feePercent|提现手续费(%)|query|true||| +|minAmount|最少提现金额|query|true||| +|timesPerDay|每天可提现次数|query|true||| +|timesPerMonth|每月可提现次数|query|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除提现设置 + + +**接口地址**:`/apifmUser/withdrawalSet/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 设为提现成功 + + +**接口地址**:`/apifmUser/withdrawalLog/success` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 撤回用户提现 + + +**接口地址**:`/apifmUser/withdrawalLog/refuse` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录ID|query|true|integer(int64)|| +|rejectionReason|驳回原因|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 微信打款给用户 + + +**接口地址**:`/apifmUser/withdrawalLog/pay/wx` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录ID|query|true|integer(int64)|| +|transferSceneId|转账场景ID: 现金营销(ID=1000);行政补贴(ID=1002);保险理赔(ID=1004);佣金报酬(ID=1005);采购货款(ID=1009);二手回收(ID=1010);企业赔付(ID=1011);公益补助(ID=1013)|query|true|string|| +|userRecvPerception|用户收款时感知到的收款原因将根据转账场景自动展示默认内容。如有其他展示需求,可在本字段传入。各场景展示的默认内容和支持传入的内容,可查看, https://pay.weixin.qq.com/doc/v3/merchant/4012711988#3.3-%E5%8F%91%E8%B5%B7%E8%BD%AC%E8%B4%A6|query|true|string|| +|content|转账场景报备信息,详见 https://pay.weixin.qq.com/doc/v3/merchant/4012711988#3.3-%E5%8F%91%E8%B5%B7%E8%BD%AC%E8%B4%A6|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 用户提现列表 + + +**接口地址**:`/apifmUser/withdrawalLog/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin|支付时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|支付时间起,格式 2018-05-16|query|true|string|| +|dateUpdateBegin|更新时间起,格式 2018-05-16|query|true|string|| +|dateUpdateEnd|更新时间起,格式 2018-05-16|query|true|string|| +|mobileUser|用户手机号码|query|true|string|| +|nick|用户昵称|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|uid|用户编号|query|false||| +|number|提现编号|query|false||| +|status|状态 0等待处理 1成功 2失败 3处理中|query|false||| +|其他参数|用户提现记录表|query|false|WithdrawalLog|WithdrawalLog| +|  id|主键||false|integer(int64)|| +|  userId|商户ID||false|integer(int32)|| +|  uid|用户ID||false|integer(int64)|| +|  userType|0 个人;1 企业||false|integer(int32)|| +|  name|姓名||false|string|| +|  mobile|手机号||false|string|| +|  number|订单号||false|string|| +|  money|提现金额(包含手续费)||false|number|| +|  moneyFee|手续费||false|number|| +|  tax|税款||false|number|| +|  txVersion|提现版本,1 为企业打款接口;2 为商家打款接口||false|integer(int32)|| +|  status|0等待处理 1成功 2失败 3处理中||false|integer(int32)|| +|  bankName|开户银行名称||false|string|| +|  bankBranch|开户行/支行||false|string|| +|  bankCardNumber|银行账号||false|string|| +|  remark|备注||false|string|| +|  dateAdd|申请时间||false|string(date-time)|| +|  dateUpdate|变更时间||false|string(date-time)|| +|  rejectionReason|驳回原因||false|string|| +|  transferSceneId|转账场景ID||false|string|| +|  userRecvPerception|用户收款感知||false|string|| +|  transferBillNo|三方订单号||false|string|| +|  packageInfo|微信转账的参数||false|string|| +|  statusStr|||false|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 会员等级购买记录 + + +**接口地址**:`/apifmUser/userLevelBuyLog/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin|支付时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|支付时间起,格式 2018-05-16|query|true|string|| +|mobile|用户手机号码|query|true|string|| +|nick|用户昵称|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|uid|用户编号|query|false||| +|orderNumber|订单号|query|false||| +|levelId|会员等级ID|query|false||| +|priceId|会员等级收费项目ID|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 调整用户成长值 + + +**接口地址**:`/apifmUser/growthLog/modifyGrowth` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|uid|用户编号(用户编号和手机号码至少传一项)|query|true|integer(int64)|| +|mobile|手机号码(用户编号和手机号码至少传一项)|query|true|string|| +|growth|调整数量(减少请填写负数)|query|true|number|| +|remark|备注|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 成长值明细 + + +**接口地址**:`/apifmUser/growthLog/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin|交易时间起|query|true|string|| +|dateAddEnd|交易时间止|query|true|string|| +|mobileUser|手机号码|query|true|string|| +|nick|用户昵称|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|type|交易类型:0 管理员调整 1 积分兑换|query|false||| +|behavior|0 收入 1 支出|query|false||| +|其他参数|押金记录|query|false|Deposit|Deposit| +|  id|主键||false|integer(int64)|| +|  userId|商户ID||false|integer(int32)|| +|  uid|用户ID||false|integer(int64)|| +|  refCode|业务编号||false|string|| +|  number|订单号||false|string|| +|  amount|金额||false|number|| +|  status|-1 待支付 0申请退回待处理 1在押 2已退||false|integer(int32)|| +|  dateAdd|添加时间||false|string(date-time)|| +|  dateAutoBack|自动退还时间||false|string(date-time)|| +|  dateUpdate|编辑时间||false|string(date-time)|| +|  dateBack|退还时间||false|string(date-time)|| +|  remark|备注||false|string|| +|  statusStr|||false|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 收押金 + + +**接口地址**:`/apifmUser/deposit/pay` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|uid|用户编号|query|true|integer(int32)|| +|mobile|手机号码|query|true|string|| +|amount|押金金额|query|true|number|| +|refCode|业务编号|query|true|string|| +|remark|备注|query|true|string|| +|dateAutoBack|自动退押金时间,yyyy-MM-dd HH:mm:ss 格式,不传该参数为不自动退押金|query|true|string|| +|extJsonStr|扩展属性的JSON格式数据|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 押金列表 + + +**接口地址**:`/apifmUser/deposit/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin|支付时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|支付时间起,格式 2018-05-16|query|true|string|| +|dateAutoBackBegin|更新时间起,格式 2018-05-16|query|true|string|| +|dateAutoBackEnd|更新时间起,格式 2018-05-16|query|true|string|| +|dateUpdateBegin|更新时间起,格式 2018-05-16|query|true|string|| +|dateUpdateEnd|更新时间起,格式 2018-05-16|query|true|string|| +|dateBackBegin|更新时间起,格式 2018-05-16|query|true|string|| +|dateBackEnd|更新时间起,格式 2018-05-16|query|true|string|| +|mobileUser|用户手机号码|query|true|string|| +|nick|用户昵称|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|其他参数|押金记录|query|false|Deposit|Deposit| +|  id|主键||false|integer(int64)|| +|  userId|商户ID||false|integer(int32)|| +|  uid|用户ID||false|integer(int64)|| +|  refCode|业务编号||false|string|| +|  number|订单号||false|string|| +|  amount|金额||false|number|| +|  status|-1 待支付 0申请退回待处理 1在押 2已退||false|integer(int32)|| +|  dateAdd|添加时间||false|string(date-time)|| +|  dateAutoBack|自动退还时间||false|string(date-time)|| +|  dateUpdate|编辑时间||false|string(date-time)|| +|  dateBack|退还时间||false|string(date-time)|| +|  remark|备注||false|string|| +|  statusStr|||false|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 退押金 + + +**接口地址**:`/apifmUser/deposit/back` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 充值统计 + + +**接口地址**:`/apifmUser/apiExtUserPay/statistics` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|shopId|门店ID, 传0读取无门店充值记录|query|true|integer(int32)|| +|payGate|支付方式|query|true|string|| +|day|指定日期,格式 2020-10-10, 传 all 读取全局统计|query|true|string|| +|dayBegin|统计日期起,格式 2020-10-10|query|true|string|| +|dayEnd|统计日期止,格式 2020-11-10|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 读取提现设置信息 + + +**接口地址**:`/apifmUser/withdrawalSet/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 用户提现详情 + + +**接口地址**:`/apifmUser/withdrawalLog/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 押金详情 + + +**接口地址**:`/apifmUser/deposit/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 投票模块 + + +## 投票明细记录列表 + + +**接口地址**:`/apifmUser/voteJoin/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin|报名时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|报名时间止,格式 2018-05-16|query|true|string|| +|mobile|用户手机号码|query|true|string|| +|nick|用户昵称|query|true|string|| +|categoryId|项目分类|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| +|id|投票ID|query|false||| +|voteId|投票项目ID|query|false||| +|uid|投票用户ID|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 添加-修改投票项目 + + +**接口地址**:`/apifmUser/voteInfo/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|dateBeginStr|开始时间,格式:yyyy-MM-dd HH:mm:ss|query|true|string|| +|dateEndStr|截止时间,格式:yyyy-MM-dd HH:mm:ss|query|true|string|| +|extJsonStr|扩展属性的JSON格式数据|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|id|添加不传;修改传需要修改的记录id|query|false||| +|title|标题|query|false||| +|mp3|音频地址|query|false||| +|mp4|视频地址|query|false||| +|type|类型:0 手动添加 1 报名系统导入|query|false||| +|refId|type对应的外键ID|query|false||| +|rule|0 单选 1 多选|query|false||| +|isPublic|投票信息是否公开(是否匿名) true / false|query|false||| +|content|详细说明|query|false||| +|status|状态:0开启;1关闭|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 投票项目列表 + + +**接口地址**:`/apifmUser/voteInfo/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateBeginBegin|开始时间起,格式 2018-05-16|query|true|string|| +|dateBeginEnd|开始时间止,格式 2018-05-16|query|true|string|| +|dateEndBegin|截止时间起,格式 2018-05-16|query|true|string|| +|dateEndEnd|截止时间止,格式 2018-05-16|query|true|string|| +|titleLike|项目名称模糊搜索|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|id|编号|query|false||| +|type|类型:0 手动添加 1 报名系统导入|query|false||| +|refId|type对应的外键ID|query|false||| +|rule|0 单选 1 多选|query|false||| +|isPublic|投票信息是否公开(是否匿名) true / false|query|false||| +|status|状态:'0 开启 1 关闭|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 添加-修改投票项目的投票选项 + + +**接口地址**:`/apifmUser/voteInfo/items/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|voteId|投票项目ID|query|true||| +|id|添加不传;修改传需要修改的记录id|query|false||| +|title|投票选项名称|query|false||| +|descript|投票选项描述|query|false||| +|status|状态:0开启;1关闭|query|false||| +|paixu|排序,数字越小越靠前|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除投票项目的选项 + + +**接口地址**:`/apifmUser/voteInfo/items/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|编号|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 投票项目设为-取消优选项 + + +**接口地址**:`/apifmUser/voteInfo/items/best` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|编号|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 从报名模块导入投票数据 + + +**接口地址**:`/apifmUser/voteInfo/importFromYuyue` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|yuyueId|报名项目ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除投票项目 + + +**接口地址**:`/apifmUser/voteInfo/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|编号,多个编号用英文逗号分隔|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 投票项目详情 + + +**接口地址**:`/apifmUser/voteInfo/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|编号|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# AI + + +## AI生成图片 + + +**接口地址**:`/apifmUser/volcesArk/createImage` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|prompt|提示词(prompt)建议:【艺术风格】+【主体描述】+【文字排版】|query|true|string|| +|width|图片宽度,取值范围:[256, 768]|query|true|integer(int32)|| +|height|图片高度,取值范围:[256, 768]|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## AI协作 + + +**接口地址**:`/apifmUser/volcesArk/createChatCompletion` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|message|需要让AI帮你做什么,尽量把你的需求描述清楚|query|true|string|| +|type|1 写文章; 2 写公告|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 流媒体 + + +## vod视频点播设置 + + +**接口地址**:`/apifmUser/vodSet/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|type|aliyun / tencent|query|true||| +|accessKeyId|AccessKey ID 和 AccessKey Secret 是您访问阿里云 API 的密钥|query|true||| +|secret|AccessKey ID 和 AccessKey Secret 是您访问阿里云 API 的密钥|query|true||| +|regionId|地域代码,阿里云点播的话必填,https://help.aliyun.com/document_detail/98194.htm|query|false||| +|procedure|腾讯云视频后续处理操作任务流模板名|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除vod视频点播设置 + + +**接口地址**:`/apifmUser/vodSet/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|type|aliyun / tencent|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 腾讯云上传成功后添加视频信息 + + +**接口地址**:`/apifmUser/vodBase/tcVodAddFile` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|url|视频地址|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|title|标题|query|true||| +|videoId|视频ID|query|true||| +|size|视频文件大小(字节)|query|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 视频点播列表 + + +**接口地址**:`/apifmUser/vodBase/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin|添加时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|添加时间起,格式 2018-05-16|query|true|string|| +|dateUploadBegin|更新时间起,格式 2018-05-16|query|true|string|| +|dateUploadEnd|更新时间起,格式 2018-05-16|query|true|string|| +|titleLike|标题|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|videoId|视频编号|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除视频点播 + + +**接口地址**:`/apifmUser/vodBase/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|删除记录ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 修改视频点播封面图片 + + +**接口地址**:`/apifmUser/vodBase/changeCover` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|修改记录ID(数字类型,并非是视频编号)|query|true|integer(int64)|| +|coverUrl|分明图片URL|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取阿里云视频点播上传凭证 + + +**接口地址**:`/apifmUser/vodBase/authAndAddress` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**:

上传视频之前需要获取凭证,有了凭证才能上传视频

+ + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|fileName|上传的视频文件名称,视频源文件名称(必须带后缀, 支持 ".3gp", ".asf", ".avi", ".dat", ".dv", ".flv", ".f4v", ".gif", ".m2t", ".m3u8", ".m4v", ".mj2", ".mjpeg", ".mkv", ".mov", ".mp4", ".mpe", ".mpg", ".mpeg", ".mts", ".ogg", ".qt", ".rm", ".rmvb", ".swf", ".ts", ".vob", ".wmv", ".webm"".aac", ".ac3", ".acm", ".amr", ".ape", ".caf", ".flac", ".m4a", ".mp3", ".ra", ".wav", ".wma")|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 读取vod视频点播设置 + + +**接口地址**:`/apifmUser/vodSet/list` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 读取vod视频点播设置详情 + + +**接口地址**:`/apifmUser/vodSet/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|type|aliyun / tencent|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取腾讯云视频点播上传凭证 + + +**接口地址**:`/apifmUser/vodBase/tcVodSignature` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**:

上传视频之前需要获取凭证,有了凭证才能上传视频

+ + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|procedure|视频后续处理操作任务流模板名|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 商城模块 + + +## 知识设置添加-修改 + + +**接口地址**:`/apifmUser/virtualTraderSet/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|detailsJsonStr|付费的属性JSON格式|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|categoryId|所属分类ID|query|true||| +|price|价格|query|true||| +|id|添加不传;修改传需要修改的记录id|query|false||| +|name|名称|query|false||| +|buyNumber|已售数量|query|false||| +|status|状态:'0 上架 1 下架|query|false||| +|content|内容详情|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 知识商品设置 + + +**接口地址**:`/apifmUser/virtualTraderSet/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin|添加时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|添加时间止,格式 2018-05-16|query|true|string|| +|nameLike|名称|query|true|string|| +|categoryIdSel|所属类别ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| +|id|编号|query|false||| +|status|状态:'0 上架 1 下架|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除知识 + + +**接口地址**:`/apifmUser/virtualTraderSet/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|知识ID,批量删除请用英文逗号分隔|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 知识交易购买记录 + + +**接口地址**:`/apifmUser/virtualTraderBuyLog/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin|交易时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|交易时间止,格式 2018-05-16|query|true|string|| +|mobile|手机号码|query|true|string|| +|nick|昵称|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|vId|知识编号|query|false||| +|uid|用户编号|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除知识交易记录 + + +**接口地址**:`/apifmUser/virtualTraderBuyLog/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|购买记录ID,批量删除请用英文逗号分隔|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 技师解绑商家 + + +**接口地址**:`/apifmUser/userAttendant/unbindShop` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|技师ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 修改技师信息 + + +**接口地址**:`/apifmUser/userAttendant/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|idCardNo|身份证号码,添加的时候必填,编辑的时候忽略|query|true|string|| +|serviceShopIds|技师可服务的门店ID,多个门店之间用英文逗号分隔|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| +|id|技师ID|query|true||| +|jobNumber|工号|query|false||| +|name|技师姓名|query|false||| +|zc|职称|query|false||| +|mobile|手机号码|query|false||| +|gender|性别,0 未知 1 男性 2 女性|query|false||| +|age|年龄|query|false||| +|shopId|门店ID|query|false||| +|picLive|实拍照片|query|false||| +|picShow|工装照照片|query|false||| +|picIdcard1|身份证正面照片|query|false||| +|picIdcard2|身份证反面照片|query|false||| +|picJkz|健康证照片|query|false||| +|picCyzg|从业执照照片|query|false||| +|picOther|其他资质照片|query|false||| +|similarRate|工装照片和实拍照片相似度|query|false||| +|tags|技能标签|query|false||| +|content|个人介绍|query|false||| +|status|工作状态 0 上班;1 休息|query|false||| +|vetStatus|审核状态 0 待审核 1 通过 2不通过|query|false||| +|provinceId|所在省份ID|query|false||| +|cityId|所在城市ID|query|false||| +|districtId|所在区县ID|query|false||| +|streetId|所在街道ID|query|false||| +|constellation|星座|query|false||| +|alipayName|支付宝真实姓名|query|false||| +|alipayAccount|支付宝账号|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 技师列表 + + +**接口地址**:`/apifmUser/userAttendant/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|nameLike|技师姓名模糊搜索|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|shopId|商家ID|query|false||| +|status|工作状态:0 上班;1 休息|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除技师 + + +**接口地址**:`/apifmUser/userAttendant/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|技师ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 修改技师工作状态 + + +**接口地址**:`/apifmUser/userAttendant/changeStatus` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|技师ID|query|true|integer(int64)|| +|status|0 上班;1 休息|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 批量修改技师推荐状态 + + +**接口地址**:`/apifmUser/userAttendant/changeRecommendStatus` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|ids|技师ID,多个用英文逗号分割|query|true|array|integer| +|recommendStatus|0 一般 1 推荐|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 门店员工设置 + + +**接口地址**:`/apifmUser/shopStaff/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|id|记录ID,修改的时候需要传|query|false||| +|shopId|门店ID|query|false||| +|name|姓名|query|false||| +|mobile|手机号码|query|false||| +|pwd|密码,不修改原密码,无需传该参数|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 门店员工列表 + + +**接口地址**:`/apifmUser/shopStaff/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|nameLike|姓名模糊搜索|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|shopId|门店ID|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除门店员工 + + +**接口地址**:`/apifmUser/shopStaff/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|工号|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 门店探头列表 + + +**接口地址**:`/apifmUser/shopCamera/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|nameLike|探头名称模糊搜索|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|shopId|门店ID|query|false||| +|taiNum|台号|query|false||| +|deviceSn|探头序列号|query|false||| +|status|状态 0 正常; 1 离线|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 取货点设置 + + +**接口地址**:`/apifmUser/pickPoint/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|id|记录编号,修改的时候需要传|query|true||| +|shopId|门店ID|query|false||| +|type|类型|query|false||| +|name|名称|query|false||| +|address|地址|query|false||| +|tel|联系方式|query|false||| +|latitude|地图坐标纬度|query|false||| +|longitude|地图坐标经度|query|false||| +|paixu|排序|query|false||| +|status|0 正常; 1 禁用|query|false||| +|numberOrderMax|最多订单数|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 取货点列表 + + +**接口地址**:`/apifmUser/pickPoint/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| +|shopId|门店ID|query|false||| +|type|类型|query|false||| +|status|0 正常; 1 停用|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除取货点 + + +**接口地址**:`/apifmUser/pickPoint/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|取货点ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 商品关联知识付费列表 + + +**接口地址**:`/apifmUser/goodsVirtualTrader/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|showVirtualTraderMap|是否显示知识付费项目信息|query|true|boolean|| +|X-Token|管理员登录凭证|header|true||| +|goodsId|商品id|query|false||| +|virtualTraderId|知识付费项目ID|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除关联知识付费商品 + + +**接口地址**:`/apifmUser/goodsVirtualTrader/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|ids|记录编号,多个编号用英文逗号分隔|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 关联知识付费商品 + + +**接口地址**:`/apifmUser/goodsVirtualTrader/add` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|goodsId|商品id|query|true|integer(int64)|| +|virtualTraderIds|知识付费项目ID,多个编号用英文逗号分隔|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 商品库存变化明细列表 + + +**接口地址**:`/apifmUser/goodsStoresLogs/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| +|goodsId|商品ID|query|false||| +|propertyChildIds|规格尺寸信息|query|false||| +|type|变更类型|query|false||| +|behavior|0 增加 1 减少|query|false||| +|其他参数|商品库存变化明细|query|false|GoodsStoresLogs|GoodsStoresLogs| +|  id|主键||false|integer(int64)|| +|  userId|商户ID||false|integer(int32)|| +|  goodsId|商品ID||false|integer(int64)|| +|  propertyChildIds|规格尺寸ids||false|string|| +|  propertyChildNames|规格尺寸名称||false|string|| +|  type|变更类型||false|string|| +|  behavior|0 增加 1 减少||false|integer(int32)|| +|  stores|变更数量||false|integer(int32)|| +|  storesLeft|剩余库存数||false|integer(int32)|| +|  dateAdd|操作时间||false|string(date-time)|| +|  remark|备注||false|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 设置商品购买返利 + + +**接口地址**:`/apifmUser/goodsBuyReward/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|goodsId|商品id|query|true|integer(int64)|| +|triggerStatus|1 支付即返 3 交易成功返 4 评价后返|query|true|integer(int32)|| +|commission|奖励数值|query|true|number|| +|type|奖励类型 1 积分 2 现金 3 赠送优惠券|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 购买返利设置列表 + + +**接口地址**:`/apifmUser/goodsBuyReward/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|nameLike|商品名称|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|goodsId|商品ID|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除购买返利 + + +**接口地址**:`/apifmUser/goodsBuyReward/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|ids|记录id, 多条记录使用英文逗号分割|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 商城活动添加-编辑 + + +**接口地址**:`/apifmUser/activityMallInfo/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|其他参数|商城活动|query|false|ActivityMallInfo|ActivityMallInfo| +|  id|主键||false|integer(int32)|| +|  userId|商户ID||false|integer(int32)|| +|  title|活动名称||false|string|| +|  titleSub|副标题||false|string|| +|  bannerType|轮播图对应类型||false|string|| +|  disclaimerPageKey|免责声明对应单页key||false|string|| +|  couponRuleIds|活动配置优惠券规则ID,英文逗号分隔||false|string|| +|  goodsIds|活动配置商品ID,英文逗号分隔||false|string|| +|  dateStart|活动开始时间||false|string(date-time)|| +|  dateDeadline|活动截止时间||false|string(date-time)|| +|  address|活动地址||false|string|| +|  status|0 上架 1 下架||false|integer(int32)|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 商城活动列表 + + +**接口地址**:`/apifmUser/activityMallInfo/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|titleLike|标题关键词搜索|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除商城活动 + + +**接口地址**:`/apifmUser/activityMallInfo/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|活动ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取知识详情 + + +**接口地址**:`/apifmUser/virtualTraderSet/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|知识ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 技师详情 + + +**接口地址**:`/apifmUser/userAttendant/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|技师ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 门店-商家每日数据统计 + + +**接口地址**:`/apifmUser/shopStatisticsDay/day` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|shopId|门店ID|query|true|integer(int32)|| +|day|日期,格式如:20220611|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 门店员工详情 + + +**接口地址**:`/apifmUser/shopStaff/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|工号|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 门店探头详情 + + +**接口地址**:`/apifmUser/shopCamera/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 取货点详情 + + +**接口地址**:`/apifmUser/pickPoint/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|取货点ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 商城活动详情 + + +**接口地址**:`/apifmUser/activityMallInfo/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|活动ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 用户管理 + + +## 用户福利记录列表 + + +**接口地址**:`/apifmUser/userWelfare/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|nameLike|姓名|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|uid|用户编号|query|false||| +|levelId|会员等级编号|query|false||| +|mobile|手机号码|query|false||| +|status|0 未领取 1 已领取|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除用户福利记录 + + +**接口地址**:`/apifmUser/userWelfare/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id||query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 批量发放用户福利 + + +**接口地址**:`/apifmUser/userWelfare/add` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|content|批量导入的数据,是json的数组,例如:[{level:'黄金会员',mobile:'13500000000',nick:'张三',money:0}]|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 添加-修改用户标签 + + +**接口地址**:`/apifmUser/userTag/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|id|记录ID,修改的时候传,添加不需要传|query|true||| +|name|名称|query|false||| +|certificateScore|用户通过该标签认证赠送多少积分|query|false||| +|paixu|排序,数字越小越靠前|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 用户标签列表 + + +**接口地址**:`/apifmUser/userTag/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除用户标签 + + +**接口地址**:`/apifmUser/userTag/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|标签ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 修改收货地址 + + +**接口地址**:`/apifmUser/userShippingAddress/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|extJsonStr|扩展属性的JSON格式数据|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|id|记录编号|query|true||| +|isDefault|是否默认收货地址 true/false|query|false||| +|provinceId|省份编码|query|false||| +|cityId|城市编码|query|false||| +|districtId|区县编码|query|false||| +|address|详细地址|query|false||| +|code|邮编|query|false||| +|linkMan|收件人|query|false||| +|mobile|收件人手机|query|false||| +|idcard|身份证号码|query|false||| +|status|状态 0-正常,1-禁用|query|false||| +|latitude|地图纬度|query|false||| +|longitude|地图经度|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 用户收货地址列表 + + +**接口地址**:`/apifmUser/userShippingAddress/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin|添加时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|添加时间起,格式 2018-05-16|query|true|string|| +|dateUpdateBegin|修改时间起,格式 2018-05-16|query|true|string|| +|dateUpdateEnd|修改时间起,格式 2018-05-16|query|true|string|| +|mobileUser|注册用户手机号码|query|true|string|| +|nick|注册用户昵称|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|uid|用户编号|query|false||| +|isDefault|是否默认收货地址 true/false|query|false||| +|mobile|收件人手机|query|false||| +|status|状态 0-正常,1-禁用|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除用户收货地址 + + +**接口地址**:`/apifmUser/userShippingAddress/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 添加-修改会员等级 + + +**接口地址**:`/apifmUser/userLevel/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|extJsonStr|扩展属性的JSON格式数据|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|id|记录编号|query|true||| +|name|等级名称|query|false||| +|paixu|排序|query|false||| +|rebate|折扣|query|false||| +|upgradeAmount|消费满多少金额自动升级到该会员|query|false||| +|upgradeRechargeAmount|累计充值满多少金额自动升级到该会员|query|false||| +|upgradeRechargeAmountSingle|单笔充值满多少金额自动升级到该会员|query|false||| +|status|状态 0-正常,1-禁用|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 添加-修改会员等级收费项目 + + +**接口地址**:`/apifmUser/userLevel/save/price` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|id|记录编号|query|true||| +|levelId|会员等级ID|query|false||| +|duration|会员时长|query|false||| +|unit|单位 0 天 1 月 2 年|query|false||| +|price|价格|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 会员等级列表 + + +**接口地址**:`/apifmUser/userLevel/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| +|id|等级编号|query|false||| +|status|状态 0-正常,1-禁用|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除会员等级 + + +**接口地址**:`/apifmUser/userLevel/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|ids|会员等级id,多条记录编号用英文逗号分割|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除会员等级的某个收费项目 + + +**接口地址**:`/apifmUser/userLevel/del/price` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|收费项目ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除用户好友关系 + + +**接口地址**:`/apifmUser/userFriend/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**:

uidm 和 uids 至少传一个,都传的话为 AND 条件而不是 OR 的关系

+ + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|uidm|清空该用户的所有好友|query|true|integer(int64)|| +|uids|把当前用户从所有人的好友列表中删除|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 添加-修改部门信息 + + +**接口地址**:`/apifmUser/userDepartment/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|extJsonStr|扩展属性的JSON格式数据|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|id|部门ID|query|true||| +|name|部门名称|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 部门列表 + + +**接口地址**:`/apifmUser/userDepartment/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除部门 + + +**接口地址**:`/apifmUser/userDepartment/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|部门ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 批量检索用户 + + +**接口地址**:`/apifmUser/userBase/search` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**:

批量检测一批用户是否已注册,并返回用户编号,手机号,昵称等信息

+ + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|field|检索字段 nick mobile|query|true|string|| +|val|需要检索的字符串数组,用英文逗号分隔|query|true|array|string| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 修改用户信息 + + +**接口地址**:`/apifmUser/userBase/modify` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|用户编号|query|true|integer(int64)|| +|openid|用户对应微信的openid|query|true|string|| +|unionid|用户对应微信的unionid|query|true|string|| +|mobile|手机号码, unbind 为解除手机号码绑定|query|true|string|| +|nick|昵称|query|true|string|| +|pwd|新密码,不传该参数代表不修改密码|query|true|string|| +|levelId|会员等级, 传 0 为取消用户等级|query|true|integer(int32)|| +|levelExpireStr|会员到期时间,格式为: 2023-04-05 11:19:50|query|true|string|| +|isSeller|是否设置为分销商, trrue / false|query|true|boolean|| +|sellerLevelId|分销商等级ID|query|true|integer(int32)|| +|avatarUrl|头像图片路径|query|true|string|| +|nfcCardId|nfc卡序列号, unbind 为解除绑定|query|true|string|| +|username|用户名, unbind 为解除手机号码绑定|query|true|string|| +|email|电子邮箱地址, unbind 为解除手机号码绑定|query|true|string|| +|status|0 为正常,1 为禁用|query|true|integer(int32)|| +|wx|微信号|query|true|string|| +|departmentId|所属部门ID|query|true|integer(int32)|| +|remark|备注|query|true|string|| +|extJsonStr|扩展属性的JSON格式数据|query|true|string|| +|tags|用户标签,多个标签用英文逗号分割|query|true|string|| +|type|自定义用户类型|query|true|integer(int32)|| +|grade|年级(适合做校园类小程序)|query|true|string|| +|shopId|所属门店|query|true|integer(int32)|| +|xiaoqu|所在校区|query|true|string|| +|cover|封面图|query|true|string|| +|serviceCities|可服务的城市ID,多个用英文逗号分隔|query|true|string|| +|province|省份|query|true|string|| +|city|城市|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 用户列表 + + +**接口地址**:`/apifmUser/userBase/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页显示多少数据|query|true|integer(int64)|| +|dateAddBegin|注册时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|注册时间止,格式 2018-05-16|query|true|string|| +|dateLoginBegin|最后登录时间起,格式 2018-05-16|query|true|string|| +|dateLoginEnd|最后登录时间止,格式 2018-05-16|query|true|string|| +|nfcCardId|nfc卡序列号|query|true|string|| +|ids|多个用户编号用英文逗号分隔开|query|true|array|integer| +|wxOpenid|微信的openid搜索|query|true|string|| +|getLevelDateBegin|成为会员时间起,格式 2018-05-16|query|true|string|| +|getLevelDateEnd|成为会员时间止,格式 2018-05-16|query|true|string|| +|idCardNo|身份证号码|query|true|string|| +|extendKeywords|扩展属性搜索关键词|query|true|string|| +|nickLike|昵称|query|true|string|| +|showExtJson|显示扩展属性|query|true|boolean|| +|showSallerLevel|是否返回分销商等级信息|query|true|boolean|| +|X-Token|管理员登录凭证|header|true||| +|id|用户编号|query|false||| +|referrer|邀请人用户编号|query|false||| +|source|注册来源:0 小程序 1 手机注册 2 公众号 3 支付宝小程序|query|false||| +|mobile|手机号码|query|false||| +|username|用户名|query|false||| +|province|省份|query|false||| +|city|城市|query|false||| +|ipAdd|注册IP|query|false||| +|ipLogin|登录IP|query|false||| +|status|状态|query|false||| +|isSeller|是否是分销商,传 true/false|query|false||| +|isIdcardCheck|是否实名认证,传 true/false|query|false||| +|levelId|会员等级id,0 为所有无分组用户|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除用户 + + +**接口地址**:`/apifmUser/userBase/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|用户编号,批量删除请用英文逗号分隔|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 团队长列表 + + +**接口地址**:`/apifmUser/teamLeader/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页显示多少数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| +|id|用户编号|query|false||| +|partnerId|合伙人编号|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除团队长 + + +**接口地址**:`/apifmUser/teamLeader/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|ids|用户编号,多个用英文逗号分隔|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取用户标签详情 + + +**接口地址**:`/apifmUser/userTag/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|标签ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 用户收货地址详情 + + +**接口地址**:`/apifmUser/userShippingAddress/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取会员等级的收费列表 + + +**接口地址**:`/apifmUser/userLevel/prices` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|会员等级ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取会员等级详情 + + +**接口地址**:`/apifmUser/userLevel/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|等级ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取部门详情 + + +**接口地址**:`/apifmUser/userDepartment/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|部门ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取用户登录token,用于三方系统登录后获得用户登录的token + + +**接口地址**:`/apifmUser/userBase/token` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|用户编号|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取用户详情 + + +**接口地址**:`/apifmUser/userBase/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|用户编号|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取用户详情(根据nfc卡的序列号) + + +**接口地址**:`/apifmUser/userBase/info/nfc` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|cardId|nfc卡的序列号|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取用户详情(根据手机号码) + + +**接口地址**:`/apifmUser/userBase/info/mobile` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|mobile|手机号码|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取用户详情(根据动态会员码) + + +**接口地址**:`/apifmUser/userBase/info/dynamicUserCode` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**:

有效期为1分钟,使用一次以后即刻失效

+ + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|code|动态会员码|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 财务模块 + + +## 资金明细 + + +**接口地址**:`/apifmUser/userCashLog/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin|支付时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|支付时间起,格式 2018-05-16|query|true|string|| +|mobile|用户手机号码|query|true|string|| +|nick|用户昵称|query|true|string|| +|baseZero|equals 交易金额为0; gt 交易金额大于0; lt 交易金额小于0|query|true|string|| +|aggregate|是否返回统计数据|query|true|boolean|| +|X-Token|管理员登录凭证|header|true||| +|其他参数|资金明细|query|false|UserCashLog|UserCashLog| +|  id|主键||false|integer(int64)|| +|  userId|商户ID||false|integer(int32)|| +|  shopId|门店ID||false|integer(int32)|| +|  uid|用户ID||false|integer(int64)|| +|  behavior|0 收入 1 支出||false|integer(int32)|| +|  type|0 充值 11 提现申请 12 提现失败 1 提现成功 2 支付订单 3 退款 4支付预约报名费 5 知识付费 6分销返佣 7 分享商品奖励 8 买单 9 充值赠送||false|integer(int32)|| +|  amount|金额||false|number|| +|  balance|剩余可用||false|number|| +|  freeze|剩余冻结||false|number|| +|  orderId|直接操作的业务订单ID||false|integer(int64)|| +|  orderId2|有关系的编号2,比如订单id,拉取相关所有明细||false|integer(int64)|| +|  orderIdExtSystem|外部系统订单号||false|integer(int64)|| +|  remark|备注||false|string|| +|  dateAdd|添加时间||false|string(date-time)|| +|  amountZero|-1 金额负数 0 金额为0 1 金额正数||false|integer(int32)|| +|  typeStr|||false|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 字节小程序 + + +## 修改头条小程序配置 + + +**接口地址**:`/apifmUser/ttSet/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|appid|appid|query|true||| +|secret|secret|query|false||| +|payAppId|支付appID,在抖音开放平台后台,支付界面申请开通后获取|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取头条小程序二维码 + + +**接口地址**:`/apifmUser/ttSet/qrcode` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|content|二维码参数,json形式,无需传 access_token, https://microapp.bytedance.com/dev/cn/mini-app/develop/server/qr-code/createqrcode|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除头条小程序配置 + + +**接口地址**:`/apifmUser/ttSet/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 读取当前头条小程序配置 + + +**接口地址**:`/apifmUser/ttSet/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 积分模块 + + +## 做任务送积分设置 + + +**接口地址**:`/apifmUser/taskSetting/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|type|任务类型,对应的具体业务逻辑|query|false||| +|group|分组名称|query|false||| +|name|任务名称|query|false||| +|remark|任务备注|query|false||| +|paixu|排序,数字越小越靠前|query|false||| +|isDaily|是否为每日任务|query|false||| +|score|完成任务可获得多少积分|query|false||| +|maxTimes|(每天)最多可做几次任务|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除做任务送积分设置 + + +**接口地址**:`/apifmUser/taskSetting/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id||query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 添加-修改积分抵扣规则 + + +**接口地址**:`/apifmUser/scoreDeductionRule/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|goodsIds|下单抵扣规则添加时有效,传可用的商品编号,多个用英文逗号分割|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| +|id|记录编号|query|true||| +|goodsId|针对某个商品特殊设置,预留字段,暂时没有启用|query|false||| +|score|积分数|query|false||| +|money|抵扣金额|query|false||| +|loop|true/false ,假如充100抵10元,是否自动200积分可以抵20元|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 积分抵扣规则列表 + + +**接口地址**:`/apifmUser/scoreDeductionRule/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除积分抵扣规则设置 + + +**接口地址**:`/apifmUser/scoreDeductionRule/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id||query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 做任务送积分设置列表 + + +**接口地址**:`/apifmUser/taskSetting/list` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 积分抵扣规则详情 + + +**接口地址**:`/apifmUser/scoreDeductionRule/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 数据统计 + + +## 拉取分销商佣金及销售统计记录 + + +**接口地址**:`/apifmUser/statisticsCommision/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dayBegin|统计日期起,格式 20180516|query|true|string|| +|dayEnd|统计日期止,格式 20190516|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|uid|用户编号|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 小程序每日访问分析[包含支付人数] + + +**接口地址**:`/apifmUser/statistics/wxaDailyVisit` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dayBegin|统计日期起,格式 2018-05-16|query|true|string|| +|dayEnd|统计日期止,格式 2018-05-16|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取每天增量数据 + + +**接口地址**:`/apifmUser/statistics/days` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|quickDays|拉取最近几天的数据|query|true|integer(int32)|| +|dateStart|开始日期,格式 2020-05-07|query|true|string|| +|dateEnd|截止日期,格式 2020-05-07|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# IoT设备 + + +## 修改设备信息 + + +**接口地址**:`/apifmUser/shopIot/update` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|topic|设备编号|query|true||| +|shopId|门店ID|query|false||| +|name|设备名称|query|false||| +|status|0 正常; 1 禁用|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 修改指令信息 + + +**接口地址**:`/apifmUser/shopIot/updateCMD` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|指令ID|query|true|integer(int64)|| +|name|指令名称|query|true|string|| +|userControl|针对用户可见或者隐藏|query|true|boolean|| +|goodsId|绑定商品ID|query|true|integer(int64)|| +|paixu|排序|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 设备列表 + + +**接口地址**:`/apifmUser/shopIot/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|nameLike|设备名称模糊搜索|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|status|0 正常; 1 禁用|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 发送设备指令 + + +**接口地址**:`/apifmUser/shopIot/execute` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|指令ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 设备在线状态 + + +**接口地址**:`/apifmUser/shopIot/online` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|topic|设备编号|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 设备详情 + + +**接口地址**:`/apifmUser/shopIot/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|topic|设备编号|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取设备指令集 + + +**接口地址**:`/apifmUser/shopIot/cmds` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|topic|设备编号|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 门店财务模块 + + +## 调整门店余额 + + +**接口地址**:`/apifmUser/shopCash/modifyBalance` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|门店ID(门店ID和门店编号至少传一项)|query|true|integer(int32)|| +|number|门店编号(门店ID和门店编号至少传一项)|query|true|string|| +|money|调整金额,负数代表扣除余额|query|true|number|| +|remark|备注|query|true|string|| +|payGateExt|扩展支付类型|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 分销管理 + + +## 添加-修改分销团队 + + +**接口地址**:`/apifmUser/saleDistributionTeam/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|id|记录编号|query|true||| +|leader|队长用户编号|query|true||| +|deputyLeader|副队长用户编号|query|false||| +|name|团队名称|query|false||| +|standardSaleroom|考核月度达标销售额|query|false||| +|p1|队长返佣比例|query|false||| +|p2|副队长返佣比例|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 分销团队列表 + + +**接口地址**:`/apifmUser/saleDistributionTeam/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| +|id|等级编号|query|false||| +|其他参数|团队管理|query|false|SaleDistributionTeam|SaleDistributionTeam| +|  id|主键||false|integer(int32)|| +|  userId|商户ID||false|integer(int32)|| +|  name|名称,默认为 xxx的团队||false|string|| +|  leader|队长用户ID||false|integer(int64)|| +|  deputyLeader|副队长用户ID||false|integer(int64)|| +|  days|考核周期n天||false|integer(int32)|| +|  standardSaleroom|达标月度销售额||false|number|| +|  curSaleroom|当前销售额||false|number|| +|  tkAmount|当前退款累计金额||false|number|| +|  dateAdd|添加时间||false|string(date-time)|| +|  p1|队长返佣比例,%||false|number|| +|  p2|副队长返佣比例,%||false|number|| +|  reportMonth|上次考核日期||false|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除分销团队 + + +**接口地址**:`/apifmUser/saleDistributionTeam/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 分销设置 + + +**接口地址**:`/apifmUser/saleDistributionSet/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|isOpen|开启/关闭返佣功能|query|true||| +|type|0 现金返佣;1积分返佣|query|true||| +|earningsPercent|商品返佣比例,单位为%|query|true||| +|triggerType|0 支付即返;1 交易成功返|query|true||| +|widthdrawType|0 人工提现;1 微信打款|query|true||| +|p1|1级返佣比例,%|query|true||| +|p2|2级返佣比例,%|query|true||| +|p3|3级返佣比例,%|query|true||| +|applyAutoPass|分销商申请是否自动审核通过|query|true||| +|userLevelBuyOpen|购买会员是否开启返佣|query|true||| +|scoreSignOpen|签到送积分开启返佣|query|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 设置商品分销比例 + + +**接口地址**:`/apifmUser/saleDistributionLevelGoodsP/set` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|goodsIds|商品id,多个商品用英文逗号隔开|query|true|array|integer| +|levelId|分销等级id|query|true|integer(int32)|| +|p1|1级返佣比例,%|query|true|number|| +|p2|2级返佣比例,%|query|true|number|| +|p3|3级返佣比例,%|query|true|number|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 商品分销比例列表 + + +**接口地址**:`/apifmUser/saleDistributionLevelGoodsP/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| +|levelId|等级ID|query|false||| +|goodsId|商品ID|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除商品分销比例 + + +**接口地址**:`/apifmUser/saleDistributionLevelGoodsP/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|ids|记录id, 多个商品使用英文逗号分割|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 添加-修改分销等级 + + +**接口地址**:`/apifmUser/saleDistributionLevel/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|id|记录编号|query|true||| +|p1|1级返佣比例,%|query|true||| +|p2|2级返佣比例,%|query|true||| +|p3|3级返佣比例,%|query|true||| +|name|等级名称|query|false||| +|level|级别,数字越大,级别越高|query|false||| +|upgradeOrderNumber|推广订单数达到多少可升级至该等级|query|false||| +|upgradeAmount|销售额达到多少可升级至该等级|query|false||| +|upgradeCommision|推广佣金达到多少可升级至该等级|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 分销等级列表 + + +**接口地址**:`/apifmUser/saleDistributionLevel/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| +|id|等级编号|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除分销等级 + + +**接口地址**:`/apifmUser/saleDistributionLevel/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|等级ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 添加-修改分组 + + +**接口地址**:`/apifmUser/saleDistributionGroup/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|name|名称|query|true||| +|id|添加不传;修改传需要修改的记录id|query|false||| +|remark|备注|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除分组 + + +**接口地址**:`/apifmUser/saleDistributionGroup/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 添加-修改分销区域合伙人 + + +**接口地址**:`/apifmUser/saleDistributionCity/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|id|记录编号|query|true||| +|provinceId|省份ID|query|true||| +|cityId|城市ID|query|true||| +|uid|用户编号|query|true||| +|standardSaleroom|考核月度达标销售额|query|false||| +|p|返佣比例|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 分销区域合伙人列表 + + +**接口地址**:`/apifmUser/saleDistributionCity/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| +|其他参数|押金记录|query|false|Deposit|Deposit| +|  id|主键||false|integer(int64)|| +|  userId|商户ID||false|integer(int32)|| +|  uid|用户ID||false|integer(int64)|| +|  refCode|业务编号||false|string|| +|  number|订单号||false|string|| +|  amount|金额||false|number|| +|  status|-1 待支付 0申请退回待处理 1在押 2已退||false|integer(int32)|| +|  dateAdd|添加时间||false|string(date-time)|| +|  dateAutoBack|自动退还时间||false|string(date-time)|| +|  dateUpdate|编辑时间||false|string(date-time)|| +|  dateBack|退还时间||false|string(date-time)|| +|  remark|备注||false|string|| +|  statusStr|||false|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除分销区域合伙人 + + +**接口地址**:`/apifmUser/saleDistributionCity/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 查看团队销售报表 + + +**接口地址**:`/apifmUser/saleDistributionTeam/report` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|teamId|团队id|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取分销团队详情 + + +**接口地址**:`/apifmUser/saleDistributionTeam/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id||query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 读取当前分销设置 + + +**接口地址**:`/apifmUser/saleDistributionSet/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取分销等级详情 + + +**接口地址**:`/apifmUser/saleDistributionLevel/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|等级ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 分组列表 + + +**接口地址**:`/apifmUser/saleDistributionGroup/list` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 分组详情 + + +**接口地址**:`/apifmUser/saleDistributionGroup/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|分组id|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 查看区域合伙人销售报表 + + +**接口地址**:`/apifmUser/saleDistributionCity/report` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|cityId|城市ID|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取分销区域合伙人详情 + + +**接口地址**:`/apifmUser/saleDistributionCity/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 站点设置 + + +## 重置商户秘钥 + + +**接口地址**:`/apifmUser/resetKey` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## mock接口添加-编辑 + + +**接口地址**:`/apifmUser/mockApi/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|groupId|分组ID|query|true||| +|name|名称|query|true||| +|url|路径地址|query|true||| +|method|请求方式 get/post/put/delete|query|true||| +|content|接口模拟返回的内容|query|true||| +|id|添加不传;修改传需要修改的记录id|query|false||| +|describe|描述|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## mock分组添加-编辑 + + +**接口地址**:`/apifmUser/mockApi/save-group` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|name|名称|query|true||| +|url|路径|query|true||| +|id|添加不传;修改传需要修改的记录id|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除mock接口 + + +**接口地址**:`/apifmUser/mockApi/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|接口ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除mock接口分组 + + +**接口地址**:`/apifmUser/mockApi/del-group` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|分组ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 将某登录管理员踢下线 + + +**接口地址**:`/apifmUser/kickOut` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|xtoken|要踢掉的登录的xtoken|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 修改手机号码 + + +**接口地址**:`/apifmUser/editMobile/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|mobile|新的手机号码|query|true|string|| +|oldPwd|当前账号登录密码|query|true|string|| +|smsCode|短信验证码|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 修改真实姓名 + + +**接口地址**:`/apifmUser/changeName` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|realName|真实姓名|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 修改专属域名 + + +**接口地址**:`/apifmUser/changeDomain` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|domain|专属域名,只能是数字和大小写字母的组合|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 充值 + + +**接口地址**:`/apifmUser/centerUserCashLog/recharge` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**:

是后台的充值,并非是用户的充值,千万不要混淆

+ + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|money|充值金额|query|true|number|| +|payType|alipay wx|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 账务明细 + + +**接口地址**:`/apifmUser/centerUserCashLog/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**:

是工厂的账务明细,并非是用户的账务明细,千万不要混淆

+ + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|remarkLike|备注关键词搜索|query|true|string|| +|dateAddBegin|支付时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|支付时间起,格式 2018-05-16|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|behavior|0 收入; 1 支出|query|false||| +|type|交易类型 0 充值 1 返佣 2 提现 3 购买插件 4 管理员调整|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 修改邮箱地址 + + +**接口地址**:`/apifmUser/bindMail` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|email|邮箱地址|query|true|string|| +|oldPwd|当前账号登录密码|query|true|string|| +|mailCode|邮件验证码|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## Banner设置 + + +**接口地址**:`/apifmUser/bannerInfo/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|type|类型,自定义类型|query|true||| +|businessId|业务编号|query|true||| +|title|标题名称|query|true||| +|picUrl|图片URL地址|query|true||| +|paixu|排序|query|true||| +|id|添加不传;修改传需要修改的记录id|query|false||| +|shopAreaId|门店区域ID|query|false||| +|shopId|门店ID|query|false||| +|picUrl2|图片URL地址2【用于扩展】|query|false||| +|linkType|链接类型,0 普通链接; 1 跳转小程序|query|false||| +|appid|如果是跳转小程序,这里填目标小程序的appID|query|false||| +|linkUrl|链接地址|query|false||| +|status|状态,0 显示 1 隐藏|query|false||| +|remark|备注说明|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## Banner列表 + + +**接口地址**:`/apifmUser/bannerInfo/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| +|shopAreaId|门店区域ID|query|false||| +|shopId|门店ID|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除Banner + + +**接口地址**:`/apifmUser/bannerInfo/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录ID,多个ID用英文逗号分隔|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 当前登录账号信息 + + +**接口地址**:`/apifmUser/auth` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|uri|需要检测的请求地址权限|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 广告位添加-修改 + + +**接口地址**:`/apifmUser/adPosition/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|key|编号|query|true||| +|id|添加不传;修改传需要修改的记录id|query|false||| +|type|自定义类型 pic,txt,video|query|false||| +|val|广告位内容|query|false||| +|url|链接地址|query|false||| +|status|0 正常; 1 停用|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 广告位列表 + + +**接口地址**:`/apifmUser/adPosition/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| +|status|0 正常; 1 停用|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除广告位 + + +**接口地址**:`/apifmUser/adPosition/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录id,多个id用英文的逗号分割|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 统计当前站点数据 + + +**接口地址**:`/apifmUser/statistics` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 拉取当前用户的权限列表 + + +**接口地址**:`/apifmUser/myActions` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## mock接口列表 + + +**接口地址**:`/apifmUser/mockApi/list` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## mock接口详情 + + +**接口地址**:`/apifmUser/mockApi/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|接口ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 查看当前已登录的管理员列表 + + +**接口地址**:`/apifmUser/logedAdminList` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int32)|| +|pageSize|每页获取几条数据|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 当前登录账号信息 + + +**接口地址**:`/apifmUser/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## token有效性校验 + + +**接口地址**:`/apifmUser/checkToken` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**:

状态码0表示有效;100000表示token无效;100001表示token过期

+ + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|uri|需要检测的请求地址权限|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取所有的Banner类型 + + +**接口地址**:`/apifmUser/bannerInfo/types` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## Banner详情 + + +**接口地址**:`/apifmUser/bannerInfo/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 广告位详情 + + +**接口地址**:`/apifmUser/adPosition/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|广告位记录ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# QQ小程序 + + +## 修改QQ小程序配置 + + +**接口地址**:`/apifmUser/qqSet/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|appid|appid|query|true||| +|secret|secret|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取QQ小程序二维码(正方形的) + + +**接口地址**:`/apifmUser/qqSet/qrcode` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|content|页面路径,如: pages/index/index|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除当前QQ小程序配置 + + +**接口地址**:`/apifmUser/qqSet/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 读取QQ小程序当前配置 + + +**接口地址**:`/apifmUser/qqSet/list` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 营销辅助 + + +## 拼团设置添加-修改 + + +**接口地址**:`/apifmUser/pingtuanSet/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|dateEndStr|截止时间,格式 2018-05-16 12:23:34|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|goodsId|商品ID|query|true||| +|numberSucccess|已成团数量|query|true||| +|numberPersion|需要几人才能成团|query|true||| +|timeoutHours|超时时间,单位为小时,超时未成团,自动退款|query|true||| +|status|状态:0 正常 1 禁用|query|true||| +|refundType|退款方式:0 退到工厂用户余额 1 原路退回|query|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 拼团设置列表 + + +**接口地址**:`/apifmUser/pingtuanSet/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin|开始时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|开始时间止,格式 2018-05-16|query|true|string|| +|dateEndBegin|截止时间起,格式 2018-05-16|query|true|string|| +|dateEndEnd|截止时间止,格式 2018-05-16|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|id|拼团ID|query|false||| +|goodsId|商品ID|query|false||| +|status|状态:0 正常 1 禁用|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除拼团设置 + + +**接口地址**:`/apifmUser/pingtuanSet/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|拼团设置ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 拼团记录 + + +**接口地址**:`/apifmUser/pingtuanHelp/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin|购买时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|购买时间止,格式 2018-05-16|query|true|string|| +|mobileUser|用户手机号码|query|true|string|| +|nick|用户昵称|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|pingtuanJoiner|团号|query|false||| +|pingtuanId|拼团ID|query|false||| +|orderId|订单ID|query|false||| +|goodsId|商品ID|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 拼团设置详情 + + +**接口地址**:`/apifmUser/pingtuanSet/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|拼团设置ID|query|true|integer(int32)|| +|goodsId|商品id|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 订单模块 + + +## 删除评价图片 + + +**接口地址**:`/apifmUser/order/delReputationPic` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|评价图片所在记录的ID|query|true|integer(int64)|| +|X-Token|后台管理员登录的 xtoken,和Authorization 二选一|header|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取所有快递公司 + + +**接口地址**:`/apifmUser/order/expressCompanies` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|后台管理员登录的 xtoken,和Authorization 二选一|header|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# CMS模块 + + +## 搜索文章分类 + + +**接口地址**:`/apifmUser/newsCategory/search` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|ids|多个ID用英文逗号分割|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| +|shopId|门店ID|query|true||| +|name|名称|query|true||| +|id|id|query|false||| +|type|自定义类型,32个字符以内|query|false||| +|pid|上级分类ID, 0 代表顶级分类|query|false||| +|key|分类编号|query|false||| +|icon|分类图标|query|false||| +|pic|封面图片|query|false||| +|paixu|排序|query|false||| +|isUse|是否启用,true 或者 false|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 文章分类添加-修改 + + +**接口地址**:`/apifmUser/newsCategory/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|extJsonStr|扩展属性的JSON格式数据|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|name|名称|query|true||| +|id|添加不传;修改传需要修改的记录id|query|false||| +|type|自定义类型,32个字符以内|query|false||| +|remark|备注|query|false||| +|pid|上级分类ID, 0 代表顶级分类|query|false||| +|key|分类编号|query|false||| +|icon|分类图标|query|false||| +|paixu|排序|query|false||| +|isUse|是否启用,true 或者 false|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 文章分类列表 + + +**接口地址**:`/apifmUser/newsCategory/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|shopId|门店ID|query|true|integer(int32)|| +|showExtJson|显示扩展属性|query|true|boolean|| +|isUse|是否加载可用的|query|true|boolean|| +|pid|上级分类ID,获取全部分类传0|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除文章分类 + + +**接口地址**:`/apifmUser/newsCategory/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|分类ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 审核通过 + + +**接口地址**:`/apifmUser/comment/vet` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|留言id,多个ID用英文逗号分割|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 回复 + + +**接口地址**:`/apifmUser/comment/reply` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|留言id|query|true|integer(int64)|| +|reply|回复内容|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 留言-评论列表 + + +**接口地址**:`/apifmUser/comment/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|titleLike|type==3的时候,搜索cms文章标题关键字|query|true|string|| +|dateAddBegin|添加时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|添加时间起,格式 2018-05-16|query|true|string|| +|dateReplyBegin|回复时间起,格式 2018-05-16|query|true|string|| +|dateReplyEnd|回复时间起,格式 2018-05-16|query|true|string|| +|showExtJson|显示扩展属性|query|true|boolean|| +|X-Token|管理员登录凭证|header|true||| +|type|0 网站留言 1 意见反馈 2 投诉建议 3 CMS文章评论 4 接口申请 5 预约/活动/报名 6 商城订单|query|false||| +|refId|业务ID,比如文章id|query|false||| +|pid|引用的留言ID|query|false||| +|status|0 待审核 1 已审核 2 已回复|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除评论、留言、投诉建议 + + +**接口地址**:`/apifmUser/comment/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|留言id,多个ID用英文逗号分割|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 添加留言-评论 + + +**接口地址**:`/apifmUser/comment/add` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|extJsonStr|属性信息,JSON格式|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|content|留言/评论内容|query|true||| +|latitude|地图坐标纬度|query|true||| +|longitude|地图坐标经度|query|true||| +|refId|业务ID,比如文章id|query|false||| +|pid|引用的留言ID|query|false||| +|type|0 网站留言 1 意见反馈 2 投诉建议 3 CMS文章评论 4 接口申请 5 预约/活动/报名 6 商城订单|query|false||| +|file|文件附件链接,可传图片、文件|query|false||| +|streetId|所属街道ID|query|false||| +|communityId|所属社区/村ID|query|false||| +|mobile|联系电话|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 单页添加-修改 + + +**接口地址**:`/apifmUser/cmsPage/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|extJsonStr|扩展属性的JSON格式数据|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|key|编号|query|true||| +|title|标题|query|true||| +|content|内容|query|true||| +|id|添加不传;修改传需要修改的记录id|query|false||| +|type|0 富文本编辑器 1纯文本编辑器|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 单页列表 + + +**接口地址**:`/apifmUser/cmsPage/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin|发布时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|发布时间止,格式 2018-05-16|query|true|string|| +|dateUpdateBegin|修改时间起,格式 2018-05-16|query|true|string|| +|dateUpdateEnd|修改时间止,格式 2018-05-16|query|true|string|| +|titleLike|标题|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|id|ID|query|false||| +|type|0 富文本编辑器 1纯文本编辑器|query|false||| +|key|编号|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除单页 + + +**接口地址**:`/apifmUser/cmsPage/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id||query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 公告添加-修改 + + +**接口地址**:`/apifmUser/cmsNotice/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|type|类型|query|true||| +|title|标题|query|true||| +|isShow|是否显示|query|true||| +|isTop|是否置顶|query|true||| +|content|内容|query|true||| +|id|添加不传;修改传需要修改的记录id|query|false||| +|pic|封面图片|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 公告列表 + + +**接口地址**:`/apifmUser/cmsNotice/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin|发布时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|发布时间止,格式 2018-05-16|query|true|string|| +|titleLike|标题|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|id|ID|query|false||| +|type|公告类型|query|false||| +|isShow|是否展示|query|false||| +|isTop|是否置顶|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除公告 + + +**接口地址**:`/apifmUser/cmsNotice/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id||query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 文章分类详情 + + +**接口地址**:`/apifmUser/newsCategory/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|分类id|query|true|integer(int32)|| +|categoryKey|分类编号|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 留言-评论详情 + + +**接口地址**:`/apifmUser/comment/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|评论记录ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 单页详情 + + +**接口地址**:`/apifmUser/cmsPage/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id||query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 使用key获取单页详情 + + +**接口地址**:`/apifmUser/cmsPage/info/key` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|key|编号|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 公告详情 + + +**接口地址**:`/apifmUser/cmsNotice/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id||query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# MTJ + + +## 审核通过 + + +**接口地址**:`/apifmUser/mtjTransfer/success` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 审核不通过 + + +**接口地址**:`/apifmUser/mtjTransfer/refuse` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## mtj转账记录列表 + + +**接口地址**:`/apifmUser/mtjTransfer/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin|支付时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|支付时间起,格式 2018-05-16|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|其他参数|mtj转账记录|query|false|MtjTransfer|MtjTransfer| +|  id|主键||false|integer(int64)|| +|  userId|商户ID||false|integer(int32)|| +|  uidOut|转出用户||false|integer(int64)|| +|  uidIn|转入用户||false|integer(int64)|| +|  number|赚账数量||false|number|| +|  fee|手续费||false|number|| +|  numberActual|实际到账||false|number|| +|  remark|备注||false|string|| +|  status|0待审核 1成功 2失败||false|integer(int32)|| +|  dateAdd|转账日期||false|string(date-time)|| +|  dateUpdate|变更时间||false|string(date-time)|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## mtj设置 + + +**接口地址**:`/apifmUser/mtjSet/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|其他参数|mtj配置|query|false|MtjSet|MtjSet| +|  id|商户ID||false|integer(int32)|| +|  signGot|签到赠送||false|number|| +|  signGotFx1|1级分销商赠送||false|number|| +|  signGotFx2|2级分销商赠送||false|number|| +|  signGotFx3|3级分销商赠送||false|number|| +|  transferFee|转账手续费,填 1为 1%||false|number|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除mtj配置 + + +**接口地址**:`/apifmUser/mtjSet/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 调整用户MTJ + + +**接口地址**:`/apifmUser/mtj/modify` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|用户编号(用户编号和手机号码至少传一项)|query|true|integer(int32)|| +|mobile|手机号码(用户编号和手机号码至少传一项)|query|true|string|| +|mtj|调整数量(减少请填写负数)|query|true|number|| +|remark|备注|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 用户贡献值列表 + + +**接口地址**:`/apifmUser/mtj/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|mobile|用户手机号码|query|true|string|| +|nick|用户昵称|query|true|string|| +|orderBy|排序规则:balanceUp 余额从小到大;balanceDown 余额从大到小;freezeUp 冻结从小到大;freezeDown 冻结从大到小;|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|其他参数|用户贡献值|query|false|Mtj|Mtj| +|  id|用户ID||false|integer(int64)|| +|  userId|商户ID||false|integer(int32)|| +|  balance|余额||false|number|| +|  freeze|冻结||false|number|| +|  bonusDate|最后分红时间||false|string(date-time)|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 读取mtj设置信息 + + +**接口地址**:`/apifmUser/mtjSet/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 用户贡献值记录 + + +## MTJ明细s列表 + + +**接口地址**:`/apifmUser/mtjLog/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin||query|true|string|| +|dateAddEnd||query|true|string|| +|mobile||query|true|string|| +|nick||query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|其他参数|用户贡献值记录|query|false|MtjLog|MtjLog| +|  id|主键||false|integer(int64)|| +|  userId|商户ID||false|integer(int32)|| +|  uid|用户ID||false|integer(int64)|| +|  type|0 管理员调整 10 签到获得 11 签到返佣 20 购买商品 21 商品返佣||false|integer(int32)|| +|  behavior|0 收入 1 支出||false|integer(int32)|| +|  number|交易数量||false|number|| +|  balance|余额||false|number|| +|  freeze|冻结||false|number|| +|  dateAdd|交易时间||false|string(date-time)|| +|  remark|备注||false|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 系统日志 + + +## 列表 + + +**接口地址**:`/apifmUser/logMerchant/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| +|其他参数||query|false|LogMerchant|LogMerchant| +|  id|主键||false|integer(int32)|| +|  userId|商户ID||false|integer(int32)|| +|  username|管理员账号||false|string|| +|  name|管理员名称||false|string|| +|  module|模块名称||false|string|| +|  content|操作内容||false|string|| +|  dateAdd|操作时间||false|string(date-time)|| +|  ip|操作IP||false|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 添加 + + +**接口地址**:`/apifmUser/logMerchant/add` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|其他参数||query|false|LogMerchant|LogMerchant| +|  id|主键||false|integer(int32)|| +|  userId|商户ID||false|integer(int32)|| +|  username|管理员账号||false|string|| +|  name|管理员名称||false|string|| +|  module|模块名称||false|string|| +|  content|操作内容||false|string|| +|  dateAdd|操作时间||false|string(date-time)|| +|  ip|操作IP||false|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 自定义JSON + + +## JSON数据添加-修改 + + +**接口地址**:`/apifmUser/jsonBase/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|添加不传;修改传需要修改的记录id|query|true|integer(int64)|| +|type|类型|query|true|string|| +|refId|关联id|query|true|integer(int64)|| +|content|JSON数据|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## JSON数据列表 + + +**接口地址**:`/apifmUser/jsonBase/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页显示多少数据|query|true|integer(int64)|| +|dateUpdateBegin|更新时间起,格式 2018-05-16|query|true|string|| +|dateUpdateEnd|更新时间止,格式 2018-05-16|query|true|string|| +|contentLike|关键词|query|true|string|| +|mobile|手机号码|query|true|string|| +|nick|昵称|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|id|ID|query|false||| +|uid|用户编号|query|false||| +|type|类型|query|false||| +|refId|关联id|query|false||| +|其他参数||query|false|JsonBase|JsonBase| +|  id|主键||false|integer(int64)|| +|  userId|商家编号||false|integer(int32)|| +|  uid|用户编号||false|integer(int64)|| +|  refId|外键ID||false|integer(int64)|| +|  type|自定义类型||false|string|| +|  content|json格式数据||false|object|| +|  dateAdd|添加时间||false|string(date-time)|| +|  dateUpdate|更新时间||false|string(date-time)|| +|  isTop|是否置顶||false|boolean|| +|  isHighlight|是否突出显示||false|boolean|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除JSON数据 + + +**接口地址**:`/apifmUser/jsonBase/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|id|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## JSON数据详情 + + +**接口地址**:`/apifmUser/jsonBase/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|id|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# mqtt + + +## mqtt发送消息 + + +**接口地址**:`/apifmUser/iotMqtt/sendMsg` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|username|账号|query|true|string|| +|content|消息内容|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## mqtt账号重置密码 + + +**接口地址**:`/apifmUser/iotMqtt/resetPwd` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|username|账号|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## mqtt账号修改备注 + + +**接口地址**:`/apifmUser/iotMqtt/remark` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|username|账号|query|true|string|| +|remark|备注内容|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## mqtt账号列表 + + +**接口地址**:`/apifmUser/iotMqtt/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| +|其他参数|mqtt账号|query|false|IotMqtt|IotMqtt| +|  username|用户名||false|string|| +|  pwd|密码||false|string|| +|  salt|秘钥加盐||false|string|| +|  userId|商户ID||false|integer(int32)|| +|  remark|备注||false|string|| +|  status|0 正常; 1 禁用; 2 已到期||false|integer(int32)|| +|  dataAdd|添加时间||false|string(date-time)|| +|  dateEnd| 到期时间||false|string(date-time)|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除mqtt账号 + + +**接口地址**:`/apifmUser/iotMqtt/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|username|账号|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 创建mqtt账号 + + +**接口地址**:`/apifmUser/iotMqtt/create` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|其他参数|mqtt账号|query|false|IotMqtt|IotMqtt| +|  username|用户名||false|string|| +|  pwd|密码||false|string|| +|  salt|秘钥加盐||false|string|| +|  userId|商户ID||false|integer(int32)|| +|  remark|备注||false|string|| +|  status|0 正常; 1 禁用; 2 已到期||false|integer(int32)|| +|  dataAdd|添加时间||false|string(date-time)|| +|  dateEnd| 到期时间||false|string(date-time)|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## mqtt账号详情 + + +**接口地址**:`/apifmUser/iotMqtt/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|username|账号|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 商品寄存表 + + +## 商品寄存表添加 + + +**接口地址**:`/apifmUser/goodsJicun/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|dateExpiredStr|到期日期,格式: 2021-08-03|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|其他参数|商品寄存表|query|false|GoodsJicun|GoodsJicun| +|  id|主键||false|integer(int64)|| +|  userId|商户id||false|integer(int32)|| +|  uid|用户id||false|integer(int64)|| +|  goodsId|商品id||false|integer(int64)|| +|  goodsName|商品名称||false|string|| +|  year|年份||false|string|| +|  sku|规格||false|string|| +|  number|数量||false|integer(int32)|| +|  ck|仓 储 地||false|string|| +|  dateAdd|寄存时间||false|string(date-time)|| +|  dateTake|取回时间||false|string(date-time)|| +|  dateExpired|过期时间||false|string(date-time)|| +|  status|0 寄存中 11 取货中 1 已取回 2 已过期||false|integer(int32)|| +|  categoryId|分类id||false|integer(int32)|| +|  pic|商品图片||false|string|| +|  statusStr|||false|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 商品寄存修改状态 + + +**接口地址**:`/apifmUser/goodsJicun/modifyStatus` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录ID|query|true|integer(int64)|| +|status|0 寄存中 11 取货中 1 已取回 2 已过期|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 商品寄存表列表 + + +**接口地址**:`/apifmUser/goodsJicun/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|mobile|手机号码|query|true|string|| +|nickLike|昵称|query|true|string|| +|dateAddBegin|寄存时间起|query|true|string|| +|dateAddEnd|寄存时间止|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|其他参数|商品寄存表|query|false|GoodsJicun|GoodsJicun| +|  id|主键||false|integer(int64)|| +|  userId|商户id||false|integer(int32)|| +|  uid|用户id||false|integer(int64)|| +|  goodsId|商品id||false|integer(int64)|| +|  goodsName|商品名称||false|string|| +|  year|年份||false|string|| +|  sku|规格||false|string|| +|  number|数量||false|integer(int32)|| +|  ck|仓 储 地||false|string|| +|  dateAdd|寄存时间||false|string(date-time)|| +|  dateTake|取回时间||false|string(date-time)|| +|  dateExpired|过期时间||false|string(date-time)|| +|  status|0 寄存中 11 取货中 1 已取回 2 已过期||false|integer(int32)|| +|  categoryId|分类id||false|integer(int32)|| +|  pic|商品图片||false|string|| +|  statusStr|||false|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 商品寄存记录删除 + + +**接口地址**:`/apifmUser/goodsJicun/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|ids|记录ID,多个ID用英文逗号分隔|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# FSM + + +## fsm设置添加-编辑 + + +**接口地址**:`/apifmUser/fsmSetting/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|其他参数|fsm设置|query|false|FsmSetting|FsmSetting| +|  id|商户ID||false|integer(int32)|| +|  saleLevelId|经销商等级ID||false|integer(int32)|| +|  installerLevelId|安装人员等级ID||false|integer(int32)|| +|  orderSaleQiyewxRobotToken|销售报备订单企微提醒||false|string|| +|  orderInstallQiyewxRobotToken|安装订单企微提醒||false|string|| +|  orderRepairQiyewxRobotToken|售后工单企微提醒||false|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 设备型号管理添加-编辑 + + +**接口地址**:`/apifmUser/fsmDeviceModel/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|buyMaxNumberList|对应的用户标签的限购数量数组字符串:[{tag: "零售商", buyMaxNumber: 100}]|query|true|string|| +|subsidyPriceList|对应的几线城市安装补贴金额数组字符串:[{cityLevel: 1, price: 15}]|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|其他参数|设备型号管理|query|false|FsmDeviceModel|FsmDeviceModel| +|  id|主键||false|integer(int32)|| +|  userId|商户ID||false|integer(int32)|| +|  name|名称||false|string|| +|  remark|备注||false|string|| +|  status|状态||false|integer(int32)|| +|  buyMaxNumber|最大限购数量,0 不限||false|integer(int32)|| +|  paixu|排序||false|integer(int32)|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 设备型号管理列表 + + +**接口地址**:`/apifmUser/fsmDeviceModel/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| +|其他参数|设备型号管理|query|false|FsmDeviceModel|FsmDeviceModel| +|  id|主键||false|integer(int32)|| +|  userId|商户ID||false|integer(int32)|| +|  name|名称||false|string|| +|  remark|备注||false|string|| +|  status|状态||false|integer(int32)|| +|  buyMaxNumber|最大限购数量,0 不限||false|integer(int32)|| +|  paixu|排序||false|integer(int32)|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除设备型号管理 + + +**接口地址**:`/apifmUser/fsmDeviceModel/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id||query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## fsm设置详情 + + +**接口地址**:`/apifmUser/fsmSetting/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 设备型号管理详情 + + +**接口地址**:`/apifmUser/fsmDeviceModel/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id||query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 订单项目报备 + + +## 订单项目报备审核 + + +**接口地址**:`/apifmUser/fsmSaleOrder/vet` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|订单ID|query|true|integer(int64)|| +|status|1审核通过、2审核不通过|query|true|integer(int32)|| +|vetRemark|审核备注|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 单独设置经销商设备型号的限购数量 + + +**接口地址**:`/apifmUser/fsmSaleOrder/setDeviceModelBuyMaxNumberUser` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|uid|经销商用户ID|query|true|integer(int64)|| +|content|设置内容,不传改字段,将清空用户特殊设置: [{"modelId": 123, "buyMaxNumber": 10}]|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 修改报备数量 + + +**接口地址**:`/apifmUser/fsmSaleOrder/modifyNumber` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|订单ID|query|true|integer(int64)|| +|number|报备数量|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 修改型号 + + +**接口地址**:`/apifmUser/fsmSaleOrder/modifyDeviceModelId` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|订单ID|query|true|integer(int64)|| +|deviceModelId|设备型号ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 订单项目报备列表 + + +**接口地址**:`/apifmUser/fsmSaleOrder/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|mobile|手机号码|query|true|string|| +|nickLike|昵称|query|true|string|| +|deviceModelLike|设备型号关键词|query|true|string|| +|dateAddBegin|报备时间起|query|true|string|| +|dateAddEnd|报备时间止|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|其他参数|订单项目报备|query|false|FsmSaleOrder|FsmSaleOrder| +|  id|主键||false|integer(int64)|| +|  userId|商户ID||false|integer(int32)|| +|  orderNumber|订单号||false|string|| +|  uid|用户编号||false|integer(int64)|| +|  deviceModelId|设备型号ID||false|integer(int32)|| +|  provinceId|省份||false|string|| +|  cityId|城市||false|string|| +|  districtId|区县||false|string|| +|  streetId|街道||false|string|| +|  customerName|客户名称||false|string|| +|  address|详细地址||false|string|| +|  number|报备数量||false|integer(int32)|| +|  status|0待审核、1审核通过、2审核不通过、3已安装、4已补贴、5 已发货||false|integer(int32)|| +|  dateAdd|报备时间||false|string(date-time)|| +|  dateVet|审核时间||false|string(date-time)|| +|  dateInstall|预估安装时间||false|string(date-time)|| +|  dateSubsidy|补贴时间||false|string(date-time)|| +|  vetRemark|审核说明||false|string|| +|  linkMobile|项目联系人电话||false|string|| +|  trackingNumber|发货单号||false|string|| +|  trackingRemark|发货备注||false|string|| +|  provinceName|||false|string|| +|  cityName|||false|string|| +|  districtName|||false|string|| +|  streetName|||false|string|| +|  statusStr|||false|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 发货 + + +**接口地址**:`/apifmUser/fsmSaleOrder/fahuo` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|订单ID|query|true|integer(int64)|| +|trackingNumber|发货单号|query|true|string|| +|trackingRemark|发货备注|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除订单项目报备 + + +**接口地址**:`/apifmUser/fsmSaleOrder/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|多个ID用英文逗号分隔|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 反审 + + +**接口地址**:`/apifmUser/fsmSaleOrder/backVet` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|订单ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 补单 + + +**接口地址**:`/apifmUser/fsmSaleOrder/add` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|mobile|经销商手机号|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|其他参数|订单项目报备|query|false|FsmSaleOrder|FsmSaleOrder| +|  id|主键||false|integer(int64)|| +|  userId|商户ID||false|integer(int32)|| +|  orderNumber|订单号||false|string|| +|  uid|用户编号||false|integer(int64)|| +|  deviceModelId|设备型号ID||false|integer(int32)|| +|  provinceId|省份||false|string|| +|  cityId|城市||false|string|| +|  districtId|区县||false|string|| +|  streetId|街道||false|string|| +|  customerName|客户名称||false|string|| +|  address|详细地址||false|string|| +|  number|报备数量||false|integer(int32)|| +|  status|0待审核、1审核通过、2审核不通过、3已安装、4已补贴、5 已发货||false|integer(int32)|| +|  dateAdd|报备时间||false|string(date-time)|| +|  dateVet|审核时间||false|string(date-time)|| +|  dateInstall|预估安装时间||false|string(date-time)|| +|  dateSubsidy|补贴时间||false|string(date-time)|| +|  vetRemark|审核说明||false|string|| +|  linkMobile|项目联系人电话||false|string|| +|  trackingNumber|发货单号||false|string|| +|  trackingRemark|发货备注||false|string|| +|  provinceName|||false|string|| +|  cityName|||false|string|| +|  districtName|||false|string|| +|  streetName|||false|string|| +|  statusStr|||false|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 订单项目报备详情 + + +**接口地址**:`/apifmUser/fsmSaleOrder/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id||query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 查看经销商限购设置及剩余可报备数量 + + +**接口地址**:`/apifmUser/fsmSaleOrder/buyMaxNumberAndLeftNumber` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|uid|经销商用户ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 售后工单 + + +## 回厂 + + +**接口地址**:`/apifmUser/fsmRepair/returnFactory` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|订单ID|query|true|integer(int64)|| +|trackingNumber|回厂单号|query|true|string|| +|content|回厂日期|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 修复 + + +**接口地址**:`/apifmUser/fsmRepair/repair` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|订单ID|query|true|integer(int64)|| +|trackingNumber|修复产品发出单号|query|true|string|| +|content|修复产品发出日期|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 信息不全退回 + + +**接口地址**:`/apifmUser/fsmRepair/refuse` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|订单ID|query|true|integer(int64)|| +|content|备注|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 维修报价 + + +**接口地址**:`/apifmUser/fsmRepair/quotation` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|订单ID|query|true|integer(int64)|| +|content|报告内容|query|true|string|| +|pdf|pdf文件|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 维修完成 + + +**接口地址**:`/apifmUser/fsmRepair/maintenance` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|订单ID|query|true|integer(int64)|| +|content|维修完成时间|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 售后工单列表 + + +**接口地址**:`/apifmUser/fsmRepair/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| +|其他参数|售后工单|query|false|FsmRepair|FsmRepair| +|  id|主键||false|integer(int64)|| +|  userId|商户ID||false|integer(int32)|| +|  uid|报修人用户编号||false|integer(int64)|| +|  orderNumber|订单号||false|string|| +|  caseNumber|系统服务单号||false|string|| +|  type|0 产品故障报修 1 FRP||false|integer(int32)|| +|  deviceModelId|设备型号ID||false|integer(int32)|| +|  logisticsCode|溯源码||false|string|| +|  reportingUnit|报修人姓名||false|string|| +|  picProduct|铭牌照片||false|string|| +|  picInstall|现场照片,多张用逗号分隔||false|string|| +|  content|故障描述||false|string|| +|  dateAdd|报修时间||false|string(date-time)|| +|  dateUpdate|修改时间||false|string(date-time)|| +|  status|0 待处理 1 已受理 2 驳回 3 已完结||false|integer(int32)|| +|  vetRemark|审核说明||false|string|| +|  batchNumber|批次号||false|string|| +|  productSn|产品编号||false|string|| +|  productName|产品名称||false|string|| +|  customerAddress|客户地址||false|string|| +|  useTimes|使用时长||false|string|| +|  typeStr|||false|string|| +|  statusStr|||false|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 发货 + + +**接口地址**:`/apifmUser/fsmRepair/fahuo` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|订单ID|query|true|integer(int64)|| +|trackingNumber|发出单号|query|true|string|| +|content|发出日期|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 关单 + + +**接口地址**:`/apifmUser/fsmRepair/close` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|订单ID|query|true|integer(int64)|| +|content|备注|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 检测报告 + + +**接口地址**:`/apifmUser/fsmRepair/check` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|订单ID|query|true|integer(int64)|| +|content|报告内容|query|true|string|| +|pdf|pdf文件|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 建号【填写系统服务单号】 + + +**接口地址**:`/apifmUser/fsmRepair/caseNumber` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|订单ID|query|true|integer(int64)|| +|caseNumber|系统服务单号|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 售后工单详情 + + +**接口地址**:`/apifmUser/fsmRepair/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id||query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 安装订单 + + +## 安装订单审核 + + +**接口地址**:`/apifmUser/fsmInstallOrder/vet` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|订单ID|query|true|integer(int64)|| +|status|1审核通过、2审核不通过|query|true|integer(int32)|| +|vetRemark|审核备注|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 批量设置为已补贴 + + +**接口地址**:`/apifmUser/fsmInstallOrder/subsidy` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|orderNumber|订单号,多个用英文逗号分隔|query|true|array|string| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 安装数据统计 + + +**接口地址**:`/apifmUser/fsmInstallOrder/statistics` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|provinceId|省份ID|query|true|string|| +|cityId|城市ID|query|true|string|| +|deviceModelId|设备型号ID,多个型号用英文逗号分隔|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 修改型号 + + +**接口地址**:`/apifmUser/fsmInstallOrder/modifyDeviceModelId` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|订单ID|query|true|integer(int64)|| +|deviceModelId|设备型号ID|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 安装订单列表 + + +**接口地址**:`/apifmUser/fsmInstallOrder/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|mobile|手机号码|query|true|string|| +|nickLike|注册用户的昵称模糊搜索|query|true|string|| +|deviceModelLike|设备型号关键词|query|true|string|| +|dateAddBegin|报备时间起|query|true|string|| +|dateAddEnd|报备时间止|query|true|string|| +|dealerNameLike|经销商名称模糊搜索|query|true|string|| +|departmentId|用户所属部门ID|query|true|integer(int32)|| +|dateVetBegin|审核时间起|query|true|string|| +|dateVetEnd|审核时间止|query|true|string|| +|userTag|用户标签|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|logisticsCode|溯源码|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除安装订单 + + +**接口地址**:`/apifmUser/fsmInstallOrder/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|多个ID用英文逗号分隔|query|true|array|integer| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 安装订单详情 + + +**接口地址**:`/apifmUser/fsmInstallOrder/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id||query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 工作流 + + +## 工作流添加-编辑 + + +**接口地址**:`/apifmUser/flowInfo/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|其他参数|工作流|query|false|FlowInfo|FlowInfo| +|  id|主键||false|integer(int64)|| +|  userId|商户ID||false|integer(int32)|| +|  name|名称||false|string|| +|  status|0正常 1禁用||false|integer(int32)|| +|  content|工作流||false|string|| +|  dateAdd|添加时间||false|string(date-time)|| +|  dateUpdate|编辑时间||false|string(date-time)|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 工作流列表 + + +**接口地址**:`/apifmUser/flowInfo/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| +|其他参数|工作流|query|false|FlowInfo|FlowInfo| +|  id|主键||false|integer(int64)|| +|  userId|商户ID||false|integer(int32)|| +|  name|名称||false|string|| +|  status|0正常 1禁用||false|integer(int32)|| +|  content|工作流||false|string|| +|  dateAdd|添加时间||false|string(date-time)|| +|  dateUpdate|编辑时间||false|string(date-time)|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除工作流 + + +**接口地址**:`/apifmUser/flowInfo/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id||query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 工作流详情 + + +**接口地址**:`/apifmUser/flowInfo/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id||query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 云存储配置 + + +## 云存储配置 + + +**接口地址**:`/apifmUser/dfsConfig/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|参数说明|自定义文件存储配置|query|false|DfsConfig|DfsConfig| +|  id|主键||false|integer(int64)|| +|  userId|商户ID||false|integer(int32)|| +|  type|'0 七牛 1 又拍云 2 阿里云 3 腾讯云 4 华为云obs 5 天翼云||false|integer(int32)|| +|  apiDomain|接口地址||false|string|| +|  domain|访问域名||false|string|| +|  bucket|空间名||false|string|| +|  userName|用户名||false|string|| +|  password|密码||false|string|| +|  isDefault|是否默认使用该配置||false|boolean|| +|  dateAdd|添加时间||false|string(date-time)|| +|  dateUpdate|编辑时间||false|string(date-time)|| +|  endpoint|阿里云使用||false|string|| +|  isDeleteRemoteFile|是否删除云端文件||false|boolean|| +|  typeStr|||false|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 启用云存储配置 + + +**接口地址**:`/apifmUser/dfsConfig/enable` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除云存储配置 + + +**接口地址**:`/apifmUser/dfsConfig/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录编号|query|true|integer(int32)|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 云存储配置列表 + + +**接口地址**:`/apifmUser/dfsConfig/list` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|后台管理员登录的 xtoken,和Authorization 二选一|header|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 云存储配置详情 + + +**接口地址**:`/apifmUser/dfsConfig/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id||query|true|integer(int32)|| +|X-Token|后台管理员登录的 xtoken,和Authorization 二选一|header|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 购买课程 + + +## 课程场次添加-修改 + + +**接口地址**:`/apifmUser/courseSession/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|id|添加不传;修改传需要修改的记录id|query|false||| +|shopId|门店ID|query|false||| +|courseId|课程ID|query|false||| +|name|场次名称|query|false||| +|time|场次时间|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除课程场次 + + +**接口地址**:`/apifmUser/courseSession/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|场次ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 课程信息添加-编辑 + + +**接口地址**:`/apifmUser/courseInfo/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|pics|课程图片数组|query|true|array|string| +|deleteOldPics|修改课程的时候是否删除原来的课程图片,true 为删除,默认不删除|query|true|boolean|| +|dateStartStr|开始时间 格式:2021-07-01|query|true|string|| +|dateEndStr|结束时间 格式:2021-07-31|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|其他参数|课程信息|query|false|CourseInfo|CourseInfo| +|  id|主键||false|integer(int64)|| +|  userId|商户ID||false|integer(int32)|| +|  categoryId|CMS类目,预留后期使用||false|integer(int32)|| +|  type|0 线上; 1 线下||false|integer(int32)|| +|  paixu|排序||false|integer(int32)|| +|  name|名称||false|string|| +|  subName|别名||false|string|| +|  pic|图片||false|string|| +|  dayStart|开始时间||false|string(date-time)|| +|  dayEnd|结束时间||false|string(date-time)|| +|  price|价格||false|number|| +|  minutes|课程时长(分)||false|integer(int32)|| +|  numberViews|浏览量||false|integer(int32)|| +|  numberBuy|报名人数,成功才计算||false|integer(int32)|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 课程列表 + + +**接口地址**:`/apifmUser/courseInfo/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|nameLike|课程名称模糊搜索|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|其他参数|课程信息|query|false|CourseInfo|CourseInfo| +|  id|主键||false|integer(int64)|| +|  userId|商户ID||false|integer(int32)|| +|  categoryId|CMS类目,预留后期使用||false|integer(int32)|| +|  type|0 线上; 1 线下||false|integer(int32)|| +|  paixu|排序||false|integer(int32)|| +|  name|名称||false|string|| +|  subName|别名||false|string|| +|  pic|图片||false|string|| +|  dayStart|开始时间||false|string(date-time)|| +|  dayEnd|结束时间||false|string(date-time)|| +|  price|价格||false|number|| +|  minutes|课程时长(分)||false|integer(int32)|| +|  numberViews|浏览量||false|integer(int32)|| +|  numberBuy|报名人数,成功才计算||false|integer(int32)|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除课程信息 + + +**接口地址**:`/apifmUser/courseInfo/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id||query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 设置课程详细介绍 + + +**接口地址**:`/apifmUser/courseContent/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|courseId|课程ID|query|true|integer(int64)|| +|type|0 上课地点; 1 课程介绍;2 课程须知|query|true|integer(int32)|| +|content|详细内容|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 课程购买记录设置为已使用 + + +**接口地址**:`/apifmUser/courseBuyLog/use` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 课程购买记录列表 + + +**接口地址**:`/apifmUser/courseBuyLog/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| +|其他参数|课程购买记录|query|false|CourseBuyLog|CourseBuyLog| +|  id|主键||false|integer(int64)|| +|  userId|商户ID||false|integer(int32)|| +|  uid|用户ID||false|integer(int64)|| +|  courseId|课程ID||false|integer(int64)|| +|  courseName|课程名称||false|string|| +|  pic|图片||false|string|| +|  shopId|门店ID||false|integer(int32)|| +|  sessionId|场次ID||false|integer(int32)|| +|  status|-1 已关闭; 0 待支付; 1 已支付; 2 已核销(已使用);3 已过期;||false|integer(int32)|| +|  name|姓名||false|string|| +|  mobile|手机号码||false|string|| +|  number|购买数量||false|integer(int32)|| +|  orderNumber|订单号||false|string|| +|  hxNumber|核销密码||false|string|| +|  payAmount|支付金额||false|number|| +|  payBalance|余额支付金额||false|number|| +|  payOnline|在线支付金额||false|number|| +|  dateAdd|添加时间||false|string(date-time)|| +|  dateUpdate|编辑时间||false|string(date-time)|| +|  statusStr|||false|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 课程购买记录设置为已过期 + + +**接口地址**:`/apifmUser/courseBuyLog/expire` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除课程购买记录 + + +**接口地址**:`/apifmUser/courseBuyLog/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|记录ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 课程场次列表 + + +**接口地址**:`/apifmUser/courseSession/list` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|courseId|课程ID|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 课程场次详情 + + +**接口地址**:`/apifmUser/courseSession/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id||query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 课程详情 + + +**接口地址**:`/apifmUser/courseInfo/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id||query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 资源包管理 + + +## 查看购买的资源包 + + +**接口地址**:`/apifmUser/centerUserResourceBundle/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin|添加时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|添加时间起,格式 2018-05-16|query|true|string|| +|dateUpdateBegin|更新时间起,格式 2018-05-16|query|true|string|| +|dateUpdateEnd|更新时间止,格式 2018-05-16|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|isPay|是否已支付|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除资源包 + + +**接口地址**:`/apifmUser/centerUserResourceBundle/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|资源包id|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 查看资源包详情 + + +**接口地址**:`/apifmUser/centerUserResourceBundle/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|资源包id|query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 购买资源包-PC支付宝付款 + + +**接口地址**:`/apifmUser/centerUserResourceBundle/buy/pc` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**:

vod_100:100元视频包;vod_500:500元视频包,vod_1000:1000元视频包,vod_2000:2000元视频包

+ + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|key|资源包编码|query|true|string|| +|payType|alipay wx|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 购买资源包-手机支付宝付款 + + +**接口地址**:`/apifmUser/centerUserResourceBundle/buy/mobile` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**:

vod_100:100元视频包;vod_500:500元视频包,vod_1000:1000元视频包,vod_2000:2000元视频包

+ + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|key|资源包编码|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 代理商模块 + + +## 调整商户余额 + + +**接口地址**:`/apifmUser/centerUserCash/modify` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id|商户编号(商户编号和商户账号至少传一项)|query|true|integer(int32)|| +|mobile|商户账号(商户编号和商户账号至少传一项)|query|true|string|| +|money|调整金额,扣除金额使用负数|query|true|number|| +|remark|备注|query|true|string|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 商户资产列表 + + +**接口地址**:`/apifmUser/centerUserCash/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|mobile|商户账号|query|true|string|| +|realName|商户名称|query|true|string|| +|orderBy|排序规则:balanceUp 余额从小到大;balanceDown 余额从大到小;freezeUp 冻结从小到大;freezeDown 冻结从大到小;scoreUp 积分从小到大;scoreDown 积分从大到小;|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|id|商户编号|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 商户资金流水列表 + + +**接口地址**:`/apifmUser/centerUserCash/cashlogs` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin|支付时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|支付时间起,格式 2018-05-16|query|true|string|| +|mobile|商户账号|query|true|string|| +|realName|商户名称|query|true|string|| +|X-Token|管理员登录凭证|header|true||| +|userId|商户编号|query|false||| +|behavior|0 收入; 1 支出|query|false||| +|type|交易类型 0 充值 1 返佣 2 提现 3 购买插件 4 管理员调整|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 商户管理员和角色的关系表 + + +## 商户管理员和角色的关系表添加-编辑 + + +**接口地址**:`/apifmUser/centerUserAdminRoles/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|其他参数|商户管理员和角色的关系表|query|false|CenterUserAdminRoles|CenterUserAdminRoles| +|  id|主键||false|integer(int32)|| +|  userId|商户ID||false|integer(int32)|| +|  aid|管理员ID||false|integer(int32)|| +|  rid|角色ID||false|integer(int32)|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 商户管理员和角色的关系表列表 + + +**接口地址**:`/apifmUser/centerUserAdminRoles/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|X-Token|管理员登录凭证|header|true||| +|其他参数|商户管理员和角色的关系表|query|false|CenterUserAdminRoles|CenterUserAdminRoles| +|  id|主键||false|integer(int32)|| +|  userId|商户ID||false|integer(int32)|| +|  aid|管理员ID||false|integer(int32)|| +|  rid|角色ID||false|integer(int32)|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除商户管理员和角色的关系表 + + +**接口地址**:`/apifmUser/centerUserAdminRoles/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id||query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 商户管理员和角色的关系表详情 + + +**接口地址**:`/apifmUser/centerUserAdminRoles/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|id||query|true|integer(int32)|| +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 上传文件管理 + + +## 存储包使用明细 + + +**接口地址**:`/apifmUser/apiExtDfs/resourceLog` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin|添加时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|添加时间起,格式 2018-05-16|query|true|string|| +|type|0 购买存储包; 1 系统赠送; 2 图片空间抵扣;3 视频点播抵扣|query|true|integer(int32)|| +|X-Token|后台管理员登录的 xtoken,和Authorization 二选一|header|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 保护文件 + + +**接口地址**:`/apifmUser/apiExtDfs/protect` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|ids|多条记录ID,用英文逗号分隔|query|true|array|integer| +|protect|是否保护|query|true|boolean|| +|X-Token|后台管理员登录的 xtoken,和Authorization 二选一|header|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 批量修改分类 + + +**接口地址**:`/apifmUser/apiExtDfs/modifyCategory` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|ids|多条记录ID,用英文逗号分隔|query|true|array|integer| +|categoryId|分类ID|query|true|integer(int32)|| +|X-Token|后台管理员登录的 xtoken,和Authorization 二选一|header|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 上传文件列表 + + +**接口地址**:`/apifmUser/apiExtDfs/list` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|page|获取第几页数据|query|true|integer(int64)|| +|pageSize|每页获取几条数据|query|true|integer(int64)|| +|dateAddBegin|添加时间起,格式 2018-05-16|query|true|string|| +|dateAddEnd|添加时间起,格式 2018-05-16|query|true|string|| +|urlLike|文件链接|query|true|string|| +|originalNameLike|文件名|query|true|string|| +|ids|多个记录ID,用英文逗号分隔|query|true|array|integer| +|paixu|sizeAsc 容量升序; sizeDesc 容量倒序|query|true|string|| +|X-Token|后台管理员登录的 xtoken,和Authorization 二选一|header|false||| +|其他参数|上传文件记录表|query|false|DfsFiles|DfsFiles| +|  id|主键||false|integer(int64)|| +|  userId|商户ID||false|integer(int32)|| +|  configId|自定义配置记录ID||false|integer(int64)|| +|  fileType|0 图片 1 音频 2 其他||false|integer(int32)|| +|  suffix|后缀名(小写) .jpg||false|string|| +|  size|容量(字节)||false|integer(int64)|| +|  urlNoDomain|没有域名的地址||false|string|| +|  urlFull|完整地址||false|string|| +|  dateAdd|添加时间||false|string(date-time)|| +|  dateExpire|到期时间||false|string(date-time)|| +|  categoryId|图库分类id||false|integer(int32)|| +|  protect|受保护的,用户不能删除||false|boolean|| +|  originalName|原始文件名||false|string|| +|  isVet|是否已审核||false|boolean|| +|  sizeStr|||false|string|| +|  fileTypeStr|||false|string|| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除文件 + + +**接口地址**:`/apifmUser/apiExtDfs/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|ids||query|true|array|integer| +|X-Token|后台管理员登录的 xtoken,和Authorization 二选一|header|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 空间使用情况 + + +**接口地址**:`/apifmUser/apiExtDfs/statistics` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|后台管理员登录的 xtoken,和Authorization 二选一|header|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +# 支付宝小程序 + + +## 配置appid和privateKey + + +**接口地址**:`/apifmUser/aliappSet/save` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| +|appid|appid|query|true||| +|privateKey|privateKey|query|true||| +|encryptKey|信息解密AES 解密密钥|query|false||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 删除当前支付宝小程序配置 + + +**接口地址**:`/apifmUser/aliappSet/del` + + +**请求方式**:`POST` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` + + +## 获取当前appid和privateKey配置 + + +**接口地址**:`/apifmUser/aliappSet/info` + + +**请求方式**:`GET` + + +**请求数据类型**:`application/x-www-form-urlencoded` + + +**响应数据类型**:`*/*` + + +**接口描述**: + + +**请求参数**: + + +| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema | +| -------- | -------- | ----- | -------- | -------- | ------ | +|X-Token|管理员登录凭证|header|true||| + + +**响应状态**: + + +| 状态码 | 说明 | schema | +| -------- | -------- | ----- | +|200|OK|JSONResultCode| + + +**响应参数**: + + +| 参数名称 | 参数说明 | 类型 | schema | +| -------- | -------- | ----- |----- | +|code||integer(int32)|integer(int32)| +|msg||string|| +|data||object|| + + +**响应示例**: +```javascript +{ + "code": 0, + "msg": "", + "data": {} +} +``` \ No newline at end of file diff --git a/调试说明.txt b/调试说明.txt deleted file mode 100644 index 0cc4cba..0000000 --- a/调试说明.txt +++ /dev/null @@ -1,87 +0,0 @@ -登录和数据库调试日志说明 -========================== - -已为登录功能和数据库初始化添加详细的调试日志输出,帮助诊断问题。 - -⚠️ 重要提示:如果遇到"SQLite error (1): no such table: local_session"错误 -请删除旧数据库后重新运行程序: -1. 关闭程序 -2. 删除文件:%LOCALAPPDATA%\PackagingMallShipper\data.db -3. 重新运行程序,数据库会自动重建 - -如何查看调试日志: ------------------- - -方法一:使用 Visual Studio -1. 在 Visual Studio 中打开项目 -2. 按 F5 或点击"调试">"开始调试"启动程序 -3. 尝试登录 -4. 查看 Visual Studio 底部的"输出"窗口 -5. 在输出窗口的下拉菜单中选择"调试" -6. 将看到类似以下的详细日志: - -[登录请求] URL: https://user.api.it120.cc/login/userName/v2?userName=...&pwd=***&pdomain=let5see... -[登录请求] 用户名: 刘海春 -[登录请求] 验证码: 1234 -[登录请求] 验证码Key: abc123... -[登录请求] 子域名: let5see -[登录响应] HTTP状态码: OK -[登录响应] JSON原始内容: {"code":...,"msg":"..."} -[登录响应] 解析结果 - Code: xxx, Msg: xxx -[登录失败] 错误码: xxx, 错误信息: no user - -方法二:使用 DebugView (无需 Visual Studio) -1. 下载 DebugView 工具:https://learn.microsoft.com/en-us/sysinternals/downloads/debugview -2. 以管理员身份运行 DebugView -3. 确保勾选 "Capture Win32" 和 "Capture Global Win32" -4. 运行编译好的 PackagingMallShipper.exe -5. 尝试登录 -6. 在 DebugView 窗口中查看实时调试输出 - -日志内容说明: --------------- - -1. [登录请求] - 显示发送给API的请求信息 - - URL:完整的API请求地址(密码已隐藏) - - 用户名:输入的用户名 - - 验证码:输入的验证码值 - - 验证码Key:用于验证码验证的唯一标识 - - 子域名:当前配置的子域名 - -2. [登录响应] - 显示API返回的响应信息 - - HTTP状态码:HTTP层面的状态(如 200 OK) - - JSON原始内容:API返回的完整JSON响应 - - 解析结果:从JSON中提取的code和msg字段 - -3. [登录失败] - 如果登录失败,显示详细的错误信息 - - 错误码:API返回的错误代码 - - 错误信息:API返回的错误消息(如 "no user") - -4. [登录成功] - 如果登录成功,显示token和用户ID - -5. [登录异常] - 如果发生网络异常等错误,显示异常详情 - -排查步骤: ----------- - -1. 确认验证码是否正确输入 - - 错误码 300 = "图片验证码错误" - -2. 确认用户名编码是否正确 - - 查看日志中的URL,确认中文用户名是否被正确编码 - -3. 确认子域名配置是否正确 - - 应该为 "let5see" - -4. 查看API返回的完整错误信息 - - 可能会有更详细的错误描述 - -5. 验证HTTP状态码 - - 应该为 200 OK - - 如果是 404,说明接口地址错误 - -常见错误码: ------------ -- 300: 图片验证码错误 -- 700: 需要验证码 -- 其他错误码请参考API返回的msg字段