|
|
@@ -639,7 +639,7 @@ class WechatService
|
|
|
@file_put_contents("quanju2.txt", json_encode($result) . "-查询签约状态返回结果\r\n", 8);
|
|
|
if ($result['return_code'] == 'SUCCESS' && $result['trade_state_desc'] == '支付成功'){
|
|
|
$time=strtotime($result['time_end']);
|
|
|
- LaveMonth::where(['order_id' => $order_id])->update(['status' => 1,'paytime'=>$time]); //修改订单状态
|
|
|
+ LaveMonth::where(['order_id' => $order_id])->update(['paid' => 1,'paytime'=>$time]); //修改订单状态
|
|
|
}
|
|
|
|
|
|
return $result;
|