Commit e23ac692 authored by maliang's avatar maliang

权限控制

parent 8a2b5b76
package com.boot.security.server.controller; package com.boot.security.server.controller;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.boot.security.server.dao.AdvertDao; import com.boot.security.server.dao.AdvertDao;
import com.boot.security.server.model.AdvertiserData; import com.boot.security.server.model.AdvertiserData;
...@@ -14,9 +14,8 @@ import org.springframework.beans.factory.annotation.Autowired; ...@@ -14,9 +14,8 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import java.util.Iterator;
import java.util.List; import java.util.List;
import java.util.Map;
@RestController @RestController
@RequestMapping("/advertiserController") @RequestMapping("/advertiserController")
......
package com.boot.security.server.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/copyrightBookController")
public class CopyrightBookController {
}
package com.boot.security.server.dao;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface CopyrightDao {
}
package com.boot.security.server.service;
public interface CopyrightBookService {
}
package com.boot.security.server.service.impl;
public class CopyrightBookServiceImpl {
}
...@@ -71,4 +71,4 @@ token: ...@@ -71,4 +71,4 @@ token:
seconds: 7200 seconds: 7200
jwtSecret: (XIAO:)_$^11244^%$_(WEI:)_@@++--(LAO:)_++++_.sds_(SHI:) jwtSecret: (XIAO:)_$^11244^%$_(WEI:)_@@++--(LAO:)_++++_.sds_(SHI:)
server: server:
port: 8089 port: 8091
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment