更新
This commit is contained in:
parent
1843c105d6
commit
e00be28cf4
@ -54,7 +54,6 @@ class TaskController extends BaseAdminController
|
||||
{
|
||||
$params = (new TaskValidate())->post()->goCheck('add');
|
||||
|
||||
|
||||
if($params['type']==1){
|
||||
$arr=[42,43,44,45];//信息更新
|
||||
$params['extend']['informationg']['arr']=$arr;
|
||||
|
@ -55,7 +55,7 @@ class TaskSchedulingPlanController extends BaseAdminController
|
||||
$params['create_user_id']=$this->adminId;
|
||||
$time=strtotime($params['time']);
|
||||
$params['start_time']=$time;
|
||||
$params['end_time']=$time+86399;
|
||||
$params['end_time']=strtotime($params['end_time'])+86399;
|
||||
$result = TaskSchedulingPlanLogic::add($params);
|
||||
if (true === $result) {
|
||||
return $this->success('添加成功', [], 1, 1);
|
||||
@ -73,6 +73,9 @@ class TaskSchedulingPlanController extends BaseAdminController
|
||||
public function edit()
|
||||
{
|
||||
$params = (new TaskSchedulingPlanValidate())->post()->goCheck('edit');
|
||||
$time=strtotime($params['time']);
|
||||
$params['start_time']=$time;
|
||||
$params['end_time']=strtotime($params['end_time'])+86399;
|
||||
$result = TaskSchedulingPlanLogic::edit($params);
|
||||
if (true === $result) {
|
||||
return $this->success('编辑成功', [], 1, 1);
|
||||
|
2
vendor/ebaoquan/junziqian_sdk
vendored
2
vendor/ebaoquan/junziqian_sdk
vendored
@ -1 +1 @@
|
||||
Subproject commit 1294ea49ff9ecc4532821f8798304816cbf8dd74
|
||||
Subproject commit 9acc82cd23d807280ddd29df2117e7890094d049
|
Loading…
x
Reference in New Issue
Block a user