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
cb137960
authored
Apr 17, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'zjl_change_addr_20200410'
parents
4d0a2987
b13aac81
Show 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 @
cb137960
...
...
@@ -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 @
cb137960
...
...
@@ -1302,7 +1302,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