...
This commit is contained in:
parent
6a5a344f9c
commit
111f1840b3
@ -388,10 +388,15 @@ class ShopController extends BaseAuthedController
|
|||||||
default:
|
default:
|
||||||
error_log("buyGoodsDirect--- " . $order_id . " --- " . $status);
|
error_log("buyGoodsDirect--- " . $order_id . " --- " . $status);
|
||||||
$this->_rspErr(1, "status error, status: {$status}");
|
$this->_rspErr(1, "status error, status: {$status}");
|
||||||
break;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
SqlHelper::update($conn, 't_shop_buy_order', array('idx' => $order_id), array('status' => $buyStatus));
|
SqlHelper::update($conn, 't_shop_buy_order', array('order_id' => $order_id), array('status' => $buyStatus));
|
||||||
|
|
||||||
|
if ($buyStatus == 2) {
|
||||||
|
$this->_rspErr(2, "buyStatus error, buyStatus: {$buyStatus}");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// 以下是看商品表中是否配置了充值额外奖励
|
// 以下是看商品表中是否配置了充值额外奖励
|
||||||
$goods = mt\ShopGoods::get($id);
|
$goods = mt\ShopGoods::get($id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user