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
05eabeab
Commit
05eabeab
authored
Jan 27, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:更改视频课提示
parent
263e00ad
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
8 deletions
+13
-8
CHANGE_LOG.md
+6
-1
src/domains/basic-domain/constants.ts
+2
-2
src/domains/course-domain/constants.ts
+2
-2
src/modules/course-manage/video-course/components/VideoCourseList.jsx
+2
-2
src/modules/root/WechatLogin.tsx
+1
-1
No files found.
CHANGE_LOG.md
View file @
05eabeab
...
...
@@ -2,7 +2,7 @@
*
@Author: zhangleyuan
*
@Date: 2020-12-15 19:58:31
*
@LastEditors: zhangleyuan
*
@LastEditTime: 2021-01-
04 20:10:06
*
@LastEditTime: 2021-01-
27 19:54:58
*
@Description: 描述一下
*
@@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
-->
...
...
@@ -18,4 +18,8 @@
`2020-01-04`
+
播种计划一期第二阶段初上线
`2021-01-27`
+
播种计划一期第二阶段初上线
\ No newline at end of file
src/domains/basic-domain/constants.ts
View file @
05eabeab
/*
* @Author: 陈剑宇
* @Date: 2020-05-07 14:43:01
* @LastEditTime: 2021-01-2
5 20:05:2
8
* @LastEditTime: 2021-01-2
7 19:52:5
8
* @LastEditors: zhangleyuan
* @Description:
* @FilePath: /wheat-web-demo/src/domains/basic-domain/constants.ts
...
...
@@ -9,7 +9,7 @@
import
{
MapInterface
}
from
'@/domains/basic-domain/interface'
// 默认是 dev 环境
const
ENV
:
string
=
process
.
env
.
DEPLOY_ENV
||
'
rc
'
;
const
ENV
:
string
=
process
.
env
.
DEPLOY_ENV
||
'
prod
'
;
console
.
log
(
"process.env.DEPLOY_ENV"
,
process
)
const
BASIC_HOST_MAP
:
MapInterface
=
{
dev
:
'https://dev-heimdall.xiaomai5.com/'
,
...
...
src/domains/course-domain/constants.ts
View file @
05eabeab
...
...
@@ -2,12 +2,12 @@
* @Author: 吴文洁
* @Date: 2020-08-20 09:21:40
* @LastEditors: zhangleyuan
* @LastEditTime: 2021-01-2
5 20:04:20
* @LastEditTime: 2021-01-2
7 19:53:17
* @Description:
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
import
{
MapInterface
}
from
'@/domains/basic-domain/interface'
const
ENV
:
string
=
process
.
env
.
DEPLOY_ENV
||
'
rc
'
;
const
ENV
:
string
=
process
.
env
.
DEPLOY_ENV
||
'
prod
'
;
const
appIdMap
:
MapInterface
=
{
dev
:
'wx3ea60e78ddfa277e'
,
...
...
src/modules/course-manage/video-course/components/VideoCourseList.jsx
View file @
05eabeab
...
...
@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Date: 2020-08-05 10:12:45
* @LastEditors: zhangleyuan
* @LastEditTime: 2021-01-2
6 11:24:17
* @LastEditTime: 2021-01-2
7 19:53:30
* @Description: 视频课-列表模块
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -23,7 +23,7 @@ import User from '@/common/js/user'
import
'./VideoCourseList.less'
;
const
ENV
=
process
.
env
.
DEPLOY_ENV
||
'
rc
'
;
const
ENV
=
process
.
env
.
DEPLOY_ENV
||
'
prod
'
;
class
VideoCourseList
extends
React
.
Component
{
...
...
src/modules/root/WechatLogin.tsx
View file @
05eabeab
...
...
@@ -26,7 +26,7 @@ export default function WechatLogin(props: any) {
if
(
status
===
0
)
{
Service
.
Hades
(
"anon/hades/getTicket"
,
{}).
then
((
res
:
any
)
=>
{
setTicket
(
res
.
result
)
const
redirect
=
`
${
location
.
origin
+
location
.
pathname
.
replace
(
'index.html'
,
''
)
+
'h5.html'
}
?ticket=
${
res
.
result
}
&appTermEnum=XIAOMAI_CLOUD_CLASS_PC_WEB_ADMIN&env=
${
process
.
env
.
DEPLOY_ENV
||
'
rc
'
}
`
const
redirect
=
`
${
location
.
origin
+
location
.
pathname
.
replace
(
'index.html'
,
''
)
+
'h5.html'
}
?ticket=
${
res
.
result
}
&appTermEnum=XIAOMAI_CLOUD_CLASS_PC_WEB_ADMIN&env=
${
process
.
env
.
DEPLOY_ENV
||
'
prod
'
}
`
// console.log(redirect)
// const url = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=ww409ccf9c6e31f19e&redirect_uri=${encodeURIComponent(redirect)}&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect`
// console.log(url)
...
...
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