|
|
@@ -17,6 +17,16 @@ use yii\helpers\Json;
|
|
|
class UserController extends BaseController
|
|
|
{
|
|
|
|
|
|
+ //修改信息 ssh 20221015
|
|
|
+ public function actionUpdate()
|
|
|
+ {
|
|
|
+ $user = $this->user;
|
|
|
+ if (empty($user)) {
|
|
|
+ util::fail('请先登录');
|
|
|
+ }
|
|
|
+ $userId = $user->id ?? 0;
|
|
|
+ }
|
|
|
+
|
|
|
//获取当前登录用户的信息 ssh 20221014
|
|
|
public function actionCurrentInfo()
|
|
|
{
|