Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
e7dd0f6a
Commit
e7dd0f6a
authored
Aug 11, 2021
by
maolipeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into feature/zhujian/0726/qwLiving
parents
00fadb3a
e53a1374
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
5 deletions
+8
-5
src/common/js/wechatApi.js
+6
-3
src/domains/basic-domain/constants.ts
+1
-1
src/domains/course-domain/constants.ts
+1
-1
src/modules/college-manage/components/LeftStructureTree.jsx
+0
-0
No files found.
src/common/js/wechatApi.js
View file @
e7dd0f6a
...
...
@@ -36,13 +36,14 @@ export default class WechatApi {
url
:
params
.
url
,
}).
then
((
result2
)
=>
{
const
res2
=
result2
.
result
;
setTimeout
(()
=>
{
this
.
agentConfig
({
corpid
:
res2
.
corpid
,
// 必填,企业微信的corpid,必须与当前登录的企业一致
agentid
:
res2
.
agentid
,
// 必填,企业微信的应用id (e.g. 1000247)
timestamp
:
res2
.
timestamp
,
// 必填,生成签名的时间戳
nonceStr
:
res2
.
nonceStr
,
// 必填,生成签名的随机串
signature
:
res2
.
signature
,
// 必填,签名,见附录-JS-SDK使用权限签名算法
jsApiList
:
[
'selectExternalContact'
,
'getCurExternalContact'
,
'getContext'
,
'shareToExternalContact'
,
'sendChatMessage'
,
'shareToExternalChat
'
],
jsApiList
:
[
'selectExternalContact'
,
'getCurExternalContact'
,
'getContext'
,
'shareToExternalContact'
,
'sendChatMessage'
,
'shareToExternalChat'
,
'startLiving'
,
'replayLiving
'
],
success
:
(
res
)
=>
{
console
.
log
(
res
,
'res-agentconfig'
);
console
.
info
(
'window.WWOpenData'
,
window
.
WWOpenData
);
...
...
@@ -54,6 +55,8 @@ export default class WechatApi {
reject
(
err
);
},
});
},
500
)
});
})
...
...
@@ -150,7 +153,7 @@ export default class WechatApi {
wx
.
ready
(()
=>
{
wx
.
invoke
(
'startLiving'
,
{
"livingId"
:
id
,
},
function
(
res
)
{
},
function
(
res
)
{
if
(
res
.
err_msg
===
"startLiving:ok"
)
{
resolve
(
true
)
}
else
{
...
...
@@ -165,7 +168,7 @@ export default class WechatApi {
wx
.
ready
(()
=>
{
wx
.
invoke
(
'replayLiving'
,
{
"livingId"
:
id
,
},
function
(
res
)
{
},
function
(
res
)
{
if
(
res
.
err_msg
===
"replayLiving:ok"
)
{
resolve
(
true
)
}
else
{
...
...
src/domains/basic-domain/constants.ts
View file @
e7dd0f6a
/*
* @Author: 陈剑宇
* @Date: 2020-05-07 14:43:01
* @LastEditTime: 2021-0
6-22 16:49:06
* @LastEditTime: 2021-0
8-11 22:52:04
* @LastEditors: Please set LastEditors
* @Description:
* @FilePath: /wheat-web-demo/src/domains/basic-domain/constants.ts
...
...
src/domains/course-domain/constants.ts
View file @
e7dd0f6a
...
...
@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Date: 2020-08-20 09:21:40
* @LastEditors: Please set LastEditors
* @LastEditTime: 2021-0
6-11 15:17:56
* @LastEditTime: 2021-0
8-11 22:50:48
* @Description:
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
...
...
src/modules/college-manage/components/LeftStructureTree.jsx
View file @
e7dd0f6a
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment