|
@@ -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, |
|
|