Browse Source

test

master
huangjiajun 3 days ago
parent
commit
bf8654e58b
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      app/svc/svc_advertising.go

+ 5
- 0
app/svc/svc_advertising.go View File

@@ -140,6 +140,11 @@ func AdvertisingState(c *gin.Context) {
isSuccess = "1" isSuccess = "1"
integral = getString 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{ res := md.AdvertisingState{
IsSuccess: isSuccess, IsSuccess: isSuccess,
Integral: integral, Integral: integral,


Loading…
Cancel
Save