Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
7c905444
Commit
7c905444
authored
Apr 30, 2021
by
linboxuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
4f1954b1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
77 additions
and
0 deletions
+77
-0
center-manage/app/base/controller/impl/qifutong/statisticsCtl.js
+36
-0
center-manage/app/base/service/impl/qifutong/statisticsSve.js
+12
-0
center-manage/app/base/utils/qifutong/baseClient.js
+29
-0
No files found.
center-manage/app/base/controller/impl/qifutong/statisticsCtl.js
View file @
7c905444
...
...
@@ -23,6 +23,42 @@ class StatisticsCtl extends CtlBase {
}
}
async
submitService
(
pobj
,
qobj
,
req
)
{
try
{
const
rs
=
await
this
.
service
.
submitService
(
pobj
);
return
system
.
getResult
(
rs
);
}
catch
(
err
)
{
return
system
.
getResult
(
null
,
err
.
message
)
}
}
async
editsubmitService
(
pobj
,
qobj
,
req
)
{
try
{
const
rs
=
await
this
.
service
.
editsubmitService
(
pobj
);
return
system
.
getResult
(
rs
);
}
catch
(
err
)
{
return
system
.
getResult
(
null
,
err
.
message
)
}
}
async
getAllProductType
(
pobj
,
qobj
,
req
)
{
try
{
const
rs
=
await
this
.
service
.
getAllProductType
(
pobj
);
return
system
.
getResult
(
rs
);
}
catch
(
err
)
{
return
system
.
getResult
(
null
,
err
.
message
)
}
}
async
submitProductType
(
pobj
,
qobj
,
req
)
{
try
{
const
rs
=
await
this
.
service
.
submitProductType
(
pobj
);
return
system
.
getResult
(
rs
);
}
catch
(
err
)
{
return
system
.
getResult
(
null
,
err
.
message
)
}
}
// 获取 产品信息
async
getAllProducts
(
pobj
,
qobj
,
req
)
{
try
{
...
...
center-manage/app/base/service/impl/qifutong/statisticsSve.js
View file @
7c905444
...
...
@@ -7,6 +7,18 @@ class StatisticsService {
async
getAllService
(
pobj
)
{
return
ToQiFuTong
.
getAllService
(
pobj
);
}
async
submitService
(
pobj
)
{
return
ToQiFuTong
.
submitService
(
pobj
);
}
async
editsubmitService
(
pobj
)
{
return
ToQiFuTong
.
editsubmitService
(
pobj
);
}
async
getAllProductType
(
pobj
)
{
return
ToQiFuTong
.
getAllProductType
(
pobj
);
}
async
submitProductType
(
pobj
)
{
return
ToQiFuTong
.
submitProductType
(
pobj
);
}
async
getAllProducts
(
pobj
)
{
return
ToQiFuTong
.
getAllProducts
();
}
...
...
center-manage/app/base/utils/qifutong/baseClient.js
View file @
7c905444
...
...
@@ -97,6 +97,35 @@ class BaseClient {
});
return
data
;
}
async
submitService
(
pobj
)
{
const
data
=
await
this
.
pushQiFuTong
(
'/web/auth/accessAuth/springBoard'
,
{
"actionType"
:
"submitService"
,
"actionBody"
:
pobj
});
return
data
;
}
async
editsubmitService
(
pobj
)
{
const
data
=
await
this
.
pushQiFuTong
(
'/web/auth/accessAuth/springBoard'
,
{
"actionType"
:
"editsubmitService"
,
"actionBody"
:
pobj
});
return
data
;
}
async
getAllProductType
(
pobj
)
{
const
data
=
await
this
.
pushQiFuTong
(
'/web/action/product/springBoard'
,
{
"actionType"
:
"getAllProductType"
,
"actionBody"
:
pobj
});
return
data
;
}
async
submitProductType
(
pobj
)
{
const
data
=
await
this
.
pushQiFuTong
(
'/web/action/product/springBoard'
,
{
"actionType"
:
"submitProductType"
,
"actionBody"
:
pobj
});
return
data
;
}
async
getAllProducts
()
{
const
data
=
await
this
.
pushQiFuTong
(
'/web/action/product/springBoard'
,
{
"actionType"
:
"getAllProducts"
,
...
...
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