File tree Expand file tree Collapse file tree 4 files changed +21
-11
lines changed
packageAPI/pages/chattool Expand file tree Collapse file tree 4 files changed +21
-11
lines changed Original file line number Diff line number Diff line change 515
515
"materialType" : " image/*" ,
516
516
"name" : " 用${nickname}打开" ,
517
517
"desc" : " 聊天内容长按打开" ,
518
- "path" : " pages/chattool/material_open/material_open"
518
+ "path" : " packageAPI/ pages/chattool/material_open/material_open"
519
519
}
520
520
],
521
521
"multiSelectSupportedMaterials" : [
522
522
{
523
523
"materialType" : [" image/*" , " text/message" ],
524
524
"desc" : " 聊天内容长按多选打开" ,
525
- "path" : " pages/chattool/material_open/material_open" ,
525
+ "path" : " packageAPI/ pages/chattool/material_open/material_open" ,
526
526
"scopes" : []
527
527
}
528
528
]
Original file line number Diff line number Diff line change
1
+ const util = require ( '../../../../util/util' )
2
+ const systemInfo = wx . getSystemInfoSync ( )
1
3
Page ( {
2
4
data : {
3
5
activityList : [ ] ,
@@ -17,6 +19,15 @@ Page({
17
19
} ,
18
20
19
21
onLoad ( ) {
22
+ if ( util . compareVersion ( systemInfo . SDKVersion , '3.7.8' ) < 0 ) {
23
+ wx . showModal ( {
24
+ title : '需升级微信到新版本体验' ,
25
+ showCancel : false ,
26
+ content : '' ,
27
+ } )
28
+ return
29
+ }
30
+
20
31
wx . cloud . init ( {
21
32
// env 参数说明:
22
33
// env 参数决定接下来小程序发起的云开发调用(wx.cloud.xxx)会默认请求到哪个云环境的资源
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ export function getGroupEnterInfo() {
24
24
roomid : opengid || openSingleRoomID ,
25
25
chatType : groupInfo . data . chat_type
26
26
}
27
- console . info ( '@@@ groupInfo: ' , data )
28
27
resolve ( data )
29
28
} else {
30
29
reject ( )
@@ -37,7 +36,7 @@ export function getGroupEnterInfo() {
37
36
reject ( res )
38
37
} ,
39
38
complete ( res ) {
40
- console . info ( '@@@ getGroupEnterInfo complete: ' , res )
39
+ console . info ( 'getGroupEnterInfo complete: ' , res )
41
40
}
42
41
} )
43
42
} )
Original file line number Diff line number Diff line change 11
11
"condition" : {
12
12
"miniprogram" : {
13
13
"list" : [
14
+ {
15
+ "name" : " 聊天工具-签到助手" ,
16
+ "pathName" : " packageAPI/pages/chattool/activity_assist/activity_assist" ,
17
+ "query" : " " ,
18
+ "launchMode" : " default" ,
19
+ "scene" : null
20
+ },
14
21
{
15
22
"name" : " packageAPI/pages/chattool/material_view/material_view" ,
16
23
"pathName" : " packageAPI/pages/chattool/material_view/material_view" ,
39
46
"launchMode" : " default" ,
40
47
"scene" : null
41
48
},
42
- {
43
- "name" : " 聊天工具-签到助手" ,
44
- "pathName" : " packageAPI/pages/chattool/open-chattool/open-chattool" ,
45
- "query" : " " ,
46
- "launchMode" : " default" ,
47
- "scene" : null
48
- },
49
49
{
50
50
"name" : " gaussian-splatting-ar" ,
51
51
"pathName" : " packageAPI/pages/ar/gaussian-splatting/gaussian-splatting-ar" ,
You can’t perform that action at this time.
0 commit comments