jiangqs
2023-07-05 32bd52ec49d25021b6a35d8ee5f32c70df788165
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/miniapp/AppConfigController.java
@@ -1,17 +1,17 @@
package com.ruoyi.system.controller.miniapp;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.security.utils.SecurityUtils;
import com.ruoyi.system.domain.dto.AppAgreementDto;
import com.ruoyi.system.domain.vo.AppAgreementVo;
import com.ruoyi.system.service.config.AgreementService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
 * @author jqs34
@@ -26,9 +26,8 @@
public class AppConfigController {
    @Autowired
    @Resource
    private AgreementService agreementService;
    @RequestMapping(value = "/getAppAgreement", method = RequestMethod.POST)
@@ -37,7 +36,6 @@
        AppAgreementVo appAgreementVo = agreementService.getAppAgreement(appAgreementDto);
        return R.ok(appAgreementVo);
    }
}