瀏覽代碼

更新

master
huangjiajun 1 周之前
父節點
當前提交
0bda973cb8
共有 2 個檔案被更改,包括 6 行新增2 行删除
  1. +3
    -1
      app/svc/svc_applet_application.go
  2. +3
    -1
      app/svc/svc_applet_application_ad_space.go

+ 3
- 1
app/svc/svc_applet_application.go 查看文件

@@ -27,8 +27,10 @@ func AppletApplicationMediumList(c *gin.Context) {
}
engine := MasterDb(c)
NewMediumDb := implement.NewMediumDb(engine)
user := GetUser(c)
appId := GetMediumIdStr(c, user.AdmId, req.Name, req.Account)

list, total, _ := NewMediumDb.FindSuperAdmin(req.Account, req.Name, utils.StrToInt(req.Page), utils.StrToInt(req.Limit))
list, total, _ := NewMediumDb.FindSuperAdminByMediumId(appId, utils.StrToInt(req.Page), utils.StrToInt(req.Limit))
data := make([]md.AppletApplicationMediumListData, 0)
if len(list) > 0 {
for _, v := range list {


+ 3
- 1
app/svc/svc_applet_application_ad_space.go 查看文件

@@ -26,8 +26,10 @@ func AppletApplicationAdSpaceMediumList(c *gin.Context) {
}
engine := MasterDb(c)
NewMediumDb := implement.NewMediumDb(engine)
user := GetUser(c)
appId := GetMediumIdStr(c, user.AdmId, req.Name, req.Account)

list, total, _ := NewMediumDb.FindSuperAdmin(req.Account, req.Name, utils.StrToInt(req.Page), utils.StrToInt(req.Limit))
list, total, _ := NewMediumDb.FindSuperAdminByMediumId(appId, utils.StrToInt(req.Page), utils.StrToInt(req.Limit))
data := make([]md.AppletApplicationAdSpaceMediumListData, 0)
if len(list) > 0 {
for _, v := range list {


Loading…
取消
儲存