This commit is contained in:
苏尹岚
2020-10-13 11:21:48 +08:00
parent c9263befb3
commit be58e21519
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
package controllers
import "github.com/astaxie/beego"
type JobController struct {
beego.Controller
}

View File

@@ -41,6 +41,11 @@ func init() {
&controllers.OrderController{},
),
),
beego.NSNamespace("/job",
beego.NSInclude(
&controllers.JobController{},
),
),
)
beego.AddNamespace(ns)
beego.AutoRouter(&controllers.TongLianController{})