Documentation ¶
Index ¶
- type IndexController
- func (c *IndexController) Get() mvc.Result
- func (c *IndexController) GetChaandcha() mvc.Result
- func (c *IndexController) GetChaxun() mvc.Result
- func (c *IndexController) GetDel()
- func (c *IndexController) GetDel2() mvc.Result
- func (c *IndexController) GetEdit() mvc.Result
- func (c *IndexController) GetGaiandchu() mvc.Result
- func (c *IndexController) GetHuishouzhan() mvc.Result
- func (c *IndexController) GetRoute() string
- func (c *IndexController) GetRuandel()
- func (c *IndexController) GetShijian() mvc.Result
- func (c *IndexController) GetTianjia() mvc.Result
- func (c *IndexController) PostCru()
- func (c *IndexController) PostTianjia() mvc.Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexController ¶
type IndexController struct { Ctx iris.Context ServiceADemo services.ADemoService }
func (*IndexController) Get ¶
func (c *IndexController) Get() mvc.Result
func (*IndexController) GetChaxun ¶
func (c *IndexController) GetChaxun() mvc.Result
GetChaxun Get http://localhost:8080/demo/mysqltest/chaxun 查询和插入演示
func (*IndexController) GetDel ¶
func (c *IndexController) GetDel()
func (*IndexController) GetDel2 ¶
func (c *IndexController) GetDel2() mvc.Result
Get http://localhost:8080/demo/mysqltest/del2 Get 删除 直接跳转页面
func (*IndexController) GetEdit ¶
func (c *IndexController) GetEdit() mvc.Result
func (*IndexController) GetGaiandchu ¶
func (c *IndexController) GetGaiandchu() mvc.Result
Get http://localhost:8080/demo/mysqltest/gaiandchu 修改和删除演示
func (*IndexController) GetHuishouzhan ¶
func (c *IndexController) GetHuishouzhan() mvc.Result
func (*IndexController) GetRoute ¶
func (c *IndexController) GetRoute() string
Get http://localhost:8080/demo/mysqltest/route 打印路由的标签
func (*IndexController) GetRuandel ¶
func (c *IndexController) GetRuandel()
func (*IndexController) GetShijian ¶
func (c *IndexController) GetShijian() mvc.Result
func (*IndexController) GetTianjia ¶
func (c *IndexController) GetTianjia() mvc.Result
Get http://localhost:8080/demo/mysqltest/tianjia 插入数据页面
func (*IndexController) PostCru ¶
func (c *IndexController) PostCru()
Posthttp://localhost:8080/demo/mysqltest/cru 提交修改
func (*IndexController) PostTianjia ¶
func (c *IndexController) PostTianjia() mvc.Result
Post http://localhost:8080/demo/mysqltest/tianjia 插入数据处理页面
Click to show internal directories.
Click to hide internal directories.