guoshilong
2023-10-27 2311b03aee9db1bebacdd2ced13c071efda6a011
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
import http from '@/http/api.js'
import {
    dataCenterUrl
} from '@/common/setting.js'
 
 
export const regionList = (params) => {
    //http://10.10.2.192/services/1234567890ABCDEFGHIJKLMN/ad_scal_cnt/api
    return http.request({
        url: dataCenterUrl + '/1234567890ABCDEFGHIJKLMN/ad_scal_cnt/api',
        method: 'GET',
        params: {
            ...
            params
        }
    })
}
 
export const getRegionList = (params) => {
    //https://sk.hubeishuiyi.cn/api/blade-sm/sjztmd/attad/select?code=420000000000&showFour=true
    return http.request({
        url: '/api//blade-sm/sjztmd/attad/select',
        method: 'GET',
        params: {
            ...params,
            showFour: true
        }
    })
}