update
This commit is contained in:
parent
dcb560ade6
commit
19cde256a1
|
@ -63,6 +63,7 @@ class FenceHouseController extends BaseApiController
|
|||
public function leave()
|
||||
{
|
||||
$params = $this->request->param();
|
||||
$params['user_id'] = $this->userId;
|
||||
$params['create_time'] = date('Y-m-d H:i:s', time());
|
||||
$params['update_time'] = date('Y-m-d H:i:s', time());
|
||||
Db::name('leave_fence_house_log')->insert($params);
|
||||
|
@ -90,6 +91,7 @@ class FenceHouseController extends BaseApiController
|
|||
public function exchange()
|
||||
{
|
||||
$params = $this->request->param();
|
||||
$params['user_id'] = $this->userId;
|
||||
$params['create_time'] = date('Y-m-d H:i:s', time());
|
||||
$params['update_time'] = date('Y-m-d H:i:s', time());
|
||||
Db::name('change_fence_house_log')->insert($params);
|
||||
|
|
Loading…
Reference in New Issue