mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-31 15:00:52 +00:00
优化获取附件分类列表
优化商家寄件逻辑
This commit is contained in:
parent
ddce35e733
commit
2764ead2da
@ -2689,7 +2689,7 @@ HTML;
|
||||
}
|
||||
|
||||
//发起取消商家寄件
|
||||
$res = app()->make(ServeServices::class)->express()->shipmentCancelOrder([
|
||||
app()->make(ServeServices::class)->express()->shipmentCancelOrder([
|
||||
'task_id' => $orderInfo->kuaidi_task_id,
|
||||
'order_id' => $orderInfo->kuaidi_order_id,
|
||||
'cancel_msg' => $msg,
|
||||
@ -2717,7 +2717,7 @@ HTML;
|
||||
$orderInfo->save();
|
||||
});
|
||||
|
||||
return $res;
|
||||
return true;
|
||||
}
|
||||
|
||||
public function checkSubOrderNotSend(int $pid, int $order_id)
|
||||
|
||||
@ -54,8 +54,10 @@ class SystemAttachmentCategoryServices extends BaseServices
|
||||
} else {
|
||||
foreach ($list as &$item) {
|
||||
$item['title'] = $item['name'];
|
||||
$item['children'] = [];
|
||||
if ($where['name'] == '' && $this->dao->count(['pid' => $item['id']])) $item['loading'] = false;
|
||||
if ($where['name'] == '' && $this->dao->count(['pid' => $item['id']])) {
|
||||
$item['loading'] = false;
|
||||
$item['children'] = [];
|
||||
}
|
||||
}
|
||||
}
|
||||
return compact('list');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user