Merge pull request '更新' (#42) from zhangwei into master
Reviewed-on: http://git.excellentkk.cn/mkm/TaskSystem/pulls/42
This commit is contained in:
commit
36c0fcd19e
@ -32,7 +32,7 @@ class IndexController extends BaseApiController
|
|||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
public array $notNeedLogin = ['index', 'config', 'policy', 'decorate', 'notifyUrl','notifyProperty','notifyAuthentication','test'];
|
public array $notNeedLogin = ['index', 'config', 'policy', 'decorate', 'notifyUrl','notifyProperty','notifyAuthentication'];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -142,7 +142,7 @@ class IndexController extends BaseApiController
|
|||||||
$pro_data[$k]['create_time']=time();
|
$pro_data[$k]['create_time']=time();
|
||||||
}
|
}
|
||||||
Db::name('company_property')->insertAll($pro_data);
|
Db::name('company_property')->insertAll($pro_data);
|
||||||
Db::name('vehicle_rent')->where('id',$vehicleRent['id'])->update(['status',2]);
|
Db::name('vehicle_rent')->update(['status'=>2,'id'=>$vehicleRent['id']]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}catch (\Exception $e){
|
}catch (\Exception $e){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user