diff --git a/app/svc/svc_advertising.go b/app/svc/svc_advertising.go index ef8158b..8c7e199 100644 --- a/app/svc/svc_advertising.go +++ b/app/svc/svc_advertising.go @@ -140,6 +140,11 @@ func AdvertisingState(c *gin.Context) { isSuccess = "1" integral = getString } + utils.FilePutContents("AdvertisingState", utils.SerializeStr(map[string]interface{}{ + "is_success": isSuccess, + "id": req.Id, + "time": time.Now().Format("2006-01-02 15:04:05"), + })) res := md.AdvertisingState{ IsSuccess: isSuccess, Integral: integral,