Authored by cailing

再次购买修改

... ... @@ -174,7 +174,7 @@ class OrderData
$param = Yohobuy::param();
$param['method'] = 'app.Shopping.readd';
$param['uid'] = $uid;
$param['orderCode'] = $orderCode;
$param['order_code'] = $orderCode;
$param['client_secret'] = Sign::getSign($param);
return Yohobuy::get(Yohobuy::API_URL, $param);
... ...
... ... @@ -10,7 +10,6 @@ use Plugin\Pay\weixin\JsApiPay;
use Plugin\Pay\weixin\lib\WxPayUnifiedOrder;
use Plugin\Pay\weixin\lib\WxPayApi;
use Plugin\Pay\weixin\lib\WxPayConfig;
use LibModels\Wap\Home\OrderData;
/**
* 个人中心相关的控制器
... ... @@ -1054,6 +1053,8 @@ class HomeController extends AbstractAction
/* 判断订单信息是否存在 */
$orderDetail = OrderModel::orderDetail($orderCode, $this->_uid, $this->_usession);
$readd = OrderData::reAddData($this->_uid, 1606640307);
print_r($readd);
if (empty($orderDetail)) {
$this->error();
}
... ...