zyy
2025-07-15 dfd95b8354429de9b14087cb96cba0ba0cd7265a
src/main/java/com/nq/controller/backend/AdminExchangeRateController.java
@@ -6,6 +6,7 @@
import com.nq.service.ExchangeRateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
@@ -27,11 +28,11 @@
    @ResponseBody
    public ServerResponse getInfo(@RequestParam(value = "pageNum", defaultValue = "1") int pageNum,
                                  @RequestParam(value = "pageSize", defaultValue = "15") int pageSize) {
        return exchangeRateService.getInfo(pageNum, pageSize);
        return exchangeRateService.getInfoPage(pageNum, pageSize);
    }
    //修改汇率
    @RequestMapping({"editRate.do"})
    @PostMapping({"editRate.do"})
    @ResponseBody
    public ServerResponse editRate(ExchangeRate model, HttpServletRequest request) {
        if (model == null) {