You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
978 B
39 lines
978 B
//服务端地址
|
|
export const server = "http://localhost:8080"
|
|
|
|
export const prefix={
|
|
manager:'/api/manager',
|
|
user:'/api/user',
|
|
image: "/image/"
|
|
}
|
|
//用户前台地址
|
|
export const fontEnd="http://localhost:3001"
|
|
|
|
//接口地址
|
|
export const API={
|
|
account:{
|
|
//登录
|
|
login:prefix.manager+'/login',
|
|
//注册
|
|
register:prefix.manager+'/register',
|
|
//管理员列表
|
|
list:prefix.manager+'/list',
|
|
//更新
|
|
update:prefix.manager+'/update',
|
|
//删除
|
|
delete:prefix.manager+'/delete/',
|
|
//用户列表列表
|
|
userList:prefix.manager+'/user',
|
|
// 更新用户信息
|
|
updateUser:prefix.manager+'/userUpdate',
|
|
//查询活动信息
|
|
findActivity:prefix.manager+'/find/activity',
|
|
//修改活动信息
|
|
updateActivity:prefix.manager+'/update/',
|
|
//加载时间币
|
|
timeScore:prefix.manager+'/score'
|
|
},
|
|
user:{
|
|
|
|
}
|
|
}
|
|
|