http://localhost:8084/v1/expand?shorturl=222222&longurl=2343423
beego.Router("/v1/match",&match.MatchController{})
beego.Router("/v1/reg", &user.RegController{})
beego.Router("/v1/log", &user.LogController{})
v1 /../ 相当于路径
match 相当于php里面的文件名一样 。
http://localhost/v1/log/match.php?username=aaaaaaaa&pass=ab9c64e8854703c14375abc9695b56ac&phone1=dsfsdfet35grffdg3q4tg34g&phone2=dfasdfadfadfsdffasdfsdfsfsd
有疑问加站长微信联系(非本文作者)