|
@@ -248,6 +248,7 @@ class Orders extends Base {
|
|
|
'priority' => empty($data['priority']) ? 0 : $data['priority'],
|
|
|
'score'=>$conveyCate['score']
|
|
|
);
|
|
|
+
|
|
|
if(empty($ysData['xq_time'])){
|
|
|
unset($ysData['xq_time']);
|
|
|
}
|
|
@@ -259,6 +260,7 @@ class Orders extends Base {
|
|
|
if (!$oCid) {
|
|
|
exception('运送信息保存失败');
|
|
|
}
|
|
|
+ model('UserConveyCate')->updateCate($data['user_id'],$data['type']);
|
|
|
|
|
|
if ($conveyCate['cate'] == 1) {
|
|
|
$patient = [
|