智盟项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
453 B

  1. package svc
  2. import (
  3. "applet/app/db"
  4. "applet/app/e"
  5. "github.com/gin-gonic/gin"
  6. )
  7. func GetPlayletOrder(c *gin.Context) {
  8. var args map[string]string
  9. if err := c.ShouldBindJSON(&args); err != nil {
  10. e.OutErr(c, e.ERR_INVALID_ARGS, err)
  11. return
  12. }
  13. playletSaleOrderDb := db.PlayletSaleOrderDb{}
  14. playletSaleOrderDb.Set()
  15. args["mid"] = c.GetString("mid")
  16. list := playletSaleOrderDb.GetPlayletVideoOrderList(args)
  17. e.OutSuc(c, list, nil)
  18. return
  19. }