...
|
...
|
@@ -145,7 +145,8 @@ class LoadingController extends BaseController |
|
|
if(!empty($result['responseParam']['trace_list'])){
|
|
|
if($result['responseParam']['trace_list'][0]['status']=="SIGNED"){
|
|
|
//更新订单状态
|
|
|
$result = $orderModel->updateData(array('id'=>$o['id']),array('status'=>3,'reach_time'=>time()));
|
|
|
$count = count($result['responseParam']['trace_list']);
|
|
|
$result = $orderModel->updateData(array('id'=>$o['id']),array('status'=>3,'reach_time'=>time(),'get_time'=>strtotime($result['responseParam']['trace_list'][($count-1)]['time'])));
|
|
|
if(!$result){
|
|
|
echo 'sql执行失败!'."<br/>";
|
|
|
}else{
|
...
|
...
|
|