Commit 6972dfbd9e97b80a54e4a5e9dcc099969fda8485

Authored by ykxie
1 parent 8a698312

cdn

dist/gxb-ide/Dir.js
@@ -623,12 +623,12 @@ @@ -623,12 +623,12 @@
623 if(isAndroid){ 623 if(isAndroid){
624 playTimes++ 624 playTimes++
625 } 625 }
626 - console.log("https://gxb-file.oss-cn-beijing.aliyuncs.com") 626 + console.log("https://gxbfile-gs.gaoxiaobang.com")
627 console.log(audioUrl) 627 console.log(audioUrl)
628 if (role == 0) { 628 if (role == 0) {
629 $.ajax({ 629 $.ajax({
630 type: "get", 630 type: "get",
631 - url: "https://gxb-file.oss-cn-beijing.aliyuncs.com" + audioUrl, 631 + url: "https://gxbfile-gs.gaoxiaobang.com" + audioUrl,
632 success: function(res) { 632 success: function(res) {
633 AudioPlayer(audioUrl) 633 AudioPlayer(audioUrl)
634 var role = getQuery('role'); 634 var role = getQuery('role');
@@ -674,7 +674,7 @@ @@ -674,7 +674,7 @@
674 var player = $.AudioPlayer; 674 var player = $.AudioPlayer;
675 player.init({ 675 player.init({
676 container: '#audioWrap', 676 container: '#audioWrap',
677 - source: "https://gxb-file.oss-cn-beijing.aliyuncs.com" + audioUrl, 677 + source: "https://gxbfile-gs.gaoxiaobang.com" + audioUrl,
678 imagePath: '../js/audioPlayer/image', 678 imagePath: '../js/audioPlayer/image',
679 debuggers: false, 679 debuggers: false,
680 allowSeek: false, 680 allowSeek: false,
dist/js/gb-fuben.js
@@ -966,12 +966,12 @@ $(function() { @@ -966,12 +966,12 @@ $(function() {
966 selectLang(langid); 966 selectLang(langid);
967 compileMode(langid); 967 compileMode(langid);
968 968
969 - console.log("https://gxb-file.oss-cn-beijing.aliyuncs.com" + playData.audioUrl) 969 + console.log("https://gxbfile-gs.gaoxiaobang.com" + playData.audioUrl)
970 970
971 if (_role ==0) { 971 if (_role ==0) {
972 player.init({ 972 player.init({
973 container: '#audioWrap', 973 container: '#audioWrap',
974 - source: "https://gxb-file.oss-cn-beijing.aliyuncs.com" + playData.audioUrl, 974 + source: "https://gxbfile-gs.gaoxiaobang.com" + playData.audioUrl,
975 imagePath: '../js/audioPlayer/image', 975 imagePath: '../js/audioPlayer/image',
976 debuggers: false, 976 debuggers: false,
977 allowSeek: false, 977 allowSeek: false,
@@ -1219,7 +1219,7 @@ $(function() { @@ -1219,7 +1219,7 @@ $(function() {
1219 type: "get", 1219 type: "get",
1220 url: apiUrl, 1220 url: apiUrl,
1221 success: function(coderecords) { 1221 success: function(coderecords) {
1222 - $("#play_audio").attr('src', "https://gxb-file.oss-cn-beijing.aliyuncs.com/" + coderecords.audioUrl); 1222 + $("#play_audio").attr('src', "https://gxbfile-gs.gaoxiaobang.com/" + coderecords.audioUrl);
1223 if (_role == 0) { 1223 if (_role == 0) {
1224 var coderecords = coderecords.codeRecordList; 1224 var coderecords = coderecords.codeRecordList;
1225 } else if (_role == 1) { 1225 } else if (_role == 1) {
dist/js/gb.js
@@ -970,12 +970,12 @@ $(function() { @@ -970,12 +970,12 @@ $(function() {
970 selectLang(langid); 970 selectLang(langid);
971 compileMode(langid); 971 compileMode(langid);
972 972
973 - console.log("https://gxb-file.oss-cn-beijing.aliyuncs.com" + playData.audioUrl) 973 + console.log("https://gxbfile-gs.gaoxiaobang.com" + playData.audioUrl)
974 974
975 if (_role ==0) { 975 if (_role ==0) {
976 player.init({ 976 player.init({
977 container: '#audioWrap', 977 container: '#audioWrap',
978 - source: "https://gxb-file.oss-cn-beijing.aliyuncs.com" + playData.audioUrl, 978 + source: "https://gxbfile-gs.gaoxiaobang.com" + playData.audioUrl,
979 imagePath: '../js/audioPlayer/image', 979 imagePath: '../js/audioPlayer/image',
980 debuggers: false, 980 debuggers: false,
981 allowSeek: false, 981 allowSeek: false,
@@ -1222,7 +1222,7 @@ $(function() { @@ -1222,7 +1222,7 @@ $(function() {
1222 type: "get", 1222 type: "get",
1223 url: apiUrl, 1223 url: apiUrl,
1224 success: function(coderecords) { 1224 success: function(coderecords) {
1225 - $("#play_audio").attr('src', "https://gxb-file.oss-cn-beijing.aliyuncs.com/" + coderecords.audioUrl); 1225 + $("#play_audio").attr('src', "https://gxbfile-gs.gaoxiaobang.com/" + coderecords.audioUrl);
1226 if (_role == 0) { 1226 if (_role == 0) {
1227 var coderecords = coderecords.codeRecordList; 1227 var coderecords = coderecords.codeRecordList;
1228 } else if (_role == 1) { 1228 } else if (_role == 1) {
src/gxb-ide/Dir.js
@@ -623,13 +623,13 @@ @@ -623,13 +623,13 @@
623 if(isAndroid){ 623 if(isAndroid){
624 playTimes++ 624 playTimes++
625 } 625 }
626 - console.log("https://gxb-file.oss-cn-beijing.aliyuncs.com") 626 + console.log("https://gxbfile-gs.gaoxiaobang.com")
627 console.log(audioUrl) 627 console.log(audioUrl)
628 if (role == 0) { 628 if (role == 0) {
629 $.ajax({ 629 $.ajax({
630 type: "get", 630 type: "get",
631 - url: "https://gxb-file.oss-cn-beijing.aliyuncs.com" + audioUrl,  
632 - success: function(res) { 631 + url: "https://gxbfile-gs.gaoxiaobang.com" + audioUrl,
  632 + success: function(res) {
633 AudioPlayer(audioUrl) 633 AudioPlayer(audioUrl)
634 var role = getQuery('role'); 634 var role = getQuery('role');
635 if (role == 0) { 635 if (role == 0) {
@@ -674,7 +674,7 @@ @@ -674,7 +674,7 @@
674 var player = $.AudioPlayer; 674 var player = $.AudioPlayer;
675 player.init({ 675 player.init({
676 container: '#audioWrap', 676 container: '#audioWrap',
677 - source: "https://gxb-file.oss-cn-beijing.aliyuncs.com" + audioUrl, 677 + source: "https://gxbfile-gs.gaoxiaobang.com" + audioUrl,
678 imagePath: '../js/audioPlayer/image', 678 imagePath: '../js/audioPlayer/image',
679 debuggers: false, 679 debuggers: false,
680 allowSeek: false, 680 allowSeek: false,
src/js/gb-fuben.js
@@ -966,12 +966,12 @@ $(function() { @@ -966,12 +966,12 @@ $(function() {
966 selectLang(langid); 966 selectLang(langid);
967 compileMode(langid); 967 compileMode(langid);
968 968
969 - console.log("https://gxb-file.oss-cn-beijing.aliyuncs.com" + playData.audioUrl) 969 + console.log("https://gxbfile-gs.gaoxiaobang.com" + playData.audioUrl)
970 970
971 if (_role ==0) { 971 if (_role ==0) {
972 player.init({ 972 player.init({
973 container: '#audioWrap', 973 container: '#audioWrap',
974 - source: "https://gxb-file.oss-cn-beijing.aliyuncs.com" + playData.audioUrl, 974 + source: "https://gxbfile-gs.gaoxiaobang.com" + playData.audioUrl,
975 imagePath: '../js/audioPlayer/image', 975 imagePath: '../js/audioPlayer/image',
976 debuggers: false, 976 debuggers: false,
977 allowSeek: false, 977 allowSeek: false,
@@ -1219,7 +1219,7 @@ $(function() { @@ -1219,7 +1219,7 @@ $(function() {
1219 type: "get", 1219 type: "get",
1220 url: apiUrl, 1220 url: apiUrl,
1221 success: function(coderecords) { 1221 success: function(coderecords) {
1222 - $("#play_audio").attr('src', "https://gxb-file.oss-cn-beijing.aliyuncs.com/" + coderecords.audioUrl); 1222 + $("#play_audio").attr('src', "https://gxbfile-gs.gaoxiaobang.com/" + coderecords.audioUrl);
1223 if (_role == 0) { 1223 if (_role == 0) {
1224 var coderecords = coderecords.codeRecordList; 1224 var coderecords = coderecords.codeRecordList;
1225 } else if (_role == 1) { 1225 } else if (_role == 1) {
src/js/gb.js
@@ -970,12 +970,12 @@ $(function() { @@ -970,12 +970,12 @@ $(function() {
970 selectLang(langid); 970 selectLang(langid);
971 compileMode(langid); 971 compileMode(langid);
972 972
973 - console.log("https://gxb-file.oss-cn-beijing.aliyuncs.com" + playData.audioUrl) 973 + console.log("https://gxbfile-gs.gaoxiaobang.com" + playData.audioUrl)
974 974
975 if (_role ==0) { 975 if (_role ==0) {
976 player.init({ 976 player.init({
977 container: '#audioWrap', 977 container: '#audioWrap',
978 - source: "https://gxb-file.oss-cn-beijing.aliyuncs.com" + playData.audioUrl, 978 + source: "https://gxbfile-gs.gaoxiaobang.com" + playData.audioUrl,
979 imagePath: '../js/audioPlayer/image', 979 imagePath: '../js/audioPlayer/image',
980 debuggers: false, 980 debuggers: false,
981 allowSeek: false, 981 allowSeek: false,
@@ -1222,7 +1222,7 @@ $(function() { @@ -1222,7 +1222,7 @@ $(function() {
1222 type: "get", 1222 type: "get",
1223 url: apiUrl, 1223 url: apiUrl,
1224 success: function(coderecords) { 1224 success: function(coderecords) {
1225 - $("#play_audio").attr('src', "https://gxb-file.oss-cn-beijing.aliyuncs.com/" + coderecords.audioUrl); 1225 + $("#play_audio").attr('src', "https://gxbfile-gs.gaoxiaobang.com/" + coderecords.audioUrl);
1226 if (_role == 0) { 1226 if (_role == 0) {
1227 var coderecords = coderecords.codeRecordList; 1227 var coderecords = coderecords.codeRecordList;
1228 } else if (_role == 1) { 1228 } else if (_role == 1) {