浏览代码

Merge branch 'main' of http://git.mokasz.com/maomao/mini_read_space_front

qiansailong 1 年之前
父节点
当前提交
19f854fecc
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      api/api.js
  2. 2 2
      app.js

+ 1 - 1
api/api.js

@@ -153,7 +153,7 @@ export function getRelatedVideos(params = {}) {
     tag_id,
     count,
     filter_id,
-    uuid: "128eaeb697b2e02aa4badbc02f49c182",
+    uuid: getApp().globalData.uuid,
     gh_id: "gh_acc9a32b2122"
   };
   

+ 2 - 2
app.js

@@ -7,8 +7,8 @@ const novelPlugin = requirePlugin('novel-plugin')
 import { userLogin,getChapterUnlockStatus,getNovelDetail,addBrowsingHistory } from './api/api'
 
 App({
-  onLaunch() {
-
+  onLaunch(options) {
+    console.log('场景值:',options.scene);
     novelPlugin.setLoggerConfig({
       info: true,
       debug: true,