huanghongfa
2020-12-28 c68e631c3ef3c105b82bbc9e40118c3301ea9237
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
31
32
33
package com.panzhihua.service_community.api;
 
import com.panzhihua.common.model.vos.R;
import com.panzhihua.service_community.service.ComOpsAdvService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
import javax.annotation.Resource;
 
/**
 * @program: springcloud_k8s_panzhihuazhihuishequ
 * @description: 广告
 * @author: huang.hongfa weixin hhf9596 qq 959656820
 * @create: 2020-12-28 17:32
 **/
@Slf4j
@RestController
@RequestMapping("/")
public class AdvertisementApi {
    @Resource
    private ComOpsAdvService comOpsAdvService;
 
    /**
     * 获取广告跳转内容配置
     * @return 跳转内容集合
     */
    @PostMapping("getjumpcontent")
    public R getJumpContent(){
        return comOpsAdvService.getJumpContent();
    }
}