-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
50 lines (38 loc) · 921 Bytes
/
config.js
File metadata and controls
50 lines (38 loc) · 921 Bytes
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
48
49
50
// 配置文件
const salary = {
405: '10~20K',
406: '20~50K',
};
const city = {
101280100: '广州',
101280600: '深圳',
};
const scale = {
303: '100~499人',
304: '500~999人',
305: '1000~9999人',
306: '10000人以上',
};
export const baseConfig = {
// 岗位
query: '内容运营',
// 薪资范围:405(10-20K)406(20-50K)
salary: 406,
// 地区 广州101280100 深圳101280600
city: 101280100,
// 职位id
// position:
// 公司规模 303(100-499) 304 (500-999)305(1000-9999)306(10000以上)
scale: 304,
};
export const baseQuery = new URLSearchParams(baseConfig).toString();
export const baseURL = 'https://www.zhipin.com/web/geek/job';
export const url = `${baseURL}?${baseQuery}`;
export const queryFileName =
baseConfig.query +
'-' +
city[baseConfig.city] +
'-' +
salary[baseConfig.salary] +
'-' +
scale[baseConfig.scale];