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
6cc6cdaf
Commit
6cc6cdaf
authored
Jun 13, 2023
by
张子雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 新增模板链接
parent
1aa8412c
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
59 additions
and
58 deletions
+59
-58
env.config.js
config/env.config.js
+0
-3
departmentModal.jsx
src/pages/EmployeeManagement/components/departmentModal.jsx
+34
-26
newEmployeeModal.jsx
src/pages/EmployeeManagement/components/newEmployeeModal.jsx
+1
-5
service.js
src/pages/EmployeeManagement/service.js
+13
-13
service.js
src/pages/StoreManagement/service.js
+11
-11
No files found.
config/env.config.js
View file @
6cc6cdaf
...
@@ -23,7 +23,6 @@ const envAPi = {
...
@@ -23,7 +23,6 @@ const envAPi = {
opapiHost
:
`https://gw.yxmie.com`
,
opapiHost
:
`https://gw.yxmie.com`
,
wsApi
:
`wss://push-
${
environment
}
.liangkebang.net`
,
wsApi
:
`wss://push-
${
environment
}
.liangkebang.net`
,
msgApi
:
`https://msgapi-
${
environment
}
.liangkebang.net`
,
msgApi
:
`https://msgapi-
${
environment
}
.liangkebang.net`
,
keystoneApi
:
`https://sc-op-api-
${
environment
}
.liangkebang.net`
,
roleApi
:
isPlatForm
roleApi
:
isPlatForm
?
`https://sc-op-api-
${
environment
}
.liangkebang.net`
?
`https://sc-op-api-
${
environment
}
.liangkebang.net`
:
`https://sc-merchant-api-
${
environment
}
.liangkebang.net`
,
:
`https://sc-merchant-api-
${
environment
}
.liangkebang.net`
,
...
@@ -45,7 +44,6 @@ const prodApi = {
...
@@ -45,7 +44,6 @@ const prodApi = {
querysApi
:
'
https://sc-merchant-api.q-gp.com/admin/merchant/sc-settlement
'
,
querysApi
:
'
https://sc-merchant-api.q-gp.com/admin/merchant/sc-settlement
'
,
wsApi
:
'
wss://push.q-gp.com
'
,
wsApi
:
'
wss://push.q-gp.com
'
,
msgApi
:
'
https://msgapi.q-gp.com
'
,
msgApi
:
'
https://msgapi.q-gp.com
'
,
keystoneApi
:
'
//sc-op-api.q-gp.com
'
,
roleApi
:
isPlatForm
?
'
https://sc-op-api.q-gp.com
'
:
'
https://sc-merchant-api-pre.q-gp.com
'
,
roleApi
:
isPlatForm
?
'
https://sc-op-api.q-gp.com
'
:
'
https://sc-merchant-api-pre.q-gp.com
'
,
apiPrefix
,
apiPrefix
,
};
};
...
@@ -61,7 +59,6 @@ const preProdApi = {
...
@@ -61,7 +59,6 @@ const preProdApi = {
querysApi
:
'
https://sc-settlement-api.q-gp.com
'
,
querysApi
:
'
https://sc-settlement-api.q-gp.com
'
,
wsApi
:
'
wss://push.q-gp.com
'
,
wsApi
:
'
wss://push.q-gp.com
'
,
msgApi
:
'
https://msgapi.q-gp.com
'
,
msgApi
:
'
https://msgapi.q-gp.com
'
,
keystoneApi
:
'
//sc-op-api-pre.q-gp.com
'
,
roleApi
:
isPlatForm
?
'
https://sc-op-api-pre.q-gp.com
'
:
'
https://sc-merchant-api-pre.q-gp.com
'
,
roleApi
:
isPlatForm
?
'
https://sc-op-api-pre.q-gp.com
'
:
'
https://sc-merchant-api-pre.q-gp.com
'
,
apiPrefix
,
apiPrefix
,
};
};
...
...
src/pages/EmployeeManagement/components/departmentModal.jsx
View file @
6cc6cdaf
...
@@ -2,6 +2,7 @@ import React, { useState } from 'react';
...
@@ -2,6 +2,7 @@ import React, { useState } from 'react';
import
{
Modal
,
Form
,
Radio
,
Input
,
Button
,
Upload
,
message
,
Select
}
from
'
antd
'
;
import
{
Modal
,
Form
,
Radio
,
Input
,
Button
,
Upload
,
message
,
Select
}
from
'
antd
'
;
import
{
UploadOutlined
}
from
'
@ant-design/icons
'
;
import
{
UploadOutlined
}
from
'
@ant-design/icons
'
;
import
{
apiDepartmentSave
,
apiDepartmentExcel
}
from
'
../service
'
;
import
{
apiDepartmentSave
,
apiDepartmentExcel
}
from
'
../service
'
;
import
styles
from
'
../index.less
'
;
const
{
Dragger
}
=
Upload
;
const
{
Dragger
}
=
Upload
;
const
{
Item
}
=
Form
;
const
{
Item
}
=
Form
;
...
@@ -110,6 +111,7 @@ const DepartmentModal = ({ visible, onClose, enterpriseList }) => {
...
@@ -110,6 +111,7 @@ const DepartmentModal = ({ visible, onClose, enterpriseList }) => {
</
Item
>
</
Item
>
{
importMode
?
(
{
importMode
?
(
<>
<
Item
<
Item
label=
"上传文件"
label=
"上传文件"
name=
"file"
name=
"file"
...
@@ -137,6 +139,12 @@ const DepartmentModal = ({ visible, onClose, enterpriseList }) => {
...
@@ -137,6 +139,12 @@ const DepartmentModal = ({ visible, onClose, enterpriseList }) => {
</
p
>
</
p
>
</
Dragger
>
</
Dragger
>
</
Item
>
</
Item
>
<
div
className=
{
styles
.
employees
}
>
<
a
href=
"https://kdspstatic.q-gp.com/%E6%96%B0%E5%A2%9E%E5%91%98%E5%B7%A5.xlsx"
>
部门导入模版.xlsx
</
a
>
</
div
>
</>
)
:
(
)
:
(
<
Item
<
Item
label=
"部门名称"
label=
"部门名称"
...
...
src/pages/EmployeeManagement/components/newEmployeeModal.jsx
View file @
6cc6cdaf
...
@@ -142,11 +142,7 @@ const NewEmployeeModal = props => {
...
@@ -142,11 +142,7 @@ const NewEmployeeModal = props => {
</
Dragger
>
</
Dragger
>
</
Form
.
Item
>
</
Form
.
Item
>
<
div
className=
{
styles
.
employees
}
>
<
div
className=
{
styles
.
employees
}
>
<
a
<
a
href=
"https://kdspstatic.q-gp.com/%E6%96%B0%E5%A2%9E%E5%91%98%E5%B7%A5.xlsx"
>
data
-
v
-7
e627236=
""
href=
"https://img.mumcooking.com//personnel/excel.xlsx?v1"
className=
"batchDialog-row-download-a"
>
员工导入模版.xlsx
员工导入模版.xlsx
</
a
>
</
a
>
</
div
>
</
div
>
...
...
src/pages/EmployeeManagement/service.js
View file @
6cc6cdaf
...
@@ -3,13 +3,13 @@ import config from '../../../config/env.config';
...
@@ -3,13 +3,13 @@ import config from '../../../config/env.config';
import
{
stringify
}
from
'
qs
'
;
import
{
stringify
}
from
'
qs
'
;
import
_
from
'
lodash
'
;
import
_
from
'
lodash
'
;
const
{
goodsApi
,
apiPrefix
,
keyston
eApi
}
=
config
;
const
{
goodsApi
,
apiPrefix
,
rol
eApi
}
=
config
;
// [企业员工]-列表查询
// [企业员工]-列表查询
// http://yapi.quantgroups.com/project/389/interface/api/65359
// http://yapi.quantgroups.com/project/389/interface/api/65359
export
const
apiStaffList
=
async
params
=>
{
export
const
apiStaffList
=
async
params
=>
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/staff/pageList`
,
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/staff/pageList`
,
{
prefix
:
keyston
eApi
,
prefix
:
rol
eApi
,
data
:
params
,
data
:
params
,
});
});
return
data
;
return
data
;
...
@@ -19,7 +19,7 @@ export const apiStaffList = async params => {
...
@@ -19,7 +19,7 @@ export const apiStaffList = async params => {
// http://yapi.quantgroups.com/project/389/interface/api/65324
// http://yapi.quantgroups.com/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
:
keyston
eApi
,
prefix
:
rol
eApi
,
data
:
{
data
:
{
page
:
1
,
page
:
1
,
size
:
10000
,
size
:
10000
,
...
@@ -32,7 +32,7 @@ export const apiEnterpriseList = async () => {
...
@@ -32,7 +32,7 @@ export const apiEnterpriseList = async () => {
// http://yapi.quantgroups.com/project/389/interface/api/65344
// http://yapi.quantgroups.com/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
:
keyston
eApi
,
prefix
:
rol
eApi
,
data
:
params
,
data
:
params
,
});
});
return
data
;
return
data
;
...
@@ -42,7 +42,7 @@ export const apiDepartmentList = async params => {
...
@@ -42,7 +42,7 @@ export const apiDepartmentList = async params => {
// http://yapi.quantgroups.com/project/389/interface/api/65364
// http://yapi.quantgroups.com/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
:
keyston
eApi
,
prefix
:
rol
eApi
,
data
:
params
,
data
:
params
,
});
});
return
data
;
return
data
;
...
@@ -56,7 +56,7 @@ export const apiStaffExcel = async file => {
...
@@ -56,7 +56,7 @@ export const apiStaffExcel = async file => {
params
.
append
(
'
file
'
,
file
.
file
.
file
);
params
.
append
(
'
file
'
,
file
.
file
.
file
);
params
.
append
(
'
enterpriseId
'
,
file
.
enterpriseId
);
params
.
append
(
'
enterpriseId
'
,
file
.
enterpriseId
);
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/staff/excel`
,
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/staff/excel`
,
{
prefix
:
keyston
eApi
,
prefix
:
rol
eApi
,
data
:
params
,
data
:
params
,
});
});
return
data
;
return
data
;
...
@@ -66,7 +66,7 @@ export const apiStaffExcel = async file => {
...
@@ -66,7 +66,7 @@ export const apiStaffExcel = async file => {
// http://yapi.quantgroups.com/project/389/interface/api/65349
// http://yapi.quantgroups.com/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
:
keyston
eApi
,
prefix
:
rol
eApi
,
data
:
params
,
data
:
params
,
});
});
return
data
;
return
data
;
...
@@ -79,7 +79,7 @@ export const apiDepartmentExcel = async file => {
...
@@ -79,7 +79,7 @@ export const apiDepartmentExcel = async file => {
params
.
append
(
'
file
'
,
file
.
file
.
file
);
params
.
append
(
'
file
'
,
file
.
file
.
file
);
params
.
append
(
'
enterpriseId
'
,
file
.
enterpriseId
);
params
.
append
(
'
enterpriseId
'
,
file
.
enterpriseId
);
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/department/excel`
,
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/department/excel`
,
{
prefix
:
keyston
eApi
,
prefix
:
rol
eApi
,
data
:
params
,
data
:
params
,
});
});
return
data
;
return
data
;
...
@@ -89,7 +89,7 @@ export const apiDepartmentExcel = async file => {
...
@@ -89,7 +89,7 @@ export const apiDepartmentExcel = async file => {
// http://yapi.quantgroups.com/project/389/interface/api/65374
// http://yapi.quantgroups.com/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
:
keyston
eApi
,
prefix
:
rol
eApi
,
data
:
params
,
data
:
params
,
});
});
return
data
;
return
data
;
...
@@ -99,7 +99,7 @@ export const apiStaffDelete = async params => {
...
@@ -99,7 +99,7 @@ export const apiStaffDelete = async params => {
// http://yapi.quantgroups.com/project/389/interface/api/65474
// http://yapi.quantgroups.com/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
:
keyston
eApi
,
prefix
:
rol
eApi
,
data
:
params
,
data
:
params
,
});
});
return
data
;
return
data
;
...
@@ -109,7 +109,7 @@ export const apiDepartmentUpdate = async params => {
...
@@ -109,7 +109,7 @@ export const apiDepartmentUpdate = async params => {
// http://yapi.quantgroups.com/project/389/interface/api/65489
// http://yapi.quantgroups.com/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
:
keyston
eApi
,
prefix
:
rol
eApi
,
params
,
params
,
});
});
return
data
;
return
data
;
...
@@ -119,7 +119,7 @@ export const apiGenerateLogList = async params => {
...
@@ -119,7 +119,7 @@ export const apiGenerateLogList = async params => {
// http://yapi.quantgroups.com/project/389/interface/api/65379
// http://yapi.quantgroups.com/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
:
keyston
eApi
,
prefix
:
rol
eApi
,
data
:
params
,
data
:
params
,
});
});
return
data
;
return
data
;
...
@@ -129,7 +129,7 @@ export const apiStaffLimit = async params => {
...
@@ -129,7 +129,7 @@ export const apiStaffLimit = async params => {
// http://yapi.quantgroups.com/project/389/interface/api/65369
// http://yapi.quantgroups.com/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
:
keyston
eApi
,
prefix
:
rol
eApi
,
data
:
params
,
data
:
params
,
});
});
return
data
;
return
data
;
...
...
src/pages/StoreManagement/service.js
View file @
6cc6cdaf
...
@@ -3,13 +3,13 @@ import config from '../../../config/env.config';
...
@@ -3,13 +3,13 @@ import config from '../../../config/env.config';
import
{
stringify
}
from
'
qs
'
;
import
{
stringify
}
from
'
qs
'
;
import
_
from
'
lodash
'
;
import
_
from
'
lodash
'
;
const
{
goodsApi
,
apiPrefix
,
keyston
eApi
}
=
config
;
const
{
goodsApi
,
apiPrefix
,
rol
eApi
}
=
config
;
console
.
log
(
apiPrefix
,
'
apiPrefix
'
);
console
.
log
(
apiPrefix
,
'
apiPrefix
'
);
// [企业店铺]-列表查询
// [企业店铺]-列表查询
// http://yapi.quantgroups.com/project/389/interface/api/65284
// http://yapi.quantgroups.com/project/389/interface/api/65284
export
const
setShopList
=
async
params
=>
{
export
const
setShopList
=
async
params
=>
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/shop/list`
,
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/shop/list`
,
{
prefix
:
keyston
eApi
,
prefix
:
rol
eApi
,
data
:
params
,
data
:
params
,
});
});
return
data
;
return
data
;
...
@@ -19,7 +19,7 @@ export const setShopList = async params => {
...
@@ -19,7 +19,7 @@ export const setShopList = async params => {
// http://yapi.quantgroups.com/project/389/interface/api/65319
// http://yapi.quantgroups.com/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
:
keyston
eApi
,
prefix
:
rol
eApi
,
data
:
params
,
data
:
params
,
});
});
return
data
;
return
data
;
...
@@ -29,7 +29,7 @@ export const setShopDelete = async params => {
...
@@ -29,7 +29,7 @@ export const setShopDelete = async params => {
// http://yapi.quantgroups.com/project/389/interface/api/65314
// http://yapi.quantgroups.com/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
:
keyston
eApi
,
prefix
:
rol
eApi
,
data
:
params
,
data
:
params
,
});
});
return
data
;
return
data
;
...
@@ -39,7 +39,7 @@ export const mealTypeList = async params => {
...
@@ -39,7 +39,7 @@ export const mealTypeList = async params => {
// http://yapi.quantgroups.com/project/389/interface/api/65304
// http://yapi.quantgroups.com/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
:
keyston
eApi
,
prefix
:
rol
eApi
,
data
:
params
,
data
:
params
,
});
});
return
data
;
return
data
;
...
@@ -49,7 +49,7 @@ export const shopAdd = async params => {
...
@@ -49,7 +49,7 @@ export const shopAdd = async params => {
// http://yapi.quantgroups.com/project/389/interface/api/65309
// http://yapi.quantgroups.com/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
:
keyston
eApi
,
prefix
:
rol
eApi
,
data
:
params
,
data
:
params
,
});
});
return
data
;
return
data
;
...
@@ -59,7 +59,7 @@ export const apiShopUpdate = async params => {
...
@@ -59,7 +59,7 @@ export const apiShopUpdate = async params => {
// http://yapi.quantgroups.com/project/389/interface/api/65324
// http://yapi.quantgroups.com/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
:
keyston
eApi
,
prefix
:
rol
eApi
,
data
:
{
data
:
{
page
:
1
,
page
:
1
,
size
:
10000
,
size
:
10000
,
...
@@ -71,7 +71,7 @@ export const apiEnterpriseList = async () => {
...
@@ -71,7 +71,7 @@ export const apiEnterpriseList = async () => {
// http://yapi.quantgroups.com/project/389/interface/api/65524
// http://yapi.quantgroups.com/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
:
keyston
eApi
,
prefix
:
rol
eApi
,
data
:
params
,
data
:
params
,
});
});
return
data
;
return
data
;
...
@@ -81,7 +81,7 @@ export const apiSelectList = async params => {
...
@@ -81,7 +81,7 @@ export const apiSelectList = async params => {
// http://yapi.quantgroups.com/project/389/interface/api/65304
// http://yapi.quantgroups.com/project/389/interface/api/65304
export
const
busineesTypeCheck
=
async
params
=>
{
export
const
busineesTypeCheck
=
async
params
=>
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/shop/busineesType/check`
,
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/shop/busineesType/check`
,
{
prefix
:
keyston
eApi
,
prefix
:
rol
eApi
,
data
:
params
,
data
:
params
,
});
});
return
data
;
return
data
;
...
@@ -91,7 +91,7 @@ export const busineesTypeCheck = async params => {
...
@@ -91,7 +91,7 @@ export const busineesTypeCheck = async params => {
// http://yapi.quantgroups.com/project/389/interface/api/65304
// http://yapi.quantgroups.com/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
:
keyston
eApi
,
prefix
:
rol
eApi
,
data
:
params
,
data
:
params
,
});
});
return
data
;
return
data
;
...
@@ -101,7 +101,7 @@ export const apiShopAdd = async params => {
...
@@ -101,7 +101,7 @@ export const apiShopAdd = async params => {
// http://yapi.quantgroups.com/project/389/interface/api/65534
// http://yapi.quantgroups.com/project/389/interface/api/65534
export
const
apiSelectedList
=
async
params
=>
{
export
const
apiSelectedList
=
async
params
=>
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/shop/selected/list`
,
{
const
data
=
await
request
.
post
(
`
${
apiPrefix
}
/enterprise/shop/selected/list`
,
{
prefix
:
keyston
eApi
,
prefix
:
rol
eApi
,
data
:
params
,
data
:
params
,
});
});
return
data
;
return
data
;
...
...
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