Updatepwd.php 445 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace app\user\controller;
  3. use think\Controller;
  4. use think\Lang;
  5. use think\Validate;
  6. class Updatepwd extends Controller
  7. {
  8. public function _initialize()
  9. {
  10. parent::_initialize();
  11. Lang::load(APP_PATH . 'admin/lang/' . config('default_lang') . '/login.lang.php');
  12. }
  13. /**
  14. * 修改密码
  15. * @return mixed
  16. */
  17. public function index()
  18. {
  19. return $this->fetch();
  20. }
  21. }
  22. ?>