mirror of
https://github.com/chatopera/cosin.git
synced 2025-07-24 08:31:45 +08:00
https://github.com/cskefu/cskefu/issues/937 add help link for license import
Signed-off-by: Hai Liang Wang <hai@chatopera.com>
This commit is contained in:
parent
d7f770c44e
commit
4bd455784e
@ -75,7 +75,20 @@ function processUserAddOrUpdateResult(responsecode, cb) {
|
||||
function handleGeneralCodeInQueryPathOrApiResp(code, cb) {
|
||||
switch (code) {
|
||||
case 'billingquotaexception.no_license_found':
|
||||
layer.msg('【使用授权证书】证书不存在,联系系统超级管理员导入。', {icon: 2, time: 5000});
|
||||
layer.confirm('证书不存在,联系系统超级管理员导入。', {
|
||||
title: '使用授权证书', icon: 2, btn: [
|
||||
'我是超级管理员', '查看说明'
|
||||
],
|
||||
btn1: function (index, layero, that) {
|
||||
// 我是超级管理员
|
||||
return false;
|
||||
},
|
||||
btn2: function (index, layero, that) {
|
||||
// 查看说明
|
||||
window.open("https://docs.cskefu.com/docs/licenses", "_blank");
|
||||
return false;
|
||||
}
|
||||
});
|
||||
if (cb && (typeof (x) === 'function')) {
|
||||
cb()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user