Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
merchant-manage-ui
Commits
50fedcff
Commit
50fedcff
authored
Jan 05, 2024
by
guang.wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉quantgroups相关信息
parent
02604066
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
4127 additions
and
4127 deletions
+4127
-4127
package-lock.json
package-lock.json
+4044
-4044
services.js
src/pages/AfterSaleManage/services.js
+1
-1
services.js
src/pages/BrandManage/services.js
+5
-5
service.js
src/pages/EmployeeManagement/service.js
+12
-12
service.js
src/pages/GoodsManage/service.js
+7
-7
service.js
src/pages/ServiceGoods/service.js
+5
-5
service.js
src/pages/StoreManagement/service.js
+9
-9
service.js
src/pages/businessCustomer/service.js
+5
-5
index.js
src/pages/businessGoods/service/index.js
+18
-18
service.js
src/pages/orderManage/pendingDeliveryOrder/service.js
+3
-3
service.js
src/pages/systemManage/service.js
+13
-13
login.js
src/services/login.js
+2
-2
messageReminder.js
src/services/messageReminder.js
+3
-3
No files found.
package-lock.json
View file @
50fedcff
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/pages/AfterSaleManage/services.js
View file @
50fedcff
...
@@ -100,7 +100,7 @@ export async function getOpLog(params) {
...
@@ -100,7 +100,7 @@ export async function getOpLog(params) {
/**
/**
* 多物流发货-查询物流轨迹
* 多物流发货-查询物流轨迹
* @see
http://yapi.quantgroups.com
/project/389/interface/api/46120
* @see
/yapi
/project/389/interface/api/46120
*/
*/
export
function
apiDeliveriesTraceList
(
data
)
{
export
function
apiDeliveriesTraceList
(
data
)
{
...
...
src/pages/BrandManage/services.js
View file @
50fedcff
...
@@ -6,7 +6,7 @@ const { kdspApi } = config;
...
@@ -6,7 +6,7 @@ const { kdspApi } = config;
/**
/**
* 分页查询所有品牌列表
* 分页查询所有品牌列表
*
http://yapi.quantgroups.com
/project/389/interface/api/66404
*
/yapi
/project/389/interface/api/66404
*/
*/
export
async
function
apiBrandList
(
params
)
{
export
async
function
apiBrandList
(
params
)
{
const
param
=
{
const
param
=
{
...
@@ -30,7 +30,7 @@ export async function apiBrandList(params) {
...
@@ -30,7 +30,7 @@ export async function apiBrandList(params) {
/**
/**
* 添加品牌
* 添加品牌
*
http://yapi.quantgroups.com
/project/389/interface/api/66389
*
/yapi
/project/389/interface/api/66389
* */
* */
export
async
function
apiCreateBrand
(
data
)
{
export
async
function
apiCreateBrand
(
data
)
{
return
request
.
post
(
'
/api/merchants/brands/add
'
,
{
return
request
.
post
(
'
/api/merchants/brands/add
'
,
{
...
@@ -41,7 +41,7 @@ export async function apiCreateBrand(data) {
...
@@ -41,7 +41,7 @@ export async function apiCreateBrand(data) {
/**
/**
* 编辑品牌
* 编辑品牌
*
http://yapi.quantgroups.com
/project/389/interface/api/66394
*
/yapi
/project/389/interface/api/66394
*/
*/
export
async
function
apiEditBrand
(
data
)
{
export
async
function
apiEditBrand
(
data
)
{
return
request
.
post
(
'
/api/merchants/brands/edit
'
,
{
return
request
.
post
(
'
/api/merchants/brands/edit
'
,
{
...
@@ -52,7 +52,7 @@ export async function apiEditBrand(data) {
...
@@ -52,7 +52,7 @@ export async function apiEditBrand(data) {
/**
/**
* 补充资质
* 补充资质
*
http://yapi.quantgroups.com
/project/389/interface/api/66399
*
/yapi
/project/389/interface/api/66399
*/
*/
export
async
function
apiAppendQualifyBrand
(
data
)
{
export
async
function
apiAppendQualifyBrand
(
data
)
{
return
request
.
post
(
'
/api/merchants/brands/qualify/add
'
,
{
return
request
.
post
(
'
/api/merchants/brands/qualify/add
'
,
{
...
@@ -63,7 +63,7 @@ export async function apiAppendQualifyBrand(data) {
...
@@ -63,7 +63,7 @@ export async function apiAppendQualifyBrand(data) {
/**
/**
* 查询品牌信息
* 查询品牌信息
*
http://yapi.quantgroups.com
/project/389/interface/api/66409
*
/yapi
/project/389/interface/api/66409
* */
* */
export
async
function
apiBrandDetail
(
params
)
{
export
async
function
apiBrandDetail
(
params
)
{
return
request
.
get
(
`/api/merchants/brands/detail?
${
qs
.
stringify
(
params
)}
`
,
{
return
request
.
get
(
`/api/merchants/brands/detail?
${
qs
.
stringify
(
params
)}
`
,
{
...
...
src/pages/EmployeeManagement/service.js
View file @
50fedcff
...
@@ -6,7 +6,7 @@ import _ from 'lodash';
...
@@ -6,7 +6,7 @@ import _ from 'lodash';
const
{
goodsApi
,
apiPrefix
,
roleApi
}
=
config
;
const
{
goodsApi
,
apiPrefix
,
roleApi
}
=
config
;
// [企业员工]-列表查询
// [企业员工]-列表查询
//
http://yapi.quantgroups.com
/project/389/interface/api/65359
//
/yapi
/project/389/interface/api/65359
export
const
apiStaffList
=
async
params
=>
{
export
const
apiStaffList
=
async
params
=>
{
params
.
page
=
params
.
current
;
params
.
page
=
params
.
current
;
params
.
size
=
params
.
pageSize
;
params
.
size
=
params
.
pageSize
;
...
@@ -20,7 +20,7 @@ export const apiStaffList = async params => {
...
@@ -20,7 +20,7 @@ export const apiStaffList = async params => {
};
};
// [企业客户]-列表查询
// [企业客户]-列表查询
//
http://yapi.quantgroups.com
/project/389/interface/api/65324
//
/yapi
/project/389/interface/api/65324
export
const
apiEnterpriseList
=
async
()
=>
{
export
const
apiEnterpriseList
=
async
()
=>
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/pageList`
,
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/pageList`
,
{
prefix
:
roleApi
,
prefix
:
roleApi
,
...
@@ -33,7 +33,7 @@ export const apiEnterpriseList = async () => {
...
@@ -33,7 +33,7 @@ export const apiEnterpriseList = async () => {
};
};
// [企业部门]-列表查询
// [企业部门]-列表查询
//
http://yapi.quantgroups.com
/project/389/interface/api/65344
//
/yapi
/project/389/interface/api/65344
export
const
apiDepartmentList
=
async
params
=>
{
export
const
apiDepartmentList
=
async
params
=>
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/department/pageList`
,
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/department/pageList`
,
{
prefix
:
roleApi
,
prefix
:
roleApi
,
...
@@ -43,7 +43,7 @@ export const apiDepartmentList = async params => {
...
@@ -43,7 +43,7 @@ export const apiDepartmentList = async params => {
};
};
// [企业员工]-添加员工
// [企业员工]-添加员工
//
http://yapi.quantgroups.com
/project/389/interface/api/65364
//
/yapi
/project/389/interface/api/65364
export
const
apiStaffSave
=
async
params
=>
{
export
const
apiStaffSave
=
async
params
=>
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/staff/save`
,
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/staff/save`
,
{
prefix
:
roleApi
,
prefix
:
roleApi
,
...
@@ -53,7 +53,7 @@ export const apiStaffSave = async params => {
...
@@ -53,7 +53,7 @@ export const apiStaffSave = async params => {
};
};
// [企业员工]-导入员工
// [企业员工]-导入员工
//
http://yapi.quantgroups.com
/project/389/interface/api/65384
//
/yapi
/project/389/interface/api/65384
export
const
apiStaffExcel
=
async
file
=>
{
export
const
apiStaffExcel
=
async
file
=>
{
console
.
log
(
file
);
console
.
log
(
file
);
const
params
=
new
FormData
();
const
params
=
new
FormData
();
...
@@ -67,7 +67,7 @@ export const apiStaffExcel = async file => {
...
@@ -67,7 +67,7 @@ export const apiStaffExcel = async file => {
};
};
// [企业部门]-新增企业部门
// [企业部门]-新增企业部门
//
http://yapi.quantgroups.com
/project/389/interface/api/65349
//
/yapi
/project/389/interface/api/65349
export
const
apiDepartmentSave
=
async
params
=>
{
export
const
apiDepartmentSave
=
async
params
=>
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/department/save`
,
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/department/save`
,
{
prefix
:
roleApi
,
prefix
:
roleApi
,
...
@@ -77,7 +77,7 @@ export const apiDepartmentSave = async params => {
...
@@ -77,7 +77,7 @@ export const apiDepartmentSave = async params => {
};
};
// [企业部门]-导入企业部门
// [企业部门]-导入企业部门
//
http://yapi.quantgroups.com
/project/389/interface/api/65354
//
/yapi
/project/389/interface/api/65354
export
const
apiDepartmentExcel
=
async
file
=>
{
export
const
apiDepartmentExcel
=
async
file
=>
{
const
params
=
new
FormData
();
const
params
=
new
FormData
();
params
.
append
(
'
file
'
,
file
.
file
.
file
);
params
.
append
(
'
file
'
,
file
.
file
.
file
);
...
@@ -90,7 +90,7 @@ export const apiDepartmentExcel = async file => {
...
@@ -90,7 +90,7 @@ export const apiDepartmentExcel = async file => {
};
};
// [企业员工]-删除员工
// [企业员工]-删除员工
//
http://yapi.quantgroups.com
/project/389/interface/api/65374
//
/yapi
/project/389/interface/api/65374
export
const
apiStaffDelete
=
async
params
=>
{
export
const
apiStaffDelete
=
async
params
=>
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/staff/delete`
,
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/staff/delete`
,
{
prefix
:
roleApi
,
prefix
:
roleApi
,
...
@@ -100,7 +100,7 @@ export const apiStaffDelete = async params => {
...
@@ -100,7 +100,7 @@ export const apiStaffDelete = async params => {
};
};
// [企业部门]-更新部门
// [企业部门]-更新部门
//
http://yapi.quantgroups.com
/project/389/interface/api/65474
//
/yapi
/project/389/interface/api/65474
export
const
apiDepartmentUpdate
=
async
params
=>
{
export
const
apiDepartmentUpdate
=
async
params
=>
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/department/update`
,
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/department/update`
,
{
prefix
:
roleApi
,
prefix
:
roleApi
,
...
@@ -110,7 +110,7 @@ export const apiDepartmentUpdate = async params => {
...
@@ -110,7 +110,7 @@ export const apiDepartmentUpdate = async params => {
};
};
// [企业员工]-充值明细查询
// [企业员工]-充值明细查询
//
http://yapi.quantgroups.com
/project/389/interface/api/65489
//
/yapi
/project/389/interface/api/65489
export
const
apiGenerateLogList
=
async
params
=>
{
export
const
apiGenerateLogList
=
async
params
=>
{
const
data
=
await
request
.
get
(
`
${
apiPrefix
}
/enterprise/staff/generateLog/list`
,
{
const
data
=
await
request
.
get
(
`
${
apiPrefix
}
/enterprise/staff/generateLog/list`
,
{
prefix
:
roleApi
,
prefix
:
roleApi
,
...
@@ -120,7 +120,7 @@ export const apiGenerateLogList = async params => {
...
@@ -120,7 +120,7 @@ export const apiGenerateLogList = async params => {
};
};
// [企业员工]-员工限额
// [企业员工]-员工限额
//
http://yapi.quantgroups.com
/project/389/interface/api/65379
//
/yapi
/project/389/interface/api/65379
export
const
apiStaffLimit
=
async
params
=>
{
export
const
apiStaffLimit
=
async
params
=>
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/staff/limit`
,
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/staff/limit`
,
{
prefix
:
roleApi
,
prefix
:
roleApi
,
...
@@ -130,7 +130,7 @@ export const apiStaffLimit = async params => {
...
@@ -130,7 +130,7 @@ export const apiStaffLimit = async params => {
};
};
// [企业员工]-拉黑员工
// [企业员工]-拉黑员工
//
http://yapi.quantgroups.com
/project/389/interface/api/65369
//
/yapi
/project/389/interface/api/65369
export
const
apiStaffBlack
=
async
params
=>
{
export
const
apiStaffBlack
=
async
params
=>
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/staff/black`
,
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/staff/black`
,
{
prefix
:
roleApi
,
prefix
:
roleApi
,
...
...
src/pages/GoodsManage/service.js
View file @
50fedcff
...
@@ -13,7 +13,7 @@ const headers = {
...
@@ -13,7 +13,7 @@ const headers = {
/**
/**
* 商品列表
* 商品列表
* yapi:
http://yapi.quantgroups.com
/project/389/interface/api/23814
* yapi:
/yapi
/project/389/interface/api/23814
*/
*/
export
async
function
searchList
(
params
)
{
export
async
function
searchList
(
params
)
{
return
request
.
post
(
'
/product/api/merchant/page
'
,
{
return
request
.
post
(
'
/product/api/merchant/page
'
,
{
...
@@ -316,7 +316,7 @@ export async function apiTakeawayGoods(params) {
...
@@ -316,7 +316,7 @@ export async function apiTakeawayGoods(params) {
// }
// }
/**
/**
* 外卖商品排序
* 外卖商品排序
* yapi:
http://yapi.quantgroups.com
/project/389/interface/api/58174
* yapi:
/yapi
/project/389/interface/api/58174
*/
*/
export
async
function
apiSortTakeawayGoods
(
data
)
{
export
async
function
apiSortTakeawayGoods
(
data
)
{
return
request
.
post
(
'
/api/merchants/products/sku/range/sort
'
,
{
return
request
.
post
(
'
/api/merchants/products/sku/range/sort
'
,
{
...
@@ -392,7 +392,7 @@ export async function apiProductStock(data) {
...
@@ -392,7 +392,7 @@ export async function apiProductStock(data) {
/**
/**
* 获取竞价详情
* 获取竞价详情
* yApi:
http://yapi.quantgroups.com
/project/389/interface/api/67169
* yApi:
/yapi
/project/389/interface/api/67169
* * */
* * */
export
async
function
apiProductBiddingInfo
(
params
)
{
export
async
function
apiProductBiddingInfo
(
params
)
{
return
request
.
get
(
'
/api/merchants/products/bidding/detail
'
,
{
return
request
.
get
(
'
/api/merchants/products/bidding/detail
'
,
{
...
@@ -403,7 +403,7 @@ export async function apiProductBiddingInfo(params) {
...
@@ -403,7 +403,7 @@ export async function apiProductBiddingInfo(params) {
/**
/**
* 供应商更新商品供货价库存
* 供应商更新商品供货价库存
* yApi:
http://yapi.quantgroups.com
/project/389/interface/api/67139
* yApi:
/yapi
/project/389/interface/api/67139
* * */
* * */
export
async
function
apiProductBiddingUpdate
(
params
)
{
export
async
function
apiProductBiddingUpdate
(
params
)
{
return
request
.
post
(
'
/api/merchants/products/bidding/edit
'
,
{
return
request
.
post
(
'
/api/merchants/products/bidding/edit
'
,
{
...
@@ -414,7 +414,7 @@ export async function apiProductBiddingUpdate(params) {
...
@@ -414,7 +414,7 @@ export async function apiProductBiddingUpdate(params) {
/**
/**
* 可竞价sku列表
* 可竞价sku列表
* yApi:
http://yapi.quantgroups.com
/project/389/interface/api/67164
* yApi:
/yapi
/project/389/interface/api/67164
* * */
* * */
export
async
function
apiBiddingList
(
params
)
{
export
async
function
apiBiddingList
(
params
)
{
return
request
.
post
(
'
/api/merchants/products/bidding/page
'
,
{
return
request
.
post
(
'
/api/merchants/products/bidding/page
'
,
{
...
@@ -426,7 +426,7 @@ export async function apiBiddingList(params) {
...
@@ -426,7 +426,7 @@ export async function apiBiddingList(params) {
/**
/**
* 导入竞价商品信息
* 导入竞价商品信息
* yApi:
http://yapi.quantgroups.com
/project/389/interface/api/45896
* yApi:
/yapi
/project/389/interface/api/45896
* * */
* * */
export
async
function
apiUploadGoodsFile
(
file
)
{
export
async
function
apiUploadGoodsFile
(
file
)
{
const
params
=
new
FormData
();
const
params
=
new
FormData
();
...
@@ -440,7 +440,7 @@ export async function apiUploadGoodsFile(file) {
...
@@ -440,7 +440,7 @@ export async function apiUploadGoodsFile(file) {
}
}
/**
/**
* 下载竞价商品模版
* 下载竞价商品模版
* yApi:
http://yapi.quantgroups.com
/project/389/interface/api/67269
* yApi:
/yapi
/project/389/interface/api/67269
* * */
* * */
export
async
function
apiDownBiddingTemplate
(
params
)
{
export
async
function
apiDownBiddingTemplate
(
params
)
{
const
productCategoryId
=
params
?.
productCategoryId
||
[];
const
productCategoryId
=
params
?.
productCategoryId
||
[];
...
...
src/pages/ServiceGoods/service.js
View file @
50fedcff
...
@@ -133,7 +133,7 @@ export const apiEditDraft = data =>
...
@@ -133,7 +133,7 @@ export const apiEditDraft = data =>
data
,
data
,
});
});
// 菜单分组
http://yapi.quantgroups.com
/project/389/interface/api/64044
// 菜单分组
/yapi
/project/389/interface/api/64044
export
const
apiQueryShopList
=
data
=>
export
const
apiQueryShopList
=
data
=>
request
.
post
(
'
/api/merchants/products/storageRack/listByShopIdAndStorageRackIds
'
,
{
request
.
post
(
'
/api/merchants/products/storageRack/listByShopIdAndStorageRackIds
'
,
{
prefix
:
goodsApi
,
prefix
:
goodsApi
,
...
@@ -148,26 +148,26 @@ export const apiCreateShop = data =>
...
@@ -148,26 +148,26 @@ export const apiCreateShop = data =>
prefix
:
goodsApi
,
prefix
:
goodsApi
,
data
,
data
,
});
});
// 商品标签列表
http://yapi.quantgroups.com
/project/389/interface/api/57979
// 商品标签列表
/yapi
/project/389/interface/api/57979
export
const
apiTagList
=
data
=>
export
const
apiTagList
=
data
=>
request
.
post
(
'
/api/merchants/products/tag/getAll
'
,
{
request
.
post
(
'
/api/merchants/products/tag/getAll
'
,
{
prefix
:
goodsApi
,
prefix
:
goodsApi
,
data
,
data
,
});
});
// 单位列表
http://yapi.quantgroups.com
/project/389/interface/api/57179
// 单位列表
/yapi
/project/389/interface/api/57179
export
const
apiUnits
=
data
=>
export
const
apiUnits
=
data
=>
request
.
get
(
'
/api/merchants/products/units
'
,
{
request
.
get
(
'
/api/merchants/products/units
'
,
{
prefix
:
goodsApi
,
prefix
:
goodsApi
,
data
,
data
,
});
});
// 获取shopids
http://yapi.quantgroups.com
/project/389/interface/api/38056
// 获取shopids
/yapi
/project/389/interface/api/38056
export
const
apiShopIds
=
data
=>
export
const
apiShopIds
=
data
=>
request
.
get
(
'
/api/merchants/shops/getBySupplierId?state=1&productBusiness=1
'
,
{
request
.
get
(
'
/api/merchants/shops/getBySupplierId?state=1&productBusiness=1
'
,
{
prefix
:
goodsApi
,
prefix
:
goodsApi
,
data
,
data
,
});
});
// 获取店铺详情
http://yapi.quantgroups.com
/project/389/interface/api/57589
// 获取店铺详情
/yapi
/project/389/interface/api/57589
export
const
apiGetShopDetail
=
data
=>
export
const
apiGetShopDetail
=
data
=>
request
.
post
(
'
/product/api/merchant/detail
'
,
{
request
.
post
(
'
/product/api/merchant/detail
'
,
{
prefix
:
goodsApi
,
prefix
:
goodsApi
,
...
...
src/pages/StoreManagement/service.js
View file @
50fedcff
...
@@ -7,7 +7,7 @@ import { de } from 'date-fns/locale';
...
@@ -7,7 +7,7 @@ import { de } from 'date-fns/locale';
const
{
goodsApi
,
apiPrefix
,
roleApi
}
=
config
;
const
{
goodsApi
,
apiPrefix
,
roleApi
}
=
config
;
console
.
log
(
apiPrefix
,
'
apiPrefix
'
);
console
.
log
(
apiPrefix
,
'
apiPrefix
'
);
// [企业店铺]-列表查询
// [企业店铺]-列表查询
//
http://yapi.quantgroups.com
/project/389/interface/api/65284
//
/yapi
/project/389/interface/api/65284
export
const
setShopList
=
async
params
=>
{
export
const
setShopList
=
async
params
=>
{
params
.
page
=
params
.
current
;
params
.
page
=
params
.
current
;
params
.
size
=
params
.
pageSize
;
params
.
size
=
params
.
pageSize
;
...
@@ -21,7 +21,7 @@ export const setShopList = async params => {
...
@@ -21,7 +21,7 @@ export const setShopList = async params => {
};
};
// [企业店铺]-删除企业下面的店铺
// [企业店铺]-删除企业下面的店铺
//
http://yapi.quantgroups.com
/project/389/interface/api/65319
//
/yapi
/project/389/interface/api/65319
export
const
setShopDelete
=
async
params
=>
{
export
const
setShopDelete
=
async
params
=>
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/shop/delete`
,
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/shop/delete`
,
{
prefix
:
roleApi
,
prefix
:
roleApi
,
...
@@ -31,7 +31,7 @@ export const setShopDelete = async params => {
...
@@ -31,7 +31,7 @@ export const setShopDelete = async params => {
};
};
// [企业店铺]-查询餐品类型
// [企业店铺]-查询餐品类型
//
http://yapi.quantgroups.com
/project/389/interface/api/65314
//
/yapi
/project/389/interface/api/65314
export
const
mealTypeList
=
async
params
=>
{
export
const
mealTypeList
=
async
params
=>
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/shop/mealType/list`
,
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/shop/mealType/list`
,
{
prefix
:
roleApi
,
prefix
:
roleApi
,
...
@@ -41,7 +41,7 @@ export const mealTypeList = async params => {
...
@@ -41,7 +41,7 @@ export const mealTypeList = async params => {
};
};
// [企业店铺]-添加企业店铺
// [企业店铺]-添加企业店铺
//
http://yapi.quantgroups.com
/project/389/interface/api/65304
//
/yapi
/project/389/interface/api/65304
export
const
shopAdd
=
async
params
=>
{
export
const
shopAdd
=
async
params
=>
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/shop/add`
,
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/shop/add`
,
{
prefix
:
roleApi
,
prefix
:
roleApi
,
...
@@ -51,7 +51,7 @@ export const shopAdd = async params => {
...
@@ -51,7 +51,7 @@ export const shopAdd = async params => {
};
};
// 企业店铺]-修改餐品类型
// 企业店铺]-修改餐品类型
//
http://yapi.quantgroups.com
/project/389/interface/api/65309
//
/yapi
/project/389/interface/api/65309
export
const
apiShopUpdate
=
async
params
=>
{
export
const
apiShopUpdate
=
async
params
=>
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/shop/update`
,
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/shop/update`
,
{
prefix
:
roleApi
,
prefix
:
roleApi
,
...
@@ -61,7 +61,7 @@ export const apiShopUpdate = async params => {
...
@@ -61,7 +61,7 @@ export const apiShopUpdate = async params => {
};
};
// [企业客户]-列表查询
// [企业客户]-列表查询
//
http://yapi.quantgroups.com
/project/389/interface/api/65324
//
/yapi
/project/389/interface/api/65324
export
const
apiEnterpriseList
=
async
()
=>
{
export
const
apiEnterpriseList
=
async
()
=>
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/pageList`
,
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/pageList`
,
{
prefix
:
roleApi
,
prefix
:
roleApi
,
...
@@ -73,7 +73,7 @@ export const apiEnterpriseList = async () => {
...
@@ -73,7 +73,7 @@ export const apiEnterpriseList = async () => {
return
data
;
return
data
;
};
};
// [企业店铺]-可选择店铺列表
// [企业店铺]-可选择店铺列表
//
http://yapi.quantgroups.com
/project/389/interface/api/65524
//
/yapi
/project/389/interface/api/65524
export
const
apiSelectList
=
async
params
=>
{
export
const
apiSelectList
=
async
params
=>
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/shop/select/list`
,
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/shop/select/list`
,
{
prefix
:
roleApi
,
prefix
:
roleApi
,
...
@@ -83,7 +83,7 @@ export const apiSelectList = async params => {
...
@@ -83,7 +83,7 @@ export const apiSelectList = async params => {
};
};
// [企业店铺]-添加企业店铺校验是否是到店类型
// [企业店铺]-添加企业店铺校验是否是到店类型
//
http://yapi.quantgroups.com
/project/389/interface/api/65304
//
/yapi
/project/389/interface/api/65304
export
const
businessTypeCheck
=
async
params
=>
{
export
const
businessTypeCheck
=
async
params
=>
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/shop/busineesType/check`
,
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/shop/busineesType/check`
,
{
prefix
:
roleApi
,
prefix
:
roleApi
,
...
@@ -93,7 +93,7 @@ export const businessTypeCheck = async params => {
...
@@ -93,7 +93,7 @@ export const businessTypeCheck = async params => {
};
};
// [企业店铺]-添加企业店铺
// [企业店铺]-添加企业店铺
//
http://yapi.quantgroups.com
/project/389/interface/api/65304
//
/yapi
/project/389/interface/api/65304
export
const
apiShopAdd
=
async
params
=>
{
export
const
apiShopAdd
=
async
params
=>
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/shop/add`
,
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/shop/add`
,
{
prefix
:
roleApi
,
prefix
:
roleApi
,
...
...
src/pages/businessCustomer/service.js
View file @
50fedcff
...
@@ -7,7 +7,7 @@ const { roleApi, apiPrefix } = config;
...
@@ -7,7 +7,7 @@ const { roleApi, apiPrefix } = config;
/**
/**
* 获取企业客户列表
* 获取企业客户列表
*
http://yapi.quantgroups.com
/project/389/interface/api/65324
*
/yapi
/project/389/interface/api/65324
*/
*/
export
async
function
apiEnterpriseList
(
data
)
{
export
async
function
apiEnterpriseList
(
data
)
{
return
request
.
post
(
`
${
apiPrefix
}
/enterprise/pageList`
,
{
return
request
.
post
(
`
${
apiPrefix
}
/enterprise/pageList`
,
{
...
@@ -17,7 +17,7 @@ export async function apiEnterpriseList(data) {
...
@@ -17,7 +17,7 @@ export async function apiEnterpriseList(data) {
}
}
/**
/**
* 获取企业客户详细
* 获取企业客户详细
*
http://yapi.quantgroups.com
/project/389/interface/api/65339
*
/yapi
/project/389/interface/api/65339
*/
*/
export
async
function
apiEnterpriseInfo
(
id
)
{
export
async
function
apiEnterpriseInfo
(
id
)
{
return
request
.
get
(
`
${
apiPrefix
}
/enterprise/info?id=
${
id
}
`
,
{
return
request
.
get
(
`
${
apiPrefix
}
/enterprise/info?id=
${
id
}
`
,
{
...
@@ -26,7 +26,7 @@ export async function apiEnterpriseInfo(id) {
...
@@ -26,7 +26,7 @@ export async function apiEnterpriseInfo(id) {
}
}
/**
/**
* 添加企业客户
* 添加企业客户
*
http://yapi.quantgroups.com
/project/389/interface/api/65329
*
/yapi
/project/389/interface/api/65329
*/
*/
export
async
function
apiNewEnterprise
(
data
)
{
export
async
function
apiNewEnterprise
(
data
)
{
return
request
.
post
(
`
${
apiPrefix
}
/enterprise/save`
,
{
return
request
.
post
(
`
${
apiPrefix
}
/enterprise/save`
,
{
...
@@ -36,7 +36,7 @@ export async function apiNewEnterprise(data) {
...
@@ -36,7 +36,7 @@ export async function apiNewEnterprise(data) {
}
}
/**
/**
* 编辑企业客户
* 编辑企业客户
*
http://yapi.quantgroups.com
/project/389/interface/api/65334
*
/yapi
/project/389/interface/api/65334
*/
*/
export
async
function
apiEditEnterprise
(
data
)
{
export
async
function
apiEditEnterprise
(
data
)
{
return
request
.
post
(
`
${
apiPrefix
}
/enterprise/update`
,
{
return
request
.
post
(
`
${
apiPrefix
}
/enterprise/update`
,
{
...
@@ -47,7 +47,7 @@ export async function apiEditEnterprise(data) {
...
@@ -47,7 +47,7 @@ export async function apiEditEnterprise(data) {
/**
/**
* 查询自提点列表
* 查询自提点列表
*
http://yapi.quantgroups.com
/project/389/interface/api/65494
*
/yapi
/project/389/interface/api/65494
*/
*/
export
async
function
apiEnterprisePickSelf
()
{
export
async
function
apiEnterprisePickSelf
()
{
return
request
.
get
(
`
${
apiPrefix
}
/selfPickUpLocation/list`
,
{
return
request
.
get
(
`
${
apiPrefix
}
/selfPickUpLocation/list`
,
{
...
...
src/pages/businessGoods/service/index.js
View file @
50fedcff
...
@@ -4,7 +4,7 @@ import config from '@/../config/env.config';
...
@@ -4,7 +4,7 @@ import config from '@/../config/env.config';
const
{
roleApi
,
apiPrefix
}
=
config
;
const
{
roleApi
,
apiPrefix
}
=
config
;
/**
/**
* 获取企业外卖商品列表
* 获取企业外卖商品列表
*
http://yapi.quantgroups.com
/project/389/interface/api/64794
*
/yapi
/project/389/interface/api/64794
*/
*/
export
async
function
apiTakeawayList
(
param
)
{
export
async
function
apiTakeawayList
(
param
)
{
const
res
=
await
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/main/pageList`
,
{
const
res
=
await
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/main/pageList`
,
{
...
@@ -15,7 +15,7 @@ export async function apiTakeawayList(param) {
...
@@ -15,7 +15,7 @@ export async function apiTakeawayList(param) {
}
}
/**
/**
* 获取企业虚拟商品列表
* 获取企业虚拟商品列表
*
http://yapi.quantgroups.com
/project/389/interface/api/64794
*
/yapi
/project/389/interface/api/64794
*/
*/
export
async
function
apiVirtualList
(
param
)
{
export
async
function
apiVirtualList
(
param
)
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/virtual/pageList`
,
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/virtual/pageList`
,
{
...
@@ -25,7 +25,7 @@ export async function apiVirtualList(param) {
...
@@ -25,7 +25,7 @@ export async function apiVirtualList(param) {
}
}
/**
/**
* 企业客户列表
* 企业客户列表
*
http://yapi.quantgroups.com
/project/389/interface/api/65324
*
/yapi
/project/389/interface/api/65324
*/
*/
export
async
function
apiEnterpriseList
(
param
)
{
export
async
function
apiEnterpriseList
(
param
)
{
return
request
.
post
(
`
${
apiPrefix
}
/enterprise/pageList`
,
{
return
request
.
post
(
`
${
apiPrefix
}
/enterprise/pageList`
,
{
...
@@ -35,7 +35,7 @@ export async function apiEnterpriseList(param) {
...
@@ -35,7 +35,7 @@ export async function apiEnterpriseList(param) {
}
}
/**
/**
* 模糊查询店铺列表
* 模糊查询店铺列表
*
http://yapi.quantgroups.com
/project/389/interface/api/65289
*
/yapi
/project/389/interface/api/65289
*/
*/
export
async
function
apiShopList
(
param
)
{
export
async
function
apiShopList
(
param
)
{
return
request
.
post
(
`
${
apiPrefix
}
/shops/getListByName`
,
{
return
request
.
post
(
`
${
apiPrefix
}
/shops/getListByName`
,
{
...
@@ -45,7 +45,7 @@ export async function apiShopList(param) {
...
@@ -45,7 +45,7 @@ export async function apiShopList(param) {
}
}
/**
/**
* 企业团餐-查询餐段配置
* 企业团餐-查询餐段配置
*
http://yapi.quantgroups.com
/project/389/interface/api/65444
*
/yapi
/project/389/interface/api/65444
*/
*/
export
async
function
apiMealTimePeriod
(
param
)
{
export
async
function
apiMealTimePeriod
(
param
)
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/getMealTimePeriod`
,
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/getMealTimePeriod`
,
{
...
@@ -55,7 +55,7 @@ export async function apiMealTimePeriod(param) {
...
@@ -55,7 +55,7 @@ export async function apiMealTimePeriod(param) {
}
}
/**
/**
* 企业团餐->信息修改
* 企业团餐->信息修改
*
http://yapi.quantgroups.com
/project/389/interface/api/65099
*
/yapi
/project/389/interface/api/65099
*/
*/
export
async
function
apiMealInfoUpdate
(
param
)
{
export
async
function
apiMealInfoUpdate
(
param
)
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/main/update`
,
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/main/update`
,
{
...
@@ -65,7 +65,7 @@ export async function apiMealInfoUpdate(param) {
...
@@ -65,7 +65,7 @@ export async function apiMealInfoUpdate(param) {
}
}
/**
/**
* 企业团餐->删除外卖商品
* 企业团餐->删除外卖商品
*
http://yapi.quantgroups.com
/project/389/interface/api/65109
*
/yapi
/project/389/interface/api/65109
*/
*/
export
async
function
apiTakeawayGoodsDel
(
param
)
{
export
async
function
apiTakeawayGoodsDel
(
param
)
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/main/deleteById`
,
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/main/deleteById`
,
{
...
@@ -75,7 +75,7 @@ export async function apiTakeawayGoodsDel(param) {
...
@@ -75,7 +75,7 @@ export async function apiTakeawayGoodsDel(param) {
}
}
/**
/**
* 企业团餐->删除虚拟商品
* 企业团餐->删除虚拟商品
*
http://yapi.quantgroups.com
/project/389/interface/api/65109
*
/yapi
/project/389/interface/api/65109
*/
*/
export
async
function
apiVirtualGoodsDel
(
param
)
{
export
async
function
apiVirtualGoodsDel
(
param
)
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/virtual/deleteById`
,
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/virtual/deleteById`
,
{
...
@@ -85,7 +85,7 @@ export async function apiVirtualGoodsDel(param) {
...
@@ -85,7 +85,7 @@ export async function apiVirtualGoodsDel(param) {
}
}
/**
/**
* 企业团餐->查询自提点列表
* 企业团餐->查询自提点列表
*
http://yapi.quantgroups.com
/project/389/interface/api/65494
*
/yapi
/project/389/interface/api/65494
*/
*/
export
async
function
apiPickSelfList
()
{
export
async
function
apiPickSelfList
()
{
return
request
.
get
(
`
${
apiPrefix
}
/selfPickUpLocation/list`
,
{
return
request
.
get
(
`
${
apiPrefix
}
/selfPickUpLocation/list`
,
{
...
@@ -94,7 +94,7 @@ export async function apiPickSelfList() {
...
@@ -94,7 +94,7 @@ export async function apiPickSelfList() {
}
}
/**
/**
* 企业团餐->根据企业ID查询已选择自提点
* 企业团餐->根据企业ID查询已选择自提点
*
http://yapi.quantgroups.com
/project/389/interface/api/65449
*
/yapi
/project/389/interface/api/65449
*/
*/
export
async
function
apiSelPickSelfList
(
param
)
{
export
async
function
apiSelPickSelfList
(
param
)
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/queryByEnterpriseId`
,
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/queryByEnterpriseId`
,
{
...
@@ -104,7 +104,7 @@ export async function apiSelPickSelfList(param) {
...
@@ -104,7 +104,7 @@ export async function apiSelPickSelfList(param) {
}
}
/**
/**
* 企业团餐->查询外卖商品 - 选择商品弹窗
* 企业团餐->查询外卖商品 - 选择商品弹窗
*
http://yapi.quantgroups.com
/project/389/interface/api/65479
*
/yapi
/project/389/interface/api/65479
*/
*/
export
async
function
apiSelGoodsList
(
param
)
{
export
async
function
apiSelGoodsList
(
param
)
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/sku/page`
,
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/sku/page`
,
{
...
@@ -114,7 +114,7 @@ export async function apiSelGoodsList(param) {
...
@@ -114,7 +114,7 @@ export async function apiSelGoodsList(param) {
}
}
/**
/**
* 企业团餐->查询商品 - 选择虚拟商品弹窗
* 企业团餐->查询商品 - 选择虚拟商品弹窗
*
http://yapi.quantgroups.com
/project/389/interface/api/65479
*
/yapi
/project/389/interface/api/65479
*/
*/
export
async
function
apiSelVirtualGoodsList
(
param
)
{
export
async
function
apiSelVirtualGoodsList
(
param
)
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/virtual/sku/page`
,
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/virtual/sku/page`
,
{
...
@@ -124,7 +124,7 @@ export async function apiSelVirtualGoodsList(param) {
...
@@ -124,7 +124,7 @@ export async function apiSelVirtualGoodsList(param) {
}
}
/**
/**
* 企业团餐->添加外卖商品保存
* 企业团餐->添加外卖商品保存
*
http://yapi.quantgroups.com
/project/389/interface/api/65094
*
/yapi
/project/389/interface/api/65094
*/
*/
export
async
function
apiSaveGoodsList
(
param
)
{
export
async
function
apiSaveGoodsList
(
param
)
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/add`
,
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/add`
,
{
...
@@ -134,7 +134,7 @@ export async function apiSaveGoodsList(param) {
...
@@ -134,7 +134,7 @@ export async function apiSaveGoodsList(param) {
}
}
/**
/**
* 企业团餐->添加虚拟商品保存
* 企业团餐->添加虚拟商品保存
*
http://yapi.quantgroups.com
/project/389/interface/api/65484
*
/yapi
/project/389/interface/api/65484
*/
*/
export
async
function
apiSaveVirtualGoodsList
(
param
)
{
export
async
function
apiSaveVirtualGoodsList
(
param
)
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/virtual/add`
,
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/virtual/add`
,
{
...
@@ -144,7 +144,7 @@ export async function apiSaveVirtualGoodsList(param) {
...
@@ -144,7 +144,7 @@ export async function apiSaveVirtualGoodsList(param) {
}
}
/**
/**
* 企业团餐->虚拟品->根据企业ID查询店铺列表
* 企业团餐->虚拟品->根据企业ID查询店铺列表
*
http://yapi.quantgroups.com
/project/389/interface/api/65504
*
/yapi
/project/389/interface/api/65504
*/
*/
export
async
function
apiShopListByEnterpriseID
(
param
)
{
export
async
function
apiShopListByEnterpriseID
(
param
)
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/virtual/shops`
,
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/virtual/shops`
,
{
...
@@ -154,7 +154,7 @@ export async function apiShopListByEnterpriseID(param) {
...
@@ -154,7 +154,7 @@ export async function apiShopListByEnterpriseID(param) {
}
}
/**
/**
* 企业团餐->根据企业ID+自提点列表查询店铺列表
* 企业团餐->根据企业ID+自提点列表查询店铺列表
*
http://yapi.quantgroups.com
/project/389/interface/api/65539
*
/yapi
/project/389/interface/api/65539
*/
*/
export
async
function
apiShopListByPickSelfID
(
param
)
{
export
async
function
apiShopListByPickSelfID
(
param
)
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/queryByEnterpriseIdAndPickSelfId`
,
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/queryByEnterpriseIdAndPickSelfId`
,
{
...
@@ -164,7 +164,7 @@ export async function apiShopListByPickSelfID(param) {
...
@@ -164,7 +164,7 @@ export async function apiShopListByPickSelfID(param) {
}
}
/**
/**
* 企业团餐->根据企业ID 获取企业客户详细
* 企业团餐->根据企业ID 获取企业客户详细
*
http://yapi.quantgroups.com
/project/389/interface/api/65339
*
/yapi
/project/389/interface/api/65339
*/
*/
export
async
function
apiEnterpriseInfo
(
id
)
{
export
async
function
apiEnterpriseInfo
(
id
)
{
return
request
.
get
(
`
${
apiPrefix
}
/enterprise/info?id=
${
id
}
`
,
{
return
request
.
get
(
`
${
apiPrefix
}
/enterprise/info?id=
${
id
}
`
,
{
...
@@ -173,7 +173,7 @@ export async function apiEnterpriseInfo(id) {
...
@@ -173,7 +173,7 @@ export async function apiEnterpriseInfo(id) {
}
}
/**
/**
* 企业团餐->虚拟商品 校验是否可修改餐段和可售日期
* 企业团餐->虚拟商品 校验是否可修改餐段和可售日期
*
http://yapi.quantgroups.com
/project/389/interface/api/65674
*
/yapi
/project/389/interface/api/65674
*/
*/
export
async
function
apiCheckInfo
(
data
)
{
export
async
function
apiCheckInfo
(
data
)
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/virtual/addParamCheck`
,
{
return
request
.
post
(
`
${
apiPrefix
}
/product/enterprise/virtual/addParamCheck`
,
{
...
...
src/pages/orderManage/pendingDeliveryOrder/service.js
View file @
50fedcff
...
@@ -125,7 +125,7 @@ export function apiDelayDeliverGoods(data) {
...
@@ -125,7 +125,7 @@ export function apiDelayDeliverGoods(data) {
* 多物流发货-查询多物流订单信息
* 多物流发货-查询多物流订单信息
* @param {*} params
* @param {*} params
* @returns
* @returns
* @see
http://yapi.quantgroups.com
/project/389/interface/api/45840
* @see
/yapi
/project/389/interface/api/45840
*/
*/
export
function
apiQueryOrderInfo
(
params
)
{
export
function
apiQueryOrderInfo
(
params
)
{
return
request
.
get
(
'
/api/merchants/orders/deliveries/packages/detail
'
,
{
return
request
.
get
(
'
/api/merchants/orders/deliveries/packages/detail
'
,
{
...
@@ -137,7 +137,7 @@ export function apiQueryOrderInfo(params) {
...
@@ -137,7 +137,7 @@ export function apiQueryOrderInfo(params) {
* 多物流发货-新建发货/更新发货信息
* 多物流发货-新建发货/更新发货信息
* @param {*} data
* @param {*} data
* @returns
* @returns
* @see
http://yapi.quantgroups.com
/project/389/interface/api/45816
* @see
/yapi
/project/389/interface/api/45816
*/
*/
export
function
apiDeliveriesAdd
(
data
)
{
export
function
apiDeliveriesAdd
(
data
)
{
return
request
.
post
(
'
/api/merchants/orders/deliveries/add
'
,
{
return
request
.
post
(
'
/api/merchants/orders/deliveries/add
'
,
{
...
@@ -155,7 +155,7 @@ export function apiDeliveriesEdit(data) {
...
@@ -155,7 +155,7 @@ export function apiDeliveriesEdit(data) {
/**
/**
* 多物流发货-查询物流轨迹
* 多物流发货-查询物流轨迹
* @see
http://yapi.quantgroups.com
/project/389/interface/api/46120
* @see
/yapi
/project/389/interface/api/46120
*/
*/
export
function
apiDeliveriesTraceList
(
data
)
{
export
function
apiDeliveriesTraceList
(
data
)
{
...
...
src/pages/systemManage/service.js
View file @
50fedcff
...
@@ -8,7 +8,7 @@ const SIZE = 20;
...
@@ -8,7 +8,7 @@ const SIZE = 20;
/**
/**
* @name 子账号列表
* @name 子账号列表
* @param {Object} params
* @param {Object} params
* @see
http://yapi.quantgroups.com
/project/509/interface/api/42832
* @see
/yapi
/project/509/interface/api/42832
*/
*/
export
function
getUserList
({
page
=
PAGE
,
size
=
SIZE
})
{
export
function
getUserList
({
page
=
PAGE
,
size
=
SIZE
})
{
return
request
.
post
(
`/v2/user/list/
${
page
}
/
${
size
}
`
,
{
return
request
.
post
(
`/v2/user/list/
${
page
}
/
${
size
}
`
,
{
...
@@ -20,7 +20,7 @@ export function getUserList({ page = PAGE, size = SIZE }) {
...
@@ -20,7 +20,7 @@ export function getUserList({ page = PAGE, size = SIZE }) {
* @name 子账号详情
* @name 子账号详情
* @param {Object} params
* @param {Object} params
* @param {number} params.id 子账号id
* @param {number} params.id 子账号id
* @see
http://yapi.quantgroups.com
/project/509/interface/api/42856
* @see
/yapi
/project/509/interface/api/42856
*/
*/
export
function
getUserDetail
({
id
})
{
export
function
getUserDetail
({
id
})
{
return
request
.
get
(
`/v2/user/info/
${
id
}
`
);
return
request
.
get
(
`/v2/user/info/
${
id
}
`
);
...
@@ -28,7 +28,7 @@ export function getUserDetail({ id }) {
...
@@ -28,7 +28,7 @@ export function getUserDetail({ id }) {
/**
/**
* @name 新增/修改子账号
* @name 新增/修改子账号
* @see
http://yapi.quantgroups.com
/project/509/interface/api/42896
* @see
/yapi
/project/509/interface/api/42896
*/
*/
export
function
addUser
(
params
)
{
export
function
addUser
(
params
)
{
return
request
.
post
(
'
/v2/user/addnew
'
,
{
return
request
.
post
(
'
/v2/user/addnew
'
,
{
...
@@ -38,7 +38,7 @@ export function addUser(params) {
...
@@ -38,7 +38,7 @@ export function addUser(params) {
/**
/**
* @name 修改子账号
* @name 修改子账号
* @see
http://yapi.quantgroups.com
/project/509/interface/api/43344
* @see
/yapi
/project/509/interface/api/43344
*/
*/
export
function
updateUser
(
params
)
{
export
function
updateUser
(
params
)
{
return
request
.
post
(
'
/v2/user/update
'
,
{
return
request
.
post
(
'
/v2/user/update
'
,
{
...
@@ -50,7 +50,7 @@ export function updateUser(params) {
...
@@ -50,7 +50,7 @@ export function updateUser(params) {
* @name 用户禁用
* @name 用户禁用
* @param {Object} params
* @param {Object} params
* @param {number} params.id
* @param {number} params.id
* @see
http://yapi.quantgroups.com
/project/509/interface/api/42864
* @see
/yapi
/project/509/interface/api/42864
*/
*/
export
function
userDisabled
({
id
})
{
export
function
userDisabled
({
id
})
{
return
request
.
post
(
`/v2/user/disabled/
${
id
}
`
);
return
request
.
post
(
`/v2/user/disabled/
${
id
}
`
);
...
@@ -60,7 +60,7 @@ export function userDisabled({ id }) {
...
@@ -60,7 +60,7 @@ export function userDisabled({ id }) {
* @name 用户启用
* @name 用户启用
* @param {Object} params
* @param {Object} params
* @param {number} params.id
* @param {number} params.id
* @see
http://yapi.quantgroups.com
/project/509/interface/api/42880
* @see
/yapi
/project/509/interface/api/42880
*/
*/
export
function
userEnabled
({
id
})
{
export
function
userEnabled
({
id
})
{
return
request
.
post
(
`/v2/user/enabled/
${
id
}
`
);
return
request
.
post
(
`/v2/user/enabled/
${
id
}
`
);
...
@@ -70,7 +70,7 @@ export function userEnabled({ id }) {
...
@@ -70,7 +70,7 @@ export function userEnabled({ id }) {
* @name 删除用户
* @name 删除用户
* @param {Object} params
* @param {Object} params
* @param {number} params.id
* @param {number} params.id
* @see
http://yapi.quantgroups.com
/project/509/interface/api/43120
* @see
/yapi
/project/509/interface/api/43120
*/
*/
export
function
userDelete
({
id
})
{
export
function
userDelete
({
id
})
{
return
request
.
post
(
`/v2/user/delete/
${
id
}
`
);
return
request
.
post
(
`/v2/user/delete/
${
id
}
`
);
...
@@ -80,7 +80,7 @@ export function userDelete({ id }) {
...
@@ -80,7 +80,7 @@ export function userDelete({ id }) {
* @name 重置/修改密码
* @name 重置/修改密码
* @param {Object} params
* @param {Object} params
* @param {string} params.password 确认密码
* @param {string} params.password 确认密码
* @see
http://yapi.quantgroups.com
/project/509/interface/api/43128
* @see
/yapi
/project/509/interface/api/43128
*/
*/
export
function
resetPassword
(
params
)
{
export
function
resetPassword
(
params
)
{
return
request
.
post
(
'
/v2/user/password/resetpassword
'
,
{
return
request
.
post
(
'
/v2/user/password/resetpassword
'
,
{
...
@@ -91,7 +91,7 @@ export function resetPassword(params) {
...
@@ -91,7 +91,7 @@ export function resetPassword(params) {
/**
/**
* @name 角色列表-分页
* @name 角色列表-分页
* @param {Object} params
* @param {Object} params
* @see
http://yapi.quantgroups.com
/project/509/interface/api/41816
* @see
/yapi
/project/509/interface/api/41816
*/
*/
export
function
getRoleList
({
page
,
size
})
{
export
function
getRoleList
({
page
,
size
})
{
return
request
.
post
(
`/v2/role/list/
${
page
}
/
${
size
}
?appCode=
${
APP_CODE
}
`
,
{
return
request
.
post
(
`/v2/role/list/
${
page
}
/
${
size
}
?appCode=
${
APP_CODE
}
`
,
{
...
@@ -103,7 +103,7 @@ export function getRoleList({ page, size }) {
...
@@ -103,7 +103,7 @@ export function getRoleList({ page, size }) {
* @name 角色详情
* @name 角色详情
* @param {Object} params
* @param {Object} params
* @param {number} params.id 角色id
* @param {number} params.id 角色id
* @see
http://yapi.quantgroups.com
/project/509/interface/api/41848
* @see
/yapi
/project/509/interface/api/41848
*
*
*/
*/
export
async
function
getRoleDetail
({
id
})
{
export
async
function
getRoleDetail
({
id
})
{
...
@@ -113,7 +113,7 @@ export async function getRoleDetail({ id }) {
...
@@ -113,7 +113,7 @@ export async function getRoleDetail({ id }) {
/**
/**
* @name 新增角色
* @name 新增角色
* @param {Object} params
* @param {Object} params
* @see
http://yapi.quantgroups.com
/project/509/interface/api/42920
* @see
/yapi
/project/509/interface/api/42920
*/
*/
export
async
function
addResource
(
params
)
{
export
async
function
addResource
(
params
)
{
return
request
.
post
(
'
/v2/role/addResource
'
,
{
return
request
.
post
(
'
/v2/role/addResource
'
,
{
...
@@ -124,7 +124,7 @@ export async function addResource(params) {
...
@@ -124,7 +124,7 @@ export async function addResource(params) {
/**
/**
* @name 修改角色
* @name 修改角色
* @param {Object} params
* @param {Object} params
* @see
http://yapi.quantgroups.com
/project/509/interface/api/42928
* @see
/yapi
/project/509/interface/api/42928
*/
*/
export
async
function
modifyRole
(
params
)
{
export
async
function
modifyRole
(
params
)
{
return
request
.
post
(
'
/v2/role/updateResource
'
,
params
);
return
request
.
post
(
'
/v2/role/updateResource
'
,
params
);
...
@@ -134,7 +134,7 @@ export async function modifyRole(params) {
...
@@ -134,7 +134,7 @@ export async function modifyRole(params) {
* @name 删除角色
* @name 删除角色
* @param {Object} params
* @param {Object} params
* @param {number} params.id 角色id
* @param {number} params.id 角色id
* @see
http://yapi.quantgroups.com
/project/509/interface/api/41832
* @see
/yapi
/project/509/interface/api/41832
*/
*/
export
async
function
deleteRole
({
id
})
{
export
async
function
deleteRole
({
id
})
{
return
request
.
post
(
`/v2/role/delete/
${
id
}
`
);
return
request
.
post
(
`/v2/role/delete/
${
id
}
`
);
...
...
src/services/login.js
View file @
50fedcff
...
@@ -3,7 +3,7 @@ import request from '@/utils/request';
...
@@ -3,7 +3,7 @@ import request from '@/utils/request';
/**
/**
* 手机号验证码登录
* 手机号验证码登录
*
http://yapi.quantgroups.com
/project/509/interface/api/41776
*
/yapi
/project/509/interface/api/41776
*/
*/
export
async
function
fakeAccountLogin
(
params
)
{
export
async
function
fakeAccountLogin
(
params
)
{
return
request
(
'
/v2/oauth/login
'
,
{
return
request
(
'
/v2/oauth/login
'
,
{
...
@@ -17,7 +17,7 @@ export async function getFakeCaptcha(mobile) {
...
@@ -17,7 +17,7 @@ export async function getFakeCaptcha(mobile) {
}
}
/**
/**
* 获取短信验证码
* 获取短信验证码
*
http://yapi.quantgroups.com
/project/509/interface/api/65044
*
/yapi
/project/509/interface/api/65044
*/
*/
export
function
apiSMSCaptcha
(
params
)
{
export
function
apiSMSCaptcha
(
params
)
{
return
request
(
'
/v2/sms/send
'
,
{
return
request
(
'
/v2/sms/send
'
,
{
...
...
src/services/messageReminder.js
View file @
50fedcff
...
@@ -8,7 +8,7 @@ export const getSocketUrl = ({ token, channelId }) =>
...
@@ -8,7 +8,7 @@ export const getSocketUrl = ({ token, channelId }) =>
/**
/**
* @name 商户消息列表
* @name 商户消息列表
* @see
http://yapi.quantgroups.com
/project/193/interface/api/41792
* @see
/yapi
/project/193/interface/api/41792
*/
*/
export
function
apiGetBussinessMsgList
(
data
,
params
)
{
export
function
apiGetBussinessMsgList
(
data
,
params
)
{
return
request
.
post
(
'
/v1/send/message/getBussinessMsgList
'
,
{
return
request
.
post
(
'
/v1/send/message/getBussinessMsgList
'
,
{
...
@@ -20,7 +20,7 @@ export function apiGetBussinessMsgList(data, params) {
...
@@ -20,7 +20,7 @@ export function apiGetBussinessMsgList(data, params) {
/**
/**
* @name 获取未读消息数量
* @name 获取未读消息数量
* @see
http://yapi.quantgroups.com
/project/193/interface/api/42792
* @see
/yapi
/project/193/interface/api/42792
*/
*/
export
function
apiGetBusinessMsgUnReadCount
(
data
)
{
export
function
apiGetBusinessMsgUnReadCount
(
data
)
{
return
request
.
post
(
'
/v1/send/message/getBusinessMsgUnReadCount
'
,
{
return
request
.
post
(
'
/v1/send/message/getBusinessMsgUnReadCount
'
,
{
...
@@ -31,7 +31,7 @@ export function apiGetBusinessMsgUnReadCount(data) {
...
@@ -31,7 +31,7 @@ export function apiGetBusinessMsgUnReadCount(data) {
/**
/**
* @name 设置消息为已读
* @name 设置消息为已读
* @see
http://yapi.quantgroups.com
/project/193/interface/api/41808
* @see
/yapi
/project/193/interface/api/41808
*/
*/
export
function
apiUpdageBusinessMsgStatus
(
data
)
{
export
function
apiUpdageBusinessMsgStatus
(
data
)
{
return
request
.
post
(
'
/v1/send/message/updateBussinessMsgReadStatus
'
,
{
return
request
.
post
(
'
/v1/send/message/updateBussinessMsgReadStatus
'
,
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment