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
46e2142d
authored
Aug 25, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
审核时回写自营商品ID
parent
6d3fd061
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
app/Http/Controllers/OrderController.php
app/Http/Controllers/OrderController.php
View file @
46e2142d
...
@@ -908,7 +908,7 @@ Class OrderController extends Controller
...
@@ -908,7 +908,7 @@ Class OrderController extends Controller
if
(
$order_goods_type
==
1
)
{
if
(
$order_goods_type
==
1
)
{
$pingtai_id
=
Config
(
'config.pingtai_id'
);
$pingtai_id
=
Config
(
'config.pingtai_id'
);
foreach
(
$resData
[
'change_info'
]
as
$v
)
{
foreach
(
$resData
[
'change_info'
]
as
&
$v
)
{
if
(
$v
[
'status'
]
==
-
1
)
continue
;
if
(
$v
[
'status'
]
==
-
1
)
continue
;
if
(
$v
[
'buyer_id'
]
==
$pingtai_id
)
{
if
(
$v
[
'buyer_id'
]
==
$pingtai_id
)
{
...
@@ -937,6 +937,8 @@ Class OrderController extends Controller
...
@@ -937,6 +937,8 @@ Class OrderController extends Controller
if
(
$v
[
'goods_number'
]
%
$goods_info
[
'mpl'
]
!=
0
)
{
if
(
$v
[
'goods_number'
]
%
$goods_info
[
'mpl'
]
!=
0
)
{
return
[
'errcode'
=>-
1
,
'errmsg'
=>
'请求基石库存接口,'
.
$v
[
'goods_name'
]
.
'型号倍数不满足下单条件,当前商品倍数为'
.
$goods_info
[
'mpl'
]];
return
[
'errcode'
=>-
1
,
'errmsg'
=>
'请求基石库存接口,'
.
$v
[
'goods_name'
]
.
'型号倍数不满足下单条件,当前商品倍数为'
.
$goods_info
[
'mpl'
]];
}
}
$v
[
'goods_id'
]
=
$goods_info
[
'goods_id'
];
// 回写自营商品ID
}
}
}
}
}
}
...
...
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