@@ -291,6 +291,7 @@ class PurchaseLogic
{
$ret = ['code'=>200,'msg'=>'ok'];
$order_info = OfflineOrderRefund::with('orderItem')->where('id',$order_id)->find()->toArray();
+ var_dump($order_info);
if(in_array($order_info['refund_status'],[1,2])) return ['code'=>201,'订单已申请退款'];
Db::startTrans();
try {