zj
2024-06-03 287ac389edd047696d956afafdb855a93830bc0c
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
package com.nq.controller.backend;
 
import com.nq.common.ServerResponse;
import com.nq.pojo.SiteIndexSetting;
import com.nq.service.ISiteIndexSettingService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
 
 
@Controller
@RequestMapping({"/admin/site/index/"})
public class AdminSiteIndexSettingController {
    private static final Logger log = LoggerFactory.getLogger(AdminSiteIndexSettingController.class);
 
    @Autowired
    ISiteIndexSettingService iSiteIndexSettingService;
 
    //修改风控设置 指数风控信息
    @RequestMapping({"update.do"})
    @ResponseBody
    public ServerResponse update(SiteIndexSetting siteIndexSetting) {
        return this.iSiteIndexSettingService.update(siteIndexSetting);
    }
}