|
|
@ -1,5 +1,6 @@ |
|
|
|
package com.example.demo.serviceImpl; |
|
|
|
|
|
|
|
import com.example.demo.Util.SecurityUtils; |
|
|
|
import com.example.demo.mapper.GeneralMapper; |
|
|
|
import com.example.demo.service.GeneralService; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
@ -107,6 +108,13 @@ public class GeneralServiceImpl implements GeneralService { |
|
|
|
|
|
|
|
return dates; |
|
|
|
} |
|
|
|
/** |
|
|
|
* 获取当前用户有权限查看的market列表 |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
public List<String> getFilterMarket() { |
|
|
|
return SecurityUtils.getMarketList(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|