Home  >  Q&A  >  body text

Does /admin/login admin refer to the admin directory in the controller?

Before configuring the login route, entering blog.hd/admin/login in the browser will output 234234.

/admin/login Does admin refer to the admin directory in the controller? Does login represent the login function in

LoginController?

public function login(){

return 234234

}


##

****2484 days ago2026

reply all(2)I'll reply

  • GNL(group normal lunatic)

    GNL(group normal lunatic)2017-12-04 09:28:12

    The first one generally represents the controller name, followed by the action name. The first floor is right

    reply
    0
  • PHP中文网

    PHP中文网2017-12-04 09:17:30

    Default url blog.hd/index.php/admin/login admin controller logo operation method

    reply
    0
  • Cancelreply