mirror of
https://github.com/cuigh/swirl
synced 2025-06-26 18:16:50 +00:00
Add chart detail page
This commit is contained in:
@@ -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 == "" {
|
||||
|
||||
Reference in New Issue
Block a user