liyongli 8 miesięcy temu
rodzic
commit
120cc876bc

+ 4 - 3
src/views/Activity/Activity.vue

@@ -29,7 +29,7 @@
 
 <script>
 // @ is an alias to /src
-let sha256 = require("js-sha256").sha256;
+// let sha256 = require("js-sha256").sha256;
 import { guijiLogin, guijiActivity, defaultAjax } from "@/api/index";
 import derunsanqin from "./views/derunsanqin.vue";
 import defaultComponent from "./views/defaultComponent.vue";
@@ -62,7 +62,7 @@ export default {
       }
       let from = new FormData();
       from.append("username", "lyl");
-      from.append("sign", sha256("lyl?lyl@Q41qtjsql").toLowerCase());
+      from.append("sign", 'd9fc62ef304cec188e51bfd2df556a344a38d5a04cb7d4050c5d2ed12fa8631e');
       guijiLogin(from).then(res => {
         localStorage.guijiToken = res.token || "";
         guijiActivity().then(topic => {
@@ -73,7 +73,7 @@ export default {
     getMap() {
       defaultAjax({
         url:
-          "https://dangjian-web.oss-accelerate-overseas.aliyuncs.com/dj/static/chinaMap.json",
+          "https://djweb.smcic.net/dj/static/chinaMap.json",
       }).then(map => {
         localStorage.setItem("chinaMap", JSON.stringify(map.json));
         this.init();
@@ -128,6 +128,7 @@ export default {
         },
       ]);
       this.activitys = activitys;
+      console.log(this.activitys)
       this.select = (this.activitys[0] || {}).componentReal;
       this.selectA[this.select] = true;
     },

+ 1 - 1
src/views/Activity/views/mianmianjiedao.vue

@@ -131,7 +131,7 @@ export default {
   mounted() {
     defaultAjax({
       url:
-        "https://dangjian-web.oss-cn-chengdu.aliyuncs.com/data/mmjd/all.json?v=" +
+        "https://djweb.smcic.net/data/mmjd/all.json?v=" +
         Date.now(),
     }).then(res => {
       this.platform = res.platform || [];

+ 2 - 2
src/views/Jugou/Jugouout.vue

@@ -126,9 +126,9 @@ export default {
         channelId: 1,
         channelName: '陕西卫视',
         videoUrl:
-          'http://smcic-bigdata.oss-cn-chengdu.aliyuncs.com/live-flow/video/20230814/1.mp4',
+          'https://cxzx.smcic.net/live-flow/video/20230814/1.mp4',
         dataUrl:
-          'https://smcic-bigdata.oss-cn-chengdu.aliyuncs.com/live-flow/channel/20230814/channel-1.json',
+          'https://cxzx.smcic.net/live-flow/channel/20230814/channel-1.json',
         dt: '2023-08-14',
         channelStatus: 0,
         isDefault: 1,