admin
2019-09-18 b19d2e730b0ea707b500b307f58c46ba0cef695f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.yeshi.fanli.controller;
 
import java.io.PrintWriter;
 
import javax.annotation.Resource;
 
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
 
import com.yeshi.fanli.entity.ad.DouYinClickEvent;
import com.yeshi.fanli.service.inter.ad.DouYinClickEventService;
 
@Controller
@RequestMapping("ad/callback/douyin")
public class DouYinCallBackController {
    @Resource
    private DouYinClickEventService douYinClickEventService;
 
    /**
     * 抖音下载回调
     * 
     * @param out
     */
    @RequestMapping("monitor")
    public void download(DouYinClickEvent event, PrintWriter out) {
        douYinClickEventService.save(event);
        out.print("success");
    }
 
}