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
62371888
Commit
62371888
authored
May 20, 2020
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
f21e1819
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
xgg-deliver/app/base/controller/impl/order/orderCtl.js
+3
-4
xgg-deliver/app/config/routes/web.js
+1
-0
No files found.
xgg-deliver/app/base/controller/impl/order/orderCtl.js
View file @
62371888
...
@@ -533,6 +533,7 @@ class OrderCtl extends CtlBase {
...
@@ -533,6 +533,7 @@ class OrderCtl extends CtlBase {
contact_mobile:"",
contact_mobile:"",
*/
*/
async
addSourceOrder
(
pobj
,
pobj2
,
req
)
{
async
addSourceOrder
(
pobj
,
pobj2
,
req
)
{
try
{
if
(
!
pobj
.
product_id
)
{
if
(
!
pobj
.
product_id
)
{
return
system
.
getResult
(
null
,
`参数错误 产品ID不能为空`
);
return
system
.
getResult
(
null
,
`参数错误 产品ID不能为空`
);
}
}
...
@@ -554,15 +555,13 @@ class OrderCtl extends CtlBase {
...
@@ -554,15 +555,13 @@ class OrderCtl extends CtlBase {
pobj
.
service_items
=
pobj
.
chooseItems
;
pobj
.
service_items
=
pobj
.
chooseItems
;
pobj
.
source_id
=
pobj
.
source_id
||
'1002'
;
pobj
.
source_id
=
pobj
.
source_id
||
'1002'
;
pobj
.
notes
=
pobj
.
desc
||
"工商注册,刻章,银行卡户,税务报到,建账"
;
pobj
.
notes
=
pobj
.
desc
||
"工商注册,刻章,银行卡户,税务报到,建账"
;
if
(
!
pobj
.
deliverI
d
){
if
(
!
pobj
.
deliver_i
d
){
return
system
.
getResult
(
null
,
`请重新登录`
);
return
system
.
getResult
(
null
,
`请重新登录`
);
}
}
pobj
.
deliver_id
=
pobj
.
deliverI
d
;
pobj
.
deliver_id
=
pobj
.
deliver_i
d
;
pobj
.
deliver_name
=
pobj
.
deliverName
||
""
;
pobj
.
deliver_name
=
pobj
.
deliverName
||
""
;
pobj
.
delier_user_id
=
pobj
.
delier_user_id
||
""
;
pobj
.
delier_user_id
=
pobj
.
delier_user_id
||
""
;
pobj
.
deliver_user_path
=
pobj
.
deliver_user_path
||
""
;
pobj
.
deliver_user_path
=
pobj
.
deliver_user_path
||
""
;
try
{
return
await
this
.
orderSve
.
addSourceOrder
(
pobj
);
return
await
this
.
orderSve
.
addSourceOrder
(
pobj
);
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
error
);
console
.
log
(
error
);
...
...
xgg-deliver/app/config/routes/web.js
View file @
62371888
...
@@ -23,6 +23,7 @@ module.exports = function (app) {
...
@@ -23,6 +23,7 @@ module.exports = function (app) {
req
.
url
.
indexOf
(
"common/metaCtl/getApiDoc"
)
>
0
||
req
.
url
.
indexOf
(
"common/metaCtl/getApiDoc"
)
>
0
||
req
.
url
.
indexOf
(
"common/captchaCtl/captcha"
)
>
0
||
req
.
url
.
indexOf
(
"common/captchaCtl/captcha"
)
>
0
||
req
.
url
.
indexOf
(
"invoice/invoiceCtl/jizhang"
)
>
0
||
req
.
url
.
indexOf
(
"invoice/invoiceCtl/jizhang"
)
>
0
||
req
.
url
.
indexOf
(
"order/orderCtl/addSourceOrder"
)
>
0
||
req
.
url
.
indexOf
(
"getRsConfig"
)
>
0
)
{
req
.
url
.
indexOf
(
"getRsConfig"
)
>
0
)
{
if
(
jsonUser
)
{
if
(
jsonUser
)
{
req
.
loginUser
=
jsonUser
;
req
.
loginUser
=
jsonUser
;
...
...
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