|
@@ -9,15 +9,13 @@
|
|
|
namespace app\api\controller;
|
|
|
|
|
|
|
|
|
-use app\api\controller\base\Base;
|
|
|
use app\api\controller\base\Permissions;
|
|
|
use app\common\model\AppointmentApplication;
|
|
|
use app\common\model\AppointmentTicket;
|
|
|
use app\common\model\Feedback;
|
|
|
use app\common\model\Webconfig;
|
|
|
-use time\DateHelper;
|
|
|
|
|
|
-class User extends Base
|
|
|
+class User extends Permissions
|
|
|
{
|
|
|
//个人资料
|
|
|
public function info()
|
|
@@ -204,7 +202,7 @@ class User extends Base
|
|
|
$this->json_error('提交失败:' . $validate->getError());
|
|
|
}
|
|
|
|
|
|
- $where = ['user_id' => 1];
|
|
|
+ $where = ['user_id' => $this->getUserId()];
|
|
|
$status = $this->request->param('status', 0, 'intval');
|
|
|
if ($status == 1) {
|
|
|
$where['finish_time'] = 0;
|