login.php 628 B

12345678910111213141516171819202122232425
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | home
  5. |--------------------------------------------------------------------------
  6. */
  7. $view
  8. # 定义名称
  9. ->fetch('#name', 'store/admin/auth.config#name')
  10. # 定义尾部
  11. ->fetch('#footer', 'store/admin/auth.config#foot', 'none')
  12. # 定义refer
  13. ->fetch('#refer@value', 'store/admin/auth.config#refer')
  14. # 定义form action
  15. ->fetch('#login@action', 'store/admin/auth.config#login_url')
  16. # 定义验证码获取接口
  17. ->fetch('#LAY-user-getsmscode@url', 'store/admin/auth.config#mcode_url')
  18. # display
  19. ->display();