main
kgdxpr 7 months ago
parent f4a0746968
commit c4f790b962

@ -31,9 +31,10 @@
async: false,
url: "/QingLong/maxkb/getApplication",
success: function (res) {
console.log(res);
if (res.success) {
var appId = res.data;
var iframe = '<iframe src="http://10.10.14.207:8080/ui/chat/' + appId + '" style="width: 100%; height: 100%;" frameborder="0" allow="microphone"></iframe>';
var iframe = '<iframe src="http://10.10.14.206:8080/ui/chat/' + appId + '" style="width: 100%; height: 100%;" frameborder="0" allow="microphone"></iframe>';
$('body').append(iframe);
} else {
@ -50,7 +51,7 @@
if (result.success) {
layer.close(loadIndex);
var appId = res.data;
var iframe = '<iframe src="http://10.10.14.207:8080/ui/chat/' + appId + '" style="width: 100%; height: 100%;" frameborder="0" allow="microphone"></iframe>';
var iframe = '<iframe src="http://10.10.14.206:8080/ui/chat/' + appId + '" style="width: 100%; height: 100%;" frameborder="0" allow="microphone"></iframe>';
$('body').append(iframe);
} else {
layer.close(loadIndex);

Loading…
Cancel
Save