瀏覽代碼

优化一下

hsh 2 年之前
父節點
當前提交
17f02496c5
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/main/java/thyyxxk/webserver/controller/dictionary/NationalMatchController.java

+ 2 - 0
src/main/java/thyyxxk/webserver/controller/dictionary/NationalMatchController.java

@@ -2,6 +2,7 @@ package thyyxxk.webserver.controller.dictionary;
 
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.*;
+import thyyxxk.webserver.config.auth.PassToken;
 import thyyxxk.webserver.entity.ResultVo;
 import thyyxxk.webserver.entity.nationalmatch.QueryParam;
 import thyyxxk.webserver.entity.nationalmatch.StandardLocalItem;
@@ -55,6 +56,7 @@ public class NationalMatchController {
         return service.updateLocalItem(param);
     }
 
+    @PassToken
     @GetMapping("/queryPsnPayProp")
     public String queryPsnPayProp(@RequestParam("hiListCode") String hiListCode) {
         return service.queryPsnPayProp(hiListCode, true);