Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TOSTUMI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
Maple
TOSTUMI
Commits
2bdfc4cc
Commit
2bdfc4cc
authored
Sep 06, 2020
by
MrShi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev分支,小区模块,小区公告等模块
parent
dc9cf569
Changes
14
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
2926 additions
and
18 deletions
+2926
-18
config.ts
config/config.ts
+26
-11
orderManagement.ts
src/models/orderManagement.ts
+90
-0
visitorRecord.ts
src/models/visitorRecord.ts
+90
-0
CommunityNotice.tsx
...s/CommunityManagement/communityNotice/CommunityNotice.tsx
+4
-4
CommunityNoticeCreate.tsx
...unityManagement/communityNotice/CommunityNoticeCreate.tsx
+1
-1
CommunityNoticeDetail.tsx
...unityManagement/communityNotice/CommunityNoticeDetail.tsx
+1
-1
CommunityNoticeEdit.tsx
...mmunityManagement/communityNotice/CommunityNoticeEdit.tsx
+1
-1
VisitorRecord.tsx
...pages/CommunityManagement/visitorRecord/VisitorRecord.tsx
+763
-0
style.less
src/pages/CommunityManagement/visitorRecord/style.less
+165
-0
OrderManagement.tsx
src/pages/OrderManagement/OrderManagement.tsx
+739
-0
OrderManagementDetail.tsx
src/pages/OrderManagement/OrderManagementDetail.tsx
+792
-0
style.less
src/pages/OrderManagement/style.less
+168
-0
orderManagement.ts
src/services/orderManagement.ts
+43
-0
visitorRecord.ts
src/services/visitorRecord.ts
+43
-0
No files found.
config/config.ts
View file @
2bdfc4cc
...
@@ -188,13 +188,22 @@ export default defineConfig({
...
@@ -188,13 +188,22 @@ export default defineConfig({
{
path
:
'./ReportOnline/Edit'
,
component
:
'./CommercialService/Detail'
},
{
path
:
'./ReportOnline/Edit'
,
component
:
'./CommercialService/Detail'
},
]
]
},
},
{
/*
{
path: '/OrderManagement',
path: '/OrderManagement',
name: 'ordermanagement',
name: 'ordermanagement',
icon: 'ContainerOutlined',
icon: 'ContainerOutlined',
routes: [
routes: [
{ path: './', component: './OrderManagement/Order' },
{ path: './', component: './OrderManagement/Order' },
]
]
},*/
{
path
:
'/OrderManagement'
,
name
:
'ordermanagement'
,
icon
:
'ContainerOutlined'
,
routes
:
[
{
path
:
'./'
,
component
:
'./OrderManagement/OrderManagement'
},
{
path
:
'./Detail'
,
component
:
'./OrderManagement/OrderManagementDetail'
},
]
},
},
{
{
path
:
'/ContractManagement'
,
path
:
'/ContractManagement'
,
...
@@ -228,22 +237,21 @@ export default defineConfig({
...
@@ -228,22 +237,21 @@ export default defineConfig({
},
},
{
/*
{
path: './CommunityAnnouncement',
path: './CommunityAnnouncement',
name: 'communityannouncement',
name: 'communityannouncement',
component:'./runTest/Template'
component:'./runTest/Template'
},
},*/
{
/*{
path
:
'./CommunityAnnouncement'
,
path
:
'./CommunityAnnouncement'
,
name
:
'communityannouncement'
,
name
:
'communityannouncement'
,
routes
:
[
routes
:
[
{ path: './', component: './Community
Announc
ement/communityNotice/CommunityNotice' },
{
path
:
'./'
,
component
:
'./Community
Manag
ement/communityNotice/CommunityNotice'
},
{ path: './Create', component: './Community
Announc
ement/communityNotice/CommunityNoticeCreate' },
{
path
:
'./Create'
,
component
:
'./Community
Manag
ement/communityNotice/CommunityNoticeCreate'
},
{ path: './Edit', component: './Community
Announc
ement/communityNotice/CommunityNoticeEdit' },
{
path
:
'./Edit'
,
component
:
'./Community
Manag
ement/communityNotice/CommunityNoticeEdit'
},
{ path: './Detail', component: './Community
Announc
ement/communityNotice/CommunityNoticeDetail' },
{
path
:
'./Detail'
,
component
:
'./Community
Manag
ement/communityNotice/CommunityNoticeDetail'
},
]
]
},
*/
},
{
{
...
@@ -259,11 +267,18 @@ export default defineConfig({
...
@@ -259,11 +267,18 @@ export default defineConfig({
{
path
:
"./FacilityApply"
,
component
:
'./CommunityManagement/FacilityBookings/Bookings'
}
{
path
:
"./FacilityApply"
,
component
:
'./CommunityManagement/FacilityBookings/Bookings'
}
]
]
},
},
{
/*
{
path: './VisitorRecord',
path: './VisitorRecord',
name: 'visitorrecord',
name: 'visitorrecord',
component:'./runTest/Template'
component:'./runTest/Template'
},*/
{
path
:
'./VisitorRecord'
,
name
:
'visitorrecord'
,
component
:
'./CommunityManagement/visitorRecord/VisitorRecord'
},
},
]
]
},
},
{
{
...
...
src/models/orderManagement.ts
0 → 100644
View file @
2bdfc4cc
import
{
getAdvertisement
,
delAdvertisement
,
saveAdvertisement
,
quitAndUserAd
,
uploadApk
,
checkVideo
}
from
'@/services/orderManagement'
;
export
default
{
namespace
:
'orderManagementModel'
,
state
:
{
data
:
[],
},
effects
:
{
*
getAdvertisement
({
callback
,
payload
},{
call
,
put
})
{
const
response
=
yield
call
(
getAdvertisement
,
payload
);
yield
put
({
type
:
"getAd"
,
});
if
(
callback
)
callback
(
response
);
},
*
delAdvertisement
({
callback
,
payload
},{
call
,
put
})
{
const
response
=
yield
call
(
delAdvertisement
,
payload
);
yield
put
({
type
:
"del"
,
});
if
(
callback
)
callback
(
response
);
},
*
saveAdvertisement
({
callback
,
payload
},{
call
,
put
})
{
const
response
=
yield
call
(
saveAdvertisement
,
payload
);
yield
put
({
type
:
"save"
,
});
if
(
callback
)
callback
(
response
);
},
*
quitAndUserAd
({
callback
,
payload
},{
call
,
put
})
{
const
response
=
yield
call
(
quitAndUserAd
,
payload
);
yield
put
({
type
:
"quit"
,
});
if
(
callback
)
callback
(
response
);
},
*
uploadApk
({
callback
,
payload
},{
call
,
put
})
{
const
response
=
yield
call
(
uploadApk
,
payload
);
yield
put
({
type
:
"apk"
,
});
if
(
callback
)
callback
(
response
);
},
*
checkVideo
({
callback
,
payload
},{
call
,
put
})
{
const
response
=
yield
call
(
checkVideo
,
payload
);
yield
put
({
type
:
"check"
,
});
if
(
callback
)
callback
(
response
);
},
},
reducers
:
{
getAd
(
state
,
action
)
{
return
{
...
state
,
data
:
action
.
payload
||
{},
};
},
del
(
state
,
action
)
{
return
{
...
state
,
data
:
action
.
payload
||
{},
};
},
save
(
state
,
action
)
{
return
{
...
state
,
data
:
action
.
payload
||
{},
};
},
quit
(
state
,
action
)
{
return
{
...
state
,
data
:
action
.
payload
||
{},
};
},
apk
(
state
,
action
)
{
return
{
...
state
,
data
:
action
.
payload
||
{},
};
},
check
(
state
,
action
)
{
return
{
...
state
,
data
:
action
.
payload
||
{},
};
},
},
};
src/models/visitorRecord.ts
0 → 100644
View file @
2bdfc4cc
import
{
getAdvertisement
,
delAdvertisement
,
saveAdvertisement
,
quitAndUserAd
,
uploadApk
,
checkVideo
}
from
'@/services/visitorRecord'
;
export
default
{
namespace
:
'visitorRecordModel'
,
state
:
{
data
:
[],
},
effects
:
{
*
getAdvertisement
({
callback
,
payload
},{
call
,
put
})
{
const
response
=
yield
call
(
getAdvertisement
,
payload
);
yield
put
({
type
:
"getAd"
,
});
if
(
callback
)
callback
(
response
);
},
*
delAdvertisement
({
callback
,
payload
},{
call
,
put
})
{
const
response
=
yield
call
(
delAdvertisement
,
payload
);
yield
put
({
type
:
"del"
,
});
if
(
callback
)
callback
(
response
);
},
*
saveAdvertisement
({
callback
,
payload
},{
call
,
put
})
{
const
response
=
yield
call
(
saveAdvertisement
,
payload
);
yield
put
({
type
:
"save"
,
});
if
(
callback
)
callback
(
response
);
},
*
quitAndUserAd
({
callback
,
payload
},{
call
,
put
})
{
const
response
=
yield
call
(
quitAndUserAd
,
payload
);
yield
put
({
type
:
"quit"
,
});
if
(
callback
)
callback
(
response
);
},
*
uploadApk
({
callback
,
payload
},{
call
,
put
})
{
const
response
=
yield
call
(
uploadApk
,
payload
);
yield
put
({
type
:
"apk"
,
});
if
(
callback
)
callback
(
response
);
},
*
checkVideo
({
callback
,
payload
},{
call
,
put
})
{
const
response
=
yield
call
(
checkVideo
,
payload
);
yield
put
({
type
:
"check"
,
});
if
(
callback
)
callback
(
response
);
},
},
reducers
:
{
getAd
(
state
,
action
)
{
return
{
...
state
,
data
:
action
.
payload
||
{},
};
},
del
(
state
,
action
)
{
return
{
...
state
,
data
:
action
.
payload
||
{},
};
},
save
(
state
,
action
)
{
return
{
...
state
,
data
:
action
.
payload
||
{},
};
},
quit
(
state
,
action
)
{
return
{
...
state
,
data
:
action
.
payload
||
{},
};
},
apk
(
state
,
action
)
{
return
{
...
state
,
data
:
action
.
payload
||
{},
};
},
check
(
state
,
action
)
{
return
{
...
state
,
data
:
action
.
payload
||
{},
};
},
},
};
src/pages/CommunityManagement/communityNotice/CommunityNotice.tsx
View file @
2bdfc4cc
...
@@ -3,7 +3,7 @@ import {connect, routerRedux} from 'dva';
...
@@ -3,7 +3,7 @@ import {connect, routerRedux} from 'dva';
import
{
Table
,
Button
,
Input
,
Select
,
Modal
,
Tooltip
,
Upload
,
Icon
,
Checkbox
,
Row
,
Radio
,
Tag
}
from
"antd"
;
import
{
Table
,
Button
,
Input
,
Select
,
Modal
,
Tooltip
,
Upload
,
Icon
,
Checkbox
,
Row
,
Radio
,
Tag
}
from
"antd"
;
import
styles
from
'./style.less'
;
import
styles
from
'./style.less'
;
import
{
ConnectState
}
from
"@/models/connect"
;
import
{
ConnectState
}
from
"@/models/connect"
;
import
XLSX
from
"@/pages/account/xlsx.core.min"
;
//
import XLSX from "@/pages/account/xlsx.core.min";
import
{
router
}
from
"umi"
;
import
{
router
}
from
"umi"
;
import
'moment/locale/zh-cn'
;
import
'moment/locale/zh-cn'
;
...
@@ -260,7 +260,7 @@ class CommunityNotice extends React.Component {
...
@@ -260,7 +260,7 @@ class CommunityNotice extends React.Component {
if
(
nowUser
.
permission
[
i
]
==
"3"
){
if
(
nowUser
.
permission
[
i
]
==
"3"
){
flag
=
1
;
flag
=
1
;
this
.
props
.
dispatch
(
routerRedux
.
push
({
this
.
props
.
dispatch
(
routerRedux
.
push
({
pathname
:
'/
communityNotice
/Create'
,
pathname
:
'/
CommunityManagement/CommunityAnnouncement
/Create'
,
query
:
params
,
query
:
params
,
}))
}))
}
}
...
@@ -270,7 +270,7 @@ class CommunityNotice extends React.Component {
...
@@ -270,7 +270,7 @@ class CommunityNotice extends React.Component {
if
(
nowUser
.
permission
[
i
]
==
"2"
){
if
(
nowUser
.
permission
[
i
]
==
"2"
){
flag
=
1
;
flag
=
1
;
this
.
props
.
dispatch
(
routerRedux
.
push
({
this
.
props
.
dispatch
(
routerRedux
.
push
({
pathname
:
'/
communityNotice
/Edit'
,
pathname
:
'/
CommunityManagement/CommunityAnnouncement
/Edit'
,
query
:
params
,
query
:
params
,
}))
}))
}
}
...
@@ -331,7 +331,7 @@ class CommunityNotice extends React.Component {
...
@@ -331,7 +331,7 @@ class CommunityNotice extends React.Component {
//跳转到详情页面
//跳转到详情页面
details
=
(
params
)
=>
{
details
=
(
params
)
=>
{
this
.
props
.
dispatch
(
routerRedux
.
push
({
this
.
props
.
dispatch
(
routerRedux
.
push
({
pathname
:
'/
communityNotice
/Detail'
,
pathname
:
'/
CommunityManagement/CommunityAnnouncement
/Detail'
,
query
:
params
,
query
:
params
,
}))
}))
};
};
...
...
src/pages/CommunityManagement/communityNotice/CommunityNoticeCreate.tsx
View file @
2bdfc4cc
...
@@ -7,7 +7,7 @@ import TextArea from 'antd/lib/input/TextArea';
...
@@ -7,7 +7,7 @@ import TextArea from 'antd/lib/input/TextArea';
import
{
PlusOutlined
}
from
'@ant-design/icons'
;
import
{
PlusOutlined
}
from
'@ant-design/icons'
;
import
SelectOptions
from
'../../components/SelectOptions/index'
;
import
SelectOptions
from
'../../
../
components/SelectOptions/index'
;
const
printContent
=
(
comment
:
any
)
=>
{
const
printContent
=
(
comment
:
any
)
=>
{
console
.
log
(
comment
)
console
.
log
(
comment
)
}
}
...
...
src/pages/CommunityManagement/communityNotice/CommunityNoticeDetail.tsx
View file @
2bdfc4cc
...
@@ -7,7 +7,7 @@ import TextArea from 'antd/lib/input/TextArea';
...
@@ -7,7 +7,7 @@ import TextArea from 'antd/lib/input/TextArea';
import
{
PlusOutlined
}
from
'@ant-design/icons'
;
import
{
PlusOutlined
}
from
'@ant-design/icons'
;
import
SelectOptions
from
'../../components/SelectOptions/index'
;
import
SelectOptions
from
'../../
../
components/SelectOptions/index'
;
const
printContent
=
(
comment
:
any
)
=>
{
const
printContent
=
(
comment
:
any
)
=>
{
console
.
log
(
comment
)
console
.
log
(
comment
)
}
}
...
...
src/pages/CommunityManagement/communityNotice/CommunityNoticeEdit.tsx
View file @
2bdfc4cc
...
@@ -7,7 +7,7 @@ import TextArea from 'antd/lib/input/TextArea';
...
@@ -7,7 +7,7 @@ import TextArea from 'antd/lib/input/TextArea';
import
{
PlusOutlined
}
from
'@ant-design/icons'
;
import
{
PlusOutlined
}
from
'@ant-design/icons'
;
import
SelectOptions
from
'../../components/SelectOptions/index'
;
import
SelectOptions
from
'../../
../
components/SelectOptions/index'
;
const
printContent
=
(
comment
:
any
)
=>
{
const
printContent
=
(
comment
:
any
)
=>
{
console
.
log
(
comment
)
console
.
log
(
comment
)
}
}
...
...
src/pages/CommunityManagement/visitorRecord/VisitorRecord.tsx
0 → 100644
View file @
2bdfc4cc
This diff is collapsed.
Click to expand it.
src/pages/CommunityManagement/visitorRecord/style.less
0 → 100644
View file @
2bdfc4cc
@import '~antd/lib/style/themes/default.less';
.pre {
margin: 12px 0;
padding: 12px 20px;
background: @input-bg;
box-shadow: @card-shadow;
}
.input {
width:200px;
height:34px;
border:1px solid rgba(229, 229, 229, 1);
border-radius:5px;
margin: 0px 10px;
}
.input1 {
width:200px;
height:34px;
border:1px solid rgba(229, 229, 229, 1);
border-radius:5px;
margin: 0px 120px 10px;
}
.body {
background:rgba(255,255,255,1);
border:1px solid rgba(229, 229, 229, 1);
}
.inputBox {
width:1250px;
height:50px;
padding-top: 10px;
}
.downIcon {
position: relative;
left: 80px;
}
.downButton {
width:120px;
height:34px;
border:1px solid rgba(229, 229, 229, 1);
border-radius:5px;
margin: 0px 10px;
text-align: left;
}
.button11 {
width:82px;
height:34px;
background:rgba(234,244,255,1);
border:1px solid rgba(178, 215, 255, 1);
font-size:14px;
font-family:PingFang SC;
font-weight:400;
color:rgba(66,159,255,1);
line-height:34px;
margin:20px 20px 7px 10px;
float: left;
}
.button1 {
width:150px;
height:34px;
background:rgba(234,244,255,1);
border:1px solid rgba(178, 215, 255, 1);
font-size:14px;
font-family:PingFang SC;
font-weight:400;
color:rgba(66,159,255,1);
line-height:34px;
margin: 7px 10px;
float: left;
}
.button2 {
width:150px;
height:34px;
background:rgba(24,144,255,1);
border-radius:4px;
font-size:14px;
font-family:PingFang SC;
font-weight:400;
color:rgba(255,255,255,1);
line-height:34px;
margin: 7px 10px;
float: left;
}
.button3 {
position: relative;
bottom: 52px;
width:72px;
height:32px;
background:rgba(255,255,255,1);
border:1px solid rgba(229, 229, 229, 1);
border-radius:4px;
margin: 10px 10px;
}
.table {
margin-right: 10px;
}
.detailsTitle {
display: inline-block;
font-size:18px;
font-family:PingFang SC;
font-weight:400;
color:rgba(73,73,73,1);
margin: 0px 30px;
}
.detailsContent {
display: inline-block;
font-size:15px;
width: 100px;
font-family:PingFang SC;
font-weight:400;
color:rgba(153,153,153,1);
margin: 10px 10px;
}
.detailsContent2 {
display: inline-block;
font-size:18px;
width: 200px;
font-family:PingFang SC;
font-weight:400;
color:rgba(51,51,51,1);
}
.detailsBox {
border-top: 1px solid rgba(229, 229, 229, 1);
margin: 10px 30px;
}
.font1 {
.detailsContent {
font-family:PingFang SC;
font-weight:400;
color:rgba(153,153,153,1);
margin: 5px 10px;
}
.backBox{
border: 1px solid rgb(0, 12, 23);
font-size: 2em;
margin: 50px ;
background: #1153ff;
}
.allCheckbox{
}
.subCheckbox{
}
}
src/pages/OrderManagement/OrderManagement.tsx
0 → 100644
View file @
2bdfc4cc
This diff is collapsed.
Click to expand it.
src/pages/OrderManagement/OrderManagementDetail.tsx
0 → 100644
View file @
2bdfc4cc
This diff is collapsed.
Click to expand it.
src/pages/OrderManagement/style.less
0 → 100644
View file @
2bdfc4cc
@import '~antd/lib/style/themes/default.less';
.pre {
margin: 12px 0;
padding: 12px 20px;
background: @input-bg;
box-shadow: @card-shadow;
}
.input {
width:200px;
height:34px;
border:1px solid rgba(229, 229, 229, 1);
border-radius:5px;
margin: 0px 10px;
}
.input1 {
width:400px;
height:100px;
border:1px solid rgba(229, 229, 229, 1);
border-radius:5px;
margin: 0px 10px;
}
.body {
background:rgba(255,255,255,1);
border:1px solid rgba(229, 229, 229, 1);
}
.inputBox {
width:1250px;
//height:50px;
padding-top: 10px;
margin-bottom: 10px;
}
.downIcon {
position: relative;
left: 80px;
}
.downButton {
width:120px;
height:34px;
border:1px solid rgba(229, 229, 229, 1);
border-radius:5px;
margin: 0px 10px;
text-align: left;
}
.button1 {
width:82px;
height:34px;
background:rgba(234,244,255,1);
border:1px solid rgba(178, 215, 255, 1);
font-size:14px;
font-family:PingFang SC;
font-weight:400;
color:rgba(66,159,255,1);
line-height:34px;
margin: 10px 10px;
}
.button2 {
width:82px;
height:34px;
background:rgba(24,144,255,1);
border-radius:4px;
font-size:14px;
font-family:PingFang SC;
font-weight:400;
color:rgba(255,255,255,1);
line-height:34px;
margin: 7px 10px;
}
.button22 {
width:82px;
height:34px;
background:rgba(24,144,255,1);
border-radius:4px;
font-size:14px;
font-family:PingFang SC;
font-weight:400;
color:rgba(255,255,255,1);
line-height:34px;
margin: 7px 10px;
margin-bottom: 100px;
}
.button3 {
position: relative;
bottom: 52px;
width:72px;
height:32px;
background:rgba(255,255,255,1);
border:1px solid rgba(229, 229, 229, 1);
border-radius:4px;
margin: 10px 10px;
}
.table {
margin-right: 10px;
}
.detailsTitle {
display: inline-block;
font-size:18px;
font-family:PingFang SC;
font-weight:400;
color:rgba(73,73,73,1);
margin: 0px 30px;
}
.detailsContent {
display: inline-block;
font-size:18px;
width: 500px;
font-family:PingFang SC;
font-weight:400;
color:rgba(153,153,153,1);
margin: 10px 10px;
}
.detailsContent1 {
display: inline-block;
font-size:18px;
width: 200px;
font-family:PingFang SC;
font-weight:400;
color:rgba(153,153,153,1);
margin: 10px 10px;
}
.detailsContent11 {
display: flex;
//font-size:18px;
//width: 200px;
//font-family:PingFang SC;
//font-weight:400;
//color:rgba(153,153,153,1);
margin-top: 20px ;
}
.detailsContent2 {
display: inline-block;
font-size:18px;
width: 200px;
font-family:PingFang SC;
font-weight:400;
color:rgba(51,51,51,1);
}
.detailsBox {
border-top: 1px solid rgba(229, 229, 229, 1);
margin: 10px 10px 10px 30px;
}
.font1 {
.detailsContent {
font-family:PingFang SC;
font-weight:400;
color: rgb(153, 153, 153);
margin: 5px 10px;
}
}
src/services/orderManagement.ts
0 → 100644
View file @
2bdfc4cc
import
request
from
'@/utils/request'
;
export
async
function
getAdvertisement
(
params
)
{
return
request
(
'/api/ad/get'
,
{
method
:
'POST'
,
data
:
params
,
});
}
export
async
function
delAdvertisement
(
params
)
{
return
request
(
'/api/ad/del'
,
{
method
:
'POST'
,
data
:
params
,
});
}
export
async
function
saveAdvertisement
(
params
)
{
return
request
(
'/api/ad/save'
,
{
method
:
'POST'
,
data
:
params
,
});
}
export
async
function
quitAndUserAd
(
params
)
{
return
request
(
'/api/ad/quitAndUserAd'
,
{
method
:
'POST'
,
data
:
params
,
});
}
export
async
function
uploadApk
(
params
)
{
return
request
(
'/api/uploadApk/apk'
,
{
method
:
'POST'
,
data
:
params
,
});
}
export
async
function
checkVideo
(
params
)
{
return
request
(
'/api/uploadApk/prview'
,
{
method
:
'POST'
,
data
:
params
,
});
}
src/services/visitorRecord.ts
0 → 100644
View file @
2bdfc4cc
import
request
from
'@/utils/request'
;
export
async
function
getAdvertisement
(
params
)
{
return
request
(
'/api/ad/get'
,
{
method
:
'POST'
,
data
:
params
,
});
}
export
async
function
delAdvertisement
(
params
)
{
return
request
(
'/api/ad/del'
,
{
method
:
'POST'
,
data
:
params
,
});
}
export
async
function
saveAdvertisement
(
params
)
{
return
request
(
'/api/ad/save'
,
{
method
:
'POST'
,
data
:
params
,
});
}
export
async
function
quitAndUserAd
(
params
)
{
return
request
(
'/api/ad/quitAndUserAd'
,
{
method
:
'POST'
,
data
:
params
,
});
}
export
async
function
uploadApk
(
params
)
{
return
request
(
'/api/uploadApk/apk'
,
{
method
:
'POST'
,
data
:
params
,
});
}
export
async
function
checkVideo
(
params
)
{
return
request
(
'/api/uploadApk/prview'
,
{
method
:
'POST'
,
data
:
params
,
});
}
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