Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
recruiting-management
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
recruiting-management
Commits
f89a016a
Commit
f89a016a
authored
Aug 20, 2019
by
xuezj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决接口访问方式
parent
5f41acd9
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
65 additions
and
69 deletions
+65
-69
home.server.js
src/api/home.server.js
+5
-5
interview.server.js
src/api/interview.server.js
+11
-11
login.server.js
src/api/login.server.js
+3
-3
resume.server.js
src/api/resume.server.js
+16
-16
stystem.server.js
src/api/stystem.server.js
+13
-13
sweepCode.server.js
src/api/sweepCode.server.js
+2
-2
upload.server.js
src/api/upload.server.js
+6
-6
env.config.js
src/config/env.config.js
+4
-13
prod.config.js
src/config/prod.config.js
+5
-0
No files found.
src/api/home.server.js
View file @
f89a016a
import
axios
from
'
../service/http.service
'
import
{
baseApi
,
contractA
pi
sa
pi
}
from
'
../config/env.config
'
import
qs
from
'
qs
'
// 获取个人信息
export
function
getpersonMassage
(
params
)
{
// params=qs.stringify(params)
return
axios
.
get
(
`
sapi
/api/login/me`
,
params
,{
headers
:
{
return
axios
.
get
(
`
${
sapi
}
/api/login/me`
,
params
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
'
X-Requested-With
'
:
'
XMLHttpRequest
'
}})
...
...
@@ -14,21 +14,21 @@ export function getpersonMassage(params) {
// 用户退出
export
function
loginOUT
()
{
// params=qs.stringify(params)
return
axios
.
get
(
`
sapi
/api/login/logout`
,{
headers
:
{
return
axios
.
get
(
`
${
sapi
}
/api/login/logout`
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
'
X-Requested-With
'
:
'
XMLHttpRequest
'
}})
}
//通过某一来源查询简历信息
export
function
adoptOneSeeResumeList
(
parmars
)
{
return
axios
.
post
(
`
sapi
/api/resume/findListBySource`
,
parmars
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/resume/findListBySource`
,
parmars
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
'
X-Requested-With
'
:
'
XMLHttpRequest
'
}})
}
//通过渠道机简历信息
export
function
getChannelMassage
()
{
return
axios
.
get
(
`
sapi
/api/resume/getSourceList`
,{
headers
:
{
return
axios
.
get
(
`
${
sapi
}
/api/resume/getSourceList`
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
'
X-Requested-With
'
:
'
XMLHttpRequest
'
}})
...
...
src/api/interview.server.js
View file @
f89a016a
import
axios
from
'
../service/http.service
'
import
{
baseApi
,
contractA
pi
sa
pi
}
from
'
../config/env.config
'
import
qs
from
'
qs
'
// 更改约面信息
export
function
changeinterviewMassage
(
parmars
)
{
return
axios
.
post
(
`
sapi
/api/resumeInterview/update`
,
parmars
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/resumeInterview/update`
,
parmars
,{
headers
:
{
'
Content-Type
'
:
'
application/json;
'
,
}})
}
// 重启面试
export
function
oppenInterview
(
tid
,
tstatus
)
{
console
.
log
(
tid
,
tstatus
)
return
axios
.
post
(
`
sapi
/api/resumeFlow/reset/
${
tid
}
/
${
tstatus
}
`
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/resumeFlow/reset/
${
tid
}
/
${
tstatus
}
`
,{
headers
:
{
'
Content-Type
'
:
'
application/json;
'
,
}})
}
// 终止面试
export
function
SInterview
(
tid
)
{
return
axios
.
post
(
`
sapi
/api/resumeFlow/end/
${
tid
}
`
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/resumeFlow/end/
${
tid
}
`
,{
headers
:
{
'
Content-Type
'
:
'
application/json;
'
,
}})
}
// 面试管理查询
export
function
SerchList
(
parmars
)
{
return
axios
.
post
(
`
sapi
/api/interview/findListByQueryVO`
,
parmars
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/interview/findListByQueryVO`
,
parmars
,{
headers
:
{
'
Content-Type
'
:
'
application/json;
'
,
'
X-Requested-With
'
:
'
XMLHttpRequest
'
}})
}
//查看简历详情页
export
function
seedetail
(
parmars
)
{
return
axios
.
get
(
`
sapi
/api/html/get/
${
parmars
.
resumeId
}
`
,{
headers
:
{
return
axios
.
get
(
`
${
sapi
}
/api/html/get/
${
parmars
.
resumeId
}
`
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
}})
}
//面试官查询
export
function
Serchinterviewor
()
{
return
axios
.
post
(
`
sapi
/api/interview/findInterviewerList`
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/interview/findInterviewerList`
,{
headers
:
{
'
Content-Type
'
:
'
application/json;
'
,
}})
}
//邀约人查询
export
function
SerchInvitationOwer
()
{
return
axios
.
post
(
`
sapi
/api/interview/findInviterList`
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/interview/findInviterList`
,{
headers
:
{
'
Content-Type
'
:
'
application/json;
'
,
}})
}
//新增约面信息
export
function
NewAddInterview
(
parmars
)
{
return
axios
.
post
(
`
sapi
/api/resumeInterview/add`
,
parmars
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/resumeInterview/add`
,
parmars
,{
headers
:
{
'
Content-Type
'
:
'
application/json;
'
,
}})
}
// 查询记录
export
function
recodeLIST
(
parmars
)
{
return
axios
.
post
(
`
sapi
/api/resumeFlow/history/
${
parmars
.
resumeId
}
`
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/resumeFlow/history/
${
parmars
.
resumeId
}
`
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
}})
}
// 变更状态
export
function
changestatus
(
tid
,
tstatus
)
{
return
axios
.
post
(
`
sapi
/api/resumeFlow/uploadStatus/
${
tid
}
/
${
tstatus
}
`
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/resumeFlow/uploadStatus/
${
tid
}
/
${
tstatus
}
`
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
}})
}
\ No newline at end of file
src/api/login.server.js
View file @
f89a016a
import
axios
from
'
../service/http.service
'
import
{
baseApi
,
contractA
pi
sa
pi
}
from
'
../config/env.config
'
import
qs
from
'
qs
'
//登录
export
function
login
(
params
)
{
// params=qs.stringify(params)
return
axios
.
post
(
`
sapi
/api/login/doLogin`
,
params
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/login/doLogin`
,
params
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
'
X-Requested-With
'
:
'
XMLHttpRequest
'
}})
...
...
@@ -14,7 +14,7 @@ export function login(params) {
//修改密码
export
function
updatePsd
(
params
)
{
// params=qs.stringify(params)
return
axios
.
post
(
`
sapi
/api/login/modifyPassword`
,
params
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/login/modifyPassword`
,
params
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
}})
}
\ No newline at end of file
src/api/resume.server.js
View file @
f89a016a
import
axios
from
'
../service/http.service
'
import
{
baseApi
,
contractA
pi
sa
pi
}
from
'
../config/env.config
'
import
qs
from
'
qs
'
// 查询简历列表
export
function
serchList
(
parmars
){
return
axios
.
post
(
`
sapi
/api/resume/findList`
,
parmars
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/resume/findList`
,
parmars
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
}})
}
// 下载简历(单条)
export
function
downloadone
(
parmars
)
{
parmars
=
qs
.
stringify
(
parmars
)
return
axios
.
post
(
`
sapi
/api/resumeFile/download/formatted/one`
,
parmars
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/resumeFile/download/formatted/one`
,
parmars
,{
headers
:
{
'
Content-Type
'
:
'
application/x-www-form-urlencoded
'
}})
}
// 搜索
export
function
sousuoList
(
parmars
)
{
return
axios
.
post
(
`
sapi
/api/resume/findListByQueryVO`
,
parmars
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/resume/findListByQueryVO`
,
parmars
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
'
X-Requested-With
'
:
'
XMLHttpRequest
'
}})
}
//查看简历详情页
export
function
seedetail
(
parmars
)
{
return
axios
.
get
(
`
sapi
/api/html/get/
${
parmars
.
resumeId
}
`
,{
headers
:
{
return
axios
.
get
(
`
${
sapi
}
/api/html/get/
${
parmars
.
resumeId
}
`
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
}})
}
// 简历pass
export
function
PASS
(
parmars
)
{
console
.
log
(
parmars
)
return
axios
.
post
(
`
sapi
/api/resumeFlow/uploadStatus/
${
parmars
.
id
}
/
${
parmars
.
status
}
`
,
''
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/resumeFlow/uploadStatus/
${
parmars
.
id
}
/
${
parmars
.
status
}
`
,
''
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
}})
}
// 准备约面
export
function
TOSEE
(
parmars
)
{
return
axios
.
post
(
`
sapi
/api/resumeFlow/uploadStatus/
${
parmars
.
id
}
/
${
parmars
.
status
}
`
,
''
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/resumeFlow/uploadStatus/
${
parmars
.
id
}
/
${
parmars
.
status
}
`
,
''
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
}})
}
// 备选
export
function
OPTION
(
parmars
)
{
return
axios
.
post
(
`
sapi
/api/resumeFlow/uploadStatus/
${
parmars
.
id
}
/
${
parmars
.
status
}
`
,
''
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/resumeFlow/uploadStatus/
${
parmars
.
id
}
/
${
parmars
.
status
}
`
,
''
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
}})
}
// 删除简历
export
function
deleteREsume
(
deleteallArr
)
{
return
axios
.
post
(
`
sapi
/api/resume/delete`
,
JSON
.
stringify
(
deleteallArr
),{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/resume/delete`
,
JSON
.
stringify
(
deleteallArr
),{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
'
X-Requested-With
'
:
'
XMLHttpRequest
'
}})
...
...
@@ -58,46 +58,46 @@ export function deleteREsume (deleteallArr) {
// 单条下载简历
export
function
downloadOne
(
parmars
)
{
console
.
log
(
parmars
.
resumeId
)
return
axios
.
get
(
`
sapi
/api/resume/download/formatted/one?resumeId=
${
parmars
.
resumeId
}
`
,{
headers
:
{
return
axios
.
get
(
`
${
sapi
}
/api/resume/download/formatted/one?resumeId=
${
parmars
.
resumeId
}
`
,{
headers
:
{
// 'Content-Type':'application/x-www-form-urlencoded'
}})
}
// 批量下载简历
export
function
downloadALL
()
{
return
axios
.
get
(
`
sapi
/api/resumeFile/download/formatted/compress`
,{
headers
:
{
return
axios
.
get
(
`
${
sapi
}
/api/resumeFile/download/formatted/compress`
,{
headers
:
{
'
Content-Type
'
:
'
application/x-www-form-urlencoded
'
}})
}
// 导出列表
export
function
exportLIST
(
parmars
)
{
return
axios
.
get
(
`
sapi
/api/excel/output?optSource=
${
parmars
.
optSource
}
&keywordString=
${
parmars
.
keywordString
}
&company=
${
parmars
.
company
}
&ownerSex=
${
parmars
.
ownerSex
}
&highestDegreeNum=
${
parmars
.
highestDegreeNum
}
&flowStatusList=
${
parmars
.
flowStatusList
}
&ownerWorkYears1=
${
parmars
.
ownerWorkYears1
}
&ownerWorkYears2=
${
parmars
.
ownerWorkYears2
}
`
,
return
axios
.
get
(
`
${
sapi
}
/api/excel/output?optSource=
${
parmars
.
optSource
}
&keywordString=
${
parmars
.
keywordString
}
&company=
${
parmars
.
company
}
&ownerSex=
${
parmars
.
ownerSex
}
&highestDegreeNum=
${
parmars
.
highestDegreeNum
}
&flowStatusList=
${
parmars
.
flowStatusList
}
&ownerWorkYears1=
${
parmars
.
ownerWorkYears1
}
&ownerWorkYears2=
${
parmars
.
ownerWorkYears2
}
`
,
{
headers
:
{
'
Content-Type
'
:
'
application/json
'
}})
}
// 操作记录
export
function
recodeLIST
(
parmars
)
{
return
axios
.
post
(
`
sapi
/api/resumeFlow/history/
${
parmars
.
resumeId
}
`
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/resumeFlow/history/
${
parmars
.
resumeId
}
`
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
}})
}
//通过某一来源查询简历信息
export
function
adoptOneSeeResumeList
(
parmars
)
{
return
axios
.
post
(
`
sapi
/api/resume/findListBySource`
,
parmars
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/resume/findListBySource`
,
parmars
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
'
X-Requested-With
'
:
'
XMLHttpRequest
'
}})
}
// 新增约面信息
export
function
addinterview
(
parmars
)
{
return
axios
.
post
(
`
sapi
/api/resumeInterview/add`
,
parmars
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/resumeInterview/add`
,
parmars
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
'
X-Requested-With
'
:
'
XMLHttpRequest
'
}})
}
// 修改流程状态
export
function
updatastatus
(
parmars
)
{
return
axios
.
post
(
`
sapi
/api/resumeFlow/uploadStatus/
${
parmars
.
id
}
/
${
parmars
.
status
}
`
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/resumeFlow/uploadStatus/
${
parmars
.
id
}
/
${
parmars
.
status
}
`
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
'
X-Requested-With
'
:
'
XMLHttpRequest
'
}})
...
...
src/api/stystem.server.js
View file @
f89a016a
import
axios
from
'
../service/http.service
'
import
{
baseApi
,
contractA
pi
sa
pi
}
from
'
../config/env.config
'
import
qs
from
'
qs
'
//账号列表查询
export
function
queryaccountList
(
params
)
{
return
axios
.
post
(
`
sapi
/api/user/findList`
,
params
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/user/findList`
,
params
,{
headers
:
{
'
Content-Type
'
:
'
application/json;
'
,
}})
}
//添加账户
export
function
addAccount
(
params
)
{
return
axios
.
post
(
`
sapi
/api/user/add`
,
params
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/user/add`
,
params
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
"
X-Requested-With
"
:
"
XMLHttpRequest
"
}})
}
//删除单条账户
export
function
Delateaccount
(
parmars
){
return
axios
.
get
(
`
sapi
/api/user/delete/
${
parmars
.
id
}
`
,{
headers
:
{
return
axios
.
get
(
`
${
sapi
}
/api/user/delete/
${
parmars
.
id
}
`
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
}})
}
//批量删除
export
function
delateAllAccount
(
DelateARR
){
return
axios
.
post
(
`
sapi
//api/user/delete`
,
JSON
.
stringify
(
DelateARR
),{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
//api/user/delete`
,
JSON
.
stringify
(
DelateARR
),{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
}})
}
//恢复初始密码
export
function
recoveryPassword
(
parmars
){
return
axios
.
post
(
`
sapi
/api/user/initial/
${
parmars
.
id
}
`
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/user/initial/
${
parmars
.
id
}
`
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
}})
}
//查询邮箱列表
export
function
queryemailList
(
parmars
){
return
axios
.
post
(
`
sapi
/api/email/list`
,
parmars
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/email/list`
,
parmars
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
}})
}
// 同步邮箱
export
function
Synchronization
(
parmars
){
return
axios
.
post
(
`
sapi
/api/email/bindAndSync`
,
parmars
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/email/bindAndSync`
,
parmars
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
'
X-Requested-With
'
:
'
XMLHttpRequest
'
}})
}
// 解绑邮箱
export
function
jiebangEmail
(
id
){
return
axios
.
post
(
`
sapi
/api/email/unbind/
${
id
}
`
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/email/unbind/
${
id
}
`
,{
headers
:
{
'
Content-Type
'
:
'
application/x-www-form-urlencoded
'
,
'
X-Requested-With
'
:
'
XMLHttpRequest
'
}})
}
// 修改邮箱并重新绑定
export
function
updateemailTWO
(
parmars
){
return
axios
.
post
(
`
sapi
/api/email/modify`
,
parmars
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/email/modify`
,
parmars
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
'
X-Requested-With
'
:
'
XMLHttpRequest
'
}})
}
// 批量解绑邮箱
export
function
UntyingAll
(
UntyingAllARR
){
return
axios
.
post
(
`
sapi
/api/email/unbind/batch`
,
JSON
.
stringify
(
UntyingAllARR
),{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/email/unbind/batch`
,
JSON
.
stringify
(
UntyingAllARR
),{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
}})
}
// 获取二维码
export
function
getErcode
(){
return
axios
.
get
(
`
sapi
/qrCode/getInterviewQrcode`
,{
headers
:
{
return
axios
.
get
(
`
${
sapi
}
/qrCode/getInterviewQrcode`
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
}})
}
// //下载二维码
// export function downloadErcode(){
// return axios.get(`
sapi
/qrCode/downQrCode`,{headers: {
// return axios.get(`
${sapi}
/qrCode/downQrCode`,{headers: {
// 'Content-Type':'application/json',
// }})
// }
\ No newline at end of file
src/api/sweepCode.server.js
View file @
f89a016a
import
axios
from
'
../service/http.service
'
import
{
baseApi
,
contractA
pi
sa
pi
}
from
'
../config/env.config
'
import
qs
from
'
qs
'
// 提交应聘登记表
export
function
submitMassage
(
params
)
{
// params=qs.stringify(params)
return
axios
.
post
(
`
sapi
/api/interview/arrive`
,
params
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/interview/arrive`
,
params
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
'
X-Requested-With
'
:
'
XMLHttpRequest
'
}})
...
...
src/api/upload.server.js
View file @
f89a016a
import
axios
from
'
../service/http.service
'
import
{
baseApi
,
contractA
pi
sa
pi
}
from
'
../config/env.config
'
import
qs
from
'
qs
'
// 获取上传批次号
export
function
getuploadNumber
()
{
// params=qs.stringify(params)
return
axios
.
get
(
`
sapi
/api/resume/upload/batchNum`
,{
headers
:
{
return
axios
.
get
(
`
${
sapi
}
/api/resume/upload/batchNum`
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
'
X-Requested-With
'
:
'
XMLHttpRequest
'
}})
}
//上传文件
export
function
uploadfile
(
parmars
)
{
return
axios
.
post
(
`
sapi
/api/resume/upload`
,
parmars
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/resume/upload`
,
parmars
,{
headers
:
{
// 'Content-Type':'multipart/form-data',
processData
:
false
,
contentType
:
false
,
...
...
@@ -22,19 +22,19 @@ export function uploadfile(parmars) {
}
// 查询上传列表记录
export
function
serchList
(
parmars
)
{
return
axios
.
post
(
`
sapi
/api/resume/upload/history`
,
parmars
,{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/resume/upload/history`
,
parmars
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
}})
}
// 查询简历详情
export
function
serchRESUMEdetail
(
parmars
)
{
return
axios
.
get
(
`
sapi
/api/html/get/
${
parmars
.
resumeId
}
`
,{
headers
:
{
return
axios
.
get
(
`
${
sapi
}
/api/html/get/
${
parmars
.
resumeId
}
`
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
}})
}
// 查询简历详情
export
function
deleteREsumeUPLOad
(
deleteallArr
)
{
return
axios
.
post
(
`
sapi
/api/resume/delete`
,
JSON
.
stringify
(
deleteallArr
),{
headers
:
{
return
axios
.
post
(
`
${
sapi
}
/api/resume/delete`
,
JSON
.
stringify
(
deleteallArr
),{
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
}})
}
src/config/env.config.js
View file @
f89a016a
const
protocol
=
window
.
location
.
protocol
const
sapi
=
"
//recruit-ai3.liangkebang.net
"
let
baseApi
=
''
let
contractApi
=
''
if
(
process
.
env
.
NODE_ENV
===
'
production
'
){
baseApi
=
'
http://credit.xyqb.com
'
contractApi
=
'
http://pdf.quantgroup.cn
'
}
else
{
baseApi
=
'
http://recruit-ai3.liangkebang.net
'
contractApi
=
`http://recruit-ai3.liangkebang.net`
}
export
{
baseApi
,
contractApi
}
\ No newline at end of file
export
{
sapi
}
\ No newline at end of file
src/config/prod.config.js
View file @
f89a016a
const
sapi
=
'
//api.stantoo.com
'
export
{
sapi
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment