自动化立体仓库 - WMS系统
luxiaotao1123
2020-08-01 1ef6817089e2095b2cff7667740330d27ca3d68e
src/main/java/com/zy/common/web/AuthController.java
@@ -17,10 +17,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.*;
@@ -327,5 +324,10 @@
        return R.ok(resources);
    }
    @PostMapping(value = "/system/secret/auth")
    @ManagerAuth(memo = "更新秘钥")
    public R systemSecret(@RequestParam(value = "secret") String secret) {
        return R.ok(secret);
    }
}