Commit 7397fdfe by chengzhichun

跳转登录

parent 57230b29
......@@ -16,9 +16,11 @@ export function getBcakUrlApi(data) {
export function createdUserJWTApi(data) {
return new Promise((resolve, reject) => {
indexApi.createdUserJWT().then(res => {
if (res.data.code == 200) {
resolve(res.data.data);
}
if (res.data.code == 200) {
resolve(res.data.data);
}else{
reject(res.data.data);
}
});
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment