【类 型】:test
【原 因】: 【过 程】: 【影 响】:
This commit is contained in:
parent
4ac29fd9f2
commit
33836ff937
@ -64,7 +64,7 @@ class PayController extends PublicController
|
|||||||
// 获取订单信息
|
// 获取订单信息
|
||||||
$where['shop_id'] = $_REQUEST['shop_id'];
|
$where['shop_id'] = $_REQUEST['shop_id'];
|
||||||
$where['order_sn'] = $_REQUEST['order_sn'];
|
$where['order_sn'] = $_REQUEST['order_sn'];
|
||||||
$field = array('order_sn,openid,openid,total_price, transport_price, pack_price, pay_sn,main_status,shop_id');
|
$field = array('order_sn,openid,total_price, transport_price, pack_price, pay_sn,main_status,shop_id');
|
||||||
$orderDb = D('order');
|
$orderDb = D('order');
|
||||||
if (!$order = $orderDb->where($where)->field($field)->find()) {
|
if (!$order = $orderDb->where($where)->field($field)->find()) {
|
||||||
echo json_encode(array('status' => 0, 'msg' => '订单不存在'));
|
echo json_encode(array('status' => 0, 'msg' => '订单不存在'));
|
||||||
|
Loading…
Reference in New Issue
Block a user