From bf8654e58bba70d2122f4f399def5b3cdaa0418f Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 19 Dec 2024 13:14:08 +0800 Subject: [PATCH] test --- app/svc/svc_advertising.go | 5 +++++ 1 file changed, 5 insertions(+) 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,