mirror of
https://gitee.com/ZhongBangKeJi/crmeb_java.git
synced 2026-05-05 16:01:26 +08:00
feat:v1.4前端更新
This commit is contained in:
@@ -1,41 +1,32 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
|
||||
// | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: CRMEB Team <admin@crmeb.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
import req from './req'
|
||||
import request from '@/utils/request';
|
||||
|
||||
/**
|
||||
* 查询授权
|
||||
* @param pram
|
||||
* 获取版权信息
|
||||
*/
|
||||
export function authCertQuery(prams) {
|
||||
const data = {
|
||||
domain_name:prams.host,
|
||||
label:22,
|
||||
version:'2.0'
|
||||
}
|
||||
return req({
|
||||
url: document.location.protocol + '//authorize.crmeb.net/api/auth_cert_query',
|
||||
// url: 'https://authorize.crmeb.net/api/auth_cert_query',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
export function copyrightInfoApi() {
|
||||
return request({
|
||||
url: '/admin/copyright/get/info',
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 授权表单提交
|
||||
* @description 账号登录检测
|
||||
*/
|
||||
export function authCertSubmit(data) {
|
||||
return req({
|
||||
url: document.location.protocol + '//authorize.crmeb.net/api/auth_apply',
|
||||
// url: 'https://authorize.crmeb.net/api/auth_apply',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function accountDetectionApi(data) {
|
||||
return request({
|
||||
url: '/admin/login/account/detection',
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user