1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <?php
- /**
- * FecShop file.
- *
- * @link http://www.fecshop.com/
- * @copyright Copyright (c) 2016 FecShop Software LLC
- * @license http://www.fecshop.com/license/
- */
- namespace fecadmin\controllers;
- use Yii;
- use yii\helpers\Url;
- use fecadmin\FecadminbaseController;
- /**
- * @author Terry Zhao <2358269014@qq.com>
- * @since 1.0
- */
- class AccountController extends FecadminbaseController
- {
-
-
- # 我的账户
- public function actionIndex()
- {
- $data = $this->getBlock()->getLastData();
- return $this->render($this->action->id,$data);
- }
-
- # 我的账户
- public function actionManager()
- {
- //echo $this->action->id ;exit;
- $data = $this->getBlock()->getLastData();
- return $this->render($this->action->id,$data);
- }
-
-
- public function actionManageredit()
- {
- //echo $this->action->id ;exit;
- $data = $this->getBlock()->getLastData();
- return $this->render($this->action->id,$data);
- }
-
- public function actionManagereditsave()
- {
-
- //echo $this->action->id ;exit;
- $data = $this->getBlock("manageredit")->save();
- //return $this->render($this->action->id,$data);
- }
-
- public function actionManagerdelete()
- {
- //echo $this->action->id ;exit;
- $this->getBlock("manageredit")->delete();
-
- }
-
-
- }
|