Add chart detail page

This commit is contained in:
cuigh
2021-12-15 20:15:25 +08:00
parent 118b5173ab
commit bd7b8364d9
12 changed files with 183 additions and 32 deletions

View File

@@ -91,7 +91,7 @@ func chartDelete(b biz.ChartBiz) web.HandlerFunc {
func chartSave(b biz.ChartBiz) web.HandlerFunc {
return func(ctx web.Context) error {
r := &model.Chart{}
r := &biz.Chart{}
err := ctx.Bind(r, true)
if err == nil {
if r.ID == "" {