Browse Source

Merge branch 'master' into 'master'

优化一下

See merge request lighter/web-server!36
huangshuhua 2 years ago
parent
commit
c4624bb5ef

+ 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);