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.
12 lines
361 B
12 lines
361 B
// noinspection SpellCheckingInspection
|
|
|
|
import http from 'apis/axios';
|
|
|
|
const apiUrl = 'https://test.tall.wiki';
|
|
const users = `${apiUrl}/gateway/ptostall/users`;
|
|
|
|
// 根据userId 获取token
|
|
export const getToken = userId => http.get(`${users}/userId`, { params: { userId } });
|
|
|
|
// 登录
|
|
export const signIn = params => http.post(`${users}/signin`, params);
|
|
|