kongzy
2023-09-22 3124f3a5b7f45d043b228829b6b3a2e541b31574
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package com.nms.swspkmas_standalone.service.impl;
 
import cn.hutool.crypto.digest.MD5;
import com.nms.swspkmas_standalone.entity.User;
import com.nms.swspkmas_standalone.entity.vo.AccountVO;
import com.nms.swspkmas_standalone.exception.ApiException;
import com.nms.swspkmas_standalone.filter.JwtFilter;
import com.nms.swspkmas_standalone.service.AccountService;
import com.nms.swspkmas_standalone.service.CommonService;
import com.nms.swspkmas_standalone.utils.JwtTokenUtil;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.*;
import org.apache.shiro.subject.Subject;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Service;
 
import java.util.ArrayList;
import java.util.List;
 
@Service
public class CommonServiceImpl implements CommonService {
 
    /**
     * 参考 http://www.stats.gov.cn/sj/tjbz/tjyqhdmhcxhfdm/2022/65.html
     * @return
     */
    @Override
    public List<String> areaListOfXinJiang() {
        List<String> areaList=new ArrayList<>();
        areaList.add("乌鲁木齐市");
        areaList.add("克拉玛依市");
        areaList.add("吐鲁番市");
        areaList.add("哈密市");
        areaList.add("昌吉回族自治州");
        areaList.add("博尔塔拉蒙古自治州");
        areaList.add("巴音郭楞蒙古自治州");
        areaList.add("阿克苏地区");
        areaList.add("克孜勒苏柯尔克孜自治州");
        areaList.add("喀什地区");
        areaList.add("和田地区");
        areaList.add("伊犁哈萨克自治州");
        areaList.add("塔城地区");
        areaList.add("阿勒泰地区");
        areaList.add("自治区直属");
        return areaList;
    }
}