Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
朱继来
/
后台订单管理
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b13aac81
authored
Apr 10, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整收货返回
parent
99feade5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
app/Http/Controllers/OrderController.php
public/js/order.js
app/Http/Controllers/OrderController.php
View file @
b13aac81
...
...
@@ -1370,14 +1370,9 @@ Class OrderController extends Controller
$update_url
=
Config
(
'website.api_domain'
)
.
'order/updateOrderAddress'
;
$
update
=
json_decode
(
curlApi
(
$update_url
,
$data
,
'POST'
),
true
);
$
res
=
json_decode
(
curlApi
(
$update_url
,
$data
,
'POST'
),
true
);
if
(
$update
[
'err_code'
]
==
0
)
{
return
array
(
'errcode'
=>
0
,
'errmsg'
=>
'操作成功'
);
}
else
{
errorLog
(
Error
::
E_UPDATE_FAILED
,
'操作失败'
);
return
array
(
'errcode'
=>-
1
,
'errmsg'
=>
'操作失败'
);
}
return
[
'errcode'
=>
$res
[
'err_code'
],
'errmsg'
=>
$res
[
'err_msg'
]];
}
$info
=
$this
->
orderDetail
(
$request
,
$id
);
...
...
public/js/order.js
View file @
b13aac81
...
...
@@ -1301,7 +1301,7 @@
});
},
//
物流
信息
//
发票
信息
changeInvoice
:
function
()
{
var
order_id
=
$
(
'input[name=order_id]'
).
val
();
...
...
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