feat:v1.4前端更新

This commit is contained in:
超凡
2025-06-24 14:43:09 +08:00
parent 0268aa5033
commit 35fec82e4a
1026 changed files with 118424 additions and 56490 deletions

View File

@@ -1,6 +1,27 @@
import { appAuth } from '../api/public';
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import { appAuth } from '../api/public';
import { tokenIsExistApi } from '@/api/api.js';
class Apps{
/**
* 校验token是否有效,true为有效false为无效
*/
getTokenIsExist(){
return new Promise( (resolve,reject) => {
tokenIsExistApi().then(res => {
resolve(res.data);
}).catch(reject);
})
}
/**
* 授权登录获取token
* @param {Object} code