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
ab3b0fcd
authored
Sep 12, 2018
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
temp
parent
5a472a3c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
app/Http/Controllers/AddOrderController.php
public/js/add_order.js
app/Http/Controllers/AddOrderController.php
View file @
ab3b0fcd
...
...
@@ -318,7 +318,7 @@ Class AddOrderController extends Controller
$response
=
json_decode
(
curlApi
(
$url
,
$data
),
true
);
return
[
'errcode'
=>
$response
[
'err_code'
],
'errmsg'
=>
$response
[
'err_msg'
]];
return
[
'errcode'
=>
$response
[
'err_code'
],
'errmsg'
=>
$response
[
'err_msg'
]
,
'data'
=>
$response
[
'data'
]
];
}
}
...
...
public/js/add_order.js
View file @
ab3b0fcd
...
...
@@ -293,7 +293,7 @@
// 添加到商品列表
$
(
'.add-to-lists'
).
click
(
function
()
{
var
goods_min_num
=
$
(
this
).
parents
(
'.sku-info'
).
find
(
'.
goods-min-num
'
).
text
();
var
goods_min_num
=
$
(
this
).
parents
(
'.sku-info'
).
find
(
'.
moq
'
).
text
();
var
goods_id
=
$
(
this
).
siblings
(
'.goods_id'
).
val
();
var
type
=
$
(
this
).
siblings
(
'.goods_type'
).
val
();
var
delivery_place
=
1
;
// 1.大陆,2.香港 自营默认是大陆
...
...
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