record_PromoteLogs热修复

master
sunke 5 years ago
parent 830552f12a
commit 0c0b2d2f01

@ -152,7 +152,6 @@ class PromoteService {
]; ];
if (M('shift_task', 'sys_')->add($data)) { if (M('shift_task', 'sys_')->add($data)) {
recordPromoteLogs('管理中心','渠道迁移');
return [ return [
'status' => true, 'status' => true,
'msg'=>'迁移任务创建成功' 'msg'=>'迁移任务创建成功'

@ -2028,6 +2028,9 @@ class PromoteController extends BaseController
$params['creator_type'] = 1; $params['creator_type'] = 1;
$promoteService = new PromoteService(); $promoteService = new PromoteService();
$result = $promoteService->addShiftTask($params); $result = $promoteService->addShiftTask($params);
if ($result['status']) {
recordPromoteLogs('管理中心','渠道迁移');
}
$this->ajaxReturn($result); $this->ajaxReturn($result);
} }

Loading…
Cancel
Save