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
014f8eb1
Commit
014f8eb1
authored
Jan 11, 2020
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
83bc8f59
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
53 additions
and
4 deletions
+53
-4
xgg-deliver/app/base/controller/impl/uc/userCtl.js
+14
-0
xgg-deliver/app/base/service/impl/uc/userSve.js
+6
-2
xgg-deliver/app/base/system.js
+2
-2
xgg-deliver/app/front/entry/public/apidoc/order/order.md
+31
-0
No files found.
xgg-deliver/app/base/controller/impl/uc/userCtl.js
View file @
014f8eb1
...
@@ -201,5 +201,18 @@ class UserCtl extends CtlBase {
...
@@ -201,5 +201,18 @@ class UserCtl extends CtlBase {
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
}
}
}
}
async
salesmanList
(
params
,
pobj2
,
req
)
{
try
{
if
(
!
params
.
deliver_id
)
{
return
system
.
getResultSuccess
([]);
}
params
.
uctype
=
params
.
deliver_id
;
return
await
this
.
userSve
.
findDeliverUsers
(
params
);
}
catch
(
error
)
{
console
.
log
(
error
);
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
}
}
}
}
module
.
exports
=
UserCtl
;
module
.
exports
=
UserCtl
;
\ No newline at end of file
xgg-deliver/app/base/service/impl/uc/userSve.js
View file @
014f8eb1
...
@@ -130,9 +130,13 @@ class UserService extends ServiceBase {
...
@@ -130,9 +130,13 @@ class UserService extends ServiceBase {
}
}
}
}
async
find
ByDeliverId
(
params
)
{
async
find
DeliverUsers
(
params
)
{
try
{
try
{
return
await
this
.
callms
(
"uc"
,
"findByUctype"
,
{
uctype
:
params
.
deliver_id
});
let
p
=
{
uctype
:
3
,
uctypeId
:
params
.
deliver_id
,
}
return
await
this
.
callms
(
"uc"
,
"findUsers"
,
p
);
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
error
);
console
.
log
(
error
);
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
...
...
xgg-deliver/app/base/system.js
View file @
014f8eb1
...
@@ -189,8 +189,8 @@ class System {
...
@@ -189,8 +189,8 @@ class System {
invoice
:
"http://127.0.0.1:3105"
+
path
,
invoice
:
"http://127.0.0.1:3105"
+
path
,
// 发票服务
// 发票服务
uc
:
domain
+
":3106"
+
path
,
//
uc: domain + ":3106" + path,
//
uc: "http://127.0.0.1:3106" + path,
uc
:
"http://127.0.0.1:3106"
+
path
,
}
}
}
else
{
}
else
{
var
odomain
=
"http://123.57.217.203"
var
odomain
=
"http://123.57.217.203"
...
...
xgg-deliver/app/front/entry/public/apidoc/order/order.md
View file @
014f8eb1
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
1.
[
业务进度字典
](
#processList
)
1.
[
业务进度字典
](
#processList
)
1.
[
订单管理列表
](
#allOrders
)
1.
[
订单管理列表
](
#allOrders
)
1.
[
我的业务订单
](
#myorders
)
1.
[
我的业务订单
](
#myorders
)
1.
[
业务员查询
](
#salesmanList
)
1.
[
分配业务员
](
#deliverAssignSalesman
)
1.
[
分配业务员
](
#deliverAssignSalesman
)
1.
[
工商注册中
](
#businessRegister
)
1.
[
工商注册中
](
#businessRegister
)
1.
[
工商注册完成
](
#businessRegisterComplete
)
1.
[
工商注册完成
](
#businessRegisterComplete
)
...
@@ -191,6 +192,36 @@
...
@@ -191,6 +192,36 @@
```
```
## **<a name="salesmanList"> 业务员查询 </a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/uc/userCtl/salesmanList
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
```
javascript
{}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
[
{
"id"
:
9
,
// id
"realName"
:
"郭德纲"
// 姓名
},
],
"requestid"
:
"6c308d46116945968592fbce5f3f4a95"
}
```
## **<a name="salesmanList"> 平台业务员查询 </a>**
## **<a name="salesmanList"> 平台业务员查询 </a>**
[
返回到目录
](
#menu
)
[
返回到目录
](
#menu
)
##### URL
##### URL
...
...
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