|
|
@@ -8,6 +8,7 @@ import ( |
|
|
|
"code.fnuoos.com/EggPlanet/egg_models.git/src/implement" |
|
|
|
"code.fnuoos.com/EggPlanet/egg_models.git/src/model" |
|
|
|
"github.com/gin-gonic/gin" |
|
|
|
"strings" |
|
|
|
) |
|
|
|
|
|
|
|
func List(c *gin.Context) { |
|
|
@@ -68,6 +69,8 @@ func VisitList(c *gin.Context) { |
|
|
|
} |
|
|
|
uid = utils.Int64ToStr(user.Id) |
|
|
|
} |
|
|
|
req.Platform = strings.ReplaceAll(req.Platform, " ", "") |
|
|
|
req.Type = strings.ReplaceAll(req.Type, " ", "") |
|
|
|
NewAdvertisingCallbackDb := implement.NewAdvertisingCallbackDb(db.Db) |
|
|
|
notice, total, _ := NewAdvertisingCallbackDb.FindAdvertisingCallbackAndTotal(req.Page, req.Limit, req.Amount, uid, req.StartTime, req.EndTime, req.Platform, req.Type) |
|
|
|
resp.Total = total |
|
|
|