Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
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
Chao Sun
CFFP-HB
Commits
75830e7b
Commit
75830e7b
authored
Feb 27, 2023
by
sunchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口环境变更
parent
711d579e
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
55 additions
and
14 deletions
+55
-14
androidPrivacy.json
+1
-1
components/bootpage/bootpage.vue
+2
-1
components/login/login.vue
+2
-1
environments/environment.ts
+1
-1
manifest.json
+3
-3
pages/courseDetail/courseDetail.vue
+38
-2
pages/invitationRegister/invitationlogin.vue
+2
-1
pages/inviteJoin/inviteJoin.vue
+3
-2
pages/personalCenter/accountoperation/resetpassword.vue
+2
-1
util/uploaderFile.ts
+1
-1
No files found.
androidPrivacy.json
View file @
75830e7b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
"version"
:
"1"
,
"version"
:
"1"
,
"prompt"
:
"template"
,
"prompt"
:
"template"
,
"title"
:
"服务协议和隐私政策"
,
"title"
:
"服务协议和隐私政策"
,
"message"
:
" 请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/> 你可阅读<a href=
\"
https://mdev.zuihuibi.cn/cffp/components/clause/clause?type=1
\"
>《服务协议》</a>和<a href=
\"
https://mdev.zuihuibi.cn/cffp/components/clause/clause?type=2
\"
>《隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。"
,
"message"
:
" 请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/> 你可阅读<a href=
\"
https://mdev.zuihuibi.cn/cffp/components/clause/clause?type=1
&isBack=1
\"
>《服务协议》</a>和<a href=
\"
https://mdev.zuihuibi.cn/cffp/components/clause/clause?type=2&isBack=1
\"
>《隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。"
,
"buttonAccept"
:
"同意并接受"
,
"buttonAccept"
:
"同意并接受"
,
"buttonRefuse"
:
"暂不同意"
,
"buttonRefuse"
:
"暂不同意"
,
"second"
:
{
"second"
:
{
...
...
components/bootpage/bootpage.vue
View file @
75830e7b
...
@@ -58,7 +58,8 @@
...
@@ -58,7 +58,8 @@
sendMessage
(){
sendMessage
(){
const
params
=
{
const
params
=
{
mobileNo
:
this
.
mobile
,
mobileNo
:
this
.
mobile
,
type
:
"1"
type
:
"1"
,
source
:
"cffp"
}
}
if
(
common
.
mobileNoValid
(
this
.
mobile
)
&&
!
this
.
disabledSendBtn
){
if
(
common
.
mobileNoValid
(
this
.
mobile
)
&&
!
this
.
disabledSendBtn
){
api
.
verificationCode
(
params
).
then
((
res
)
=>
{
api
.
verificationCode
(
params
).
then
((
res
)
=>
{
...
...
components/login/login.vue
View file @
75830e7b
...
@@ -120,7 +120,8 @@
...
@@ -120,7 +120,8 @@
sendMessage
(){
sendMessage
(){
const
params
=
{
const
params
=
{
mobileNo
:
this
.
form
.
mobile
,
mobileNo
:
this
.
form
.
mobile
,
type
:
"1"
type
:
"1"
,
source
:
"cffp"
}
}
if
(
common
.
mobileNoValid
(
this
.
form
.
mobile
)
&&
!
this
.
disabledSendBtn
){
if
(
common
.
mobileNoValid
(
this
.
form
.
mobile
)
&&
!
this
.
disabledSendBtn
){
api
.
verificationCode
(
params
).
then
((
res
)
=>
{
api
.
verificationCode
(
params
).
then
((
res
)
=>
{
...
...
environments/environment.ts
View file @
75830e7b
...
@@ -19,7 +19,7 @@ const config = {
...
@@ -19,7 +19,7 @@ const config = {
stage
,
stage
,
prod
prod
}
}
let
env
=
'
prod
'
;
let
env
=
'
dev
'
;
// if (process.env.NODE_ENV === 'development') {
// if (process.env.NODE_ENV === 'development') {
// env = 'dev';
// env = 'dev';
// }else if (process.env.NODE_ENV === 'production') {
// }else if (process.env.NODE_ENV === 'production') {
...
...
manifest.json
View file @
75830e7b
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
"share"
:
{
"share"
:
{
"weixin"
:
{
"weixin"
:
{
"appid"
:
"wxb591d0034cdcf0cd"
,
"appid"
:
"wxb591d0034cdcf0cd"
,
"UniversalLinks"
:
"https://m
cffp.anjibao
.cn/app/"
"UniversalLinks"
:
"https://m
app.cffp.org
.cn/app/"
}
}
},
},
"ad"
:
{},
"ad"
:
{},
...
@@ -84,13 +84,13 @@
...
@@ -84,13 +84,13 @@
"weixin"
:
{
"weixin"
:
{
"__platform__"
:
[
"ios"
,
"android"
],
"__platform__"
:
[
"ios"
,
"android"
],
"appid"
:
"wxb591d0034cdcf0cd"
,
"appid"
:
"wxb591d0034cdcf0cd"
,
"UniversalLinks"
:
"https://m
cffp.anjibao
.cn/app/"
"UniversalLinks"
:
"https://m
app.cffp.org
.cn/app/"
}
}
},
},
"oauth"
:
{
"oauth"
:
{
"weixin"
:
{
"weixin"
:
{
"appid"
:
"wxb591d0034cdcf0cd"
,
"appid"
:
"wxb591d0034cdcf0cd"
,
"UniversalLinks"
:
"https://m
cffp.anjibao
.cn/app/"
"UniversalLinks"
:
"https://m
app.cffp.org
.cn/app/"
}
}
}
}
},
},
...
...
pages/courseDetail/courseDetail.vue
View file @
75830e7b
...
@@ -23,7 +23,8 @@
...
@@ -23,7 +23,8 @@
<view
class=
"courseBannerBox"
v-if=
"!sliceshare"
>
<view
class=
"courseBannerBox"
v-if=
"!sliceshare"
>
<video
v-if=
"isRenderVideo"
id=
"myVideo"
:src=
"courseInfo.filePathOss"
:initial-time=
"viewTime"
<video
v-if=
"isRenderVideo"
id=
"myVideo"
:src=
"courseInfo.filePathOss"
:initial-time=
"viewTime"
object-fit=
"contain"
class=
"videoBox"
:poster=
"courseInfo.fileFirstImage"
:title=
"courseInfo.fileTitle"
object-fit=
"contain"
class=
"videoBox"
:poster=
"courseInfo.fileFirstImage"
:title=
"courseInfo.fileTitle"
@
play=
"playVideo"
@
pause=
"pause"
@
timeupdate=
"timeupdate"
style=
"width: 100vw;height: 320rpx;"
></video>
@
play=
"playVideo"
@
pause=
"pause"
@
timeupdate=
"timeupdate"
style=
"width: 100vw;height: 320rpx;"
></video>
</view>
</view>
<!-- 课程详情图 -->
<!-- 课程详情图 -->
...
@@ -190,7 +191,20 @@
...
@@ -190,7 +191,20 @@
scheme
:
'com.qdxxzy.user://'
scheme
:
'com.qdxxzy.user://'
},
},
deviceType
:
null
,
deviceType
:
null
,
shareTipsFlag
:
false
shareTipsFlag
:
false
,
src
:
''
,
danmuList
:
[{
text
:
'第 1s 出现的弹幕'
,
color
:
'#ff0000'
,
time
:
1
},
{
text
:
'第 3s 出现的弹幕'
,
color
:
'#ff00ff'
,
time
:
3
}
],
danmuValue
:
''
};
};
},
},
methods
:
{
methods
:
{
...
@@ -541,6 +555,28 @@
...
@@ -541,6 +555,28 @@
}
}
})
})
},
},
sendDanmu
:
function
()
{
this
.
videoContext
.
sendDanmu
({
text
:
this
.
danmuValue
,
color
:
this
.
getRandomColor
()
});
this
.
danmuValue
=
''
;
},
videoErrorCallback
:
function
(
e
)
{
uni
.
showModal
({
content
:
e
.
target
.
errMsg
,
showCancel
:
false
})
},
getRandomColor
:
function
()
{
const
rgb
=
[]
for
(
let
i
=
0
;
i
<
3
;
++
i
)
{
let
color
=
Math
.
floor
(
Math
.
random
()
*
256
).
toString
(
16
)
color
=
color
.
length
==
1
?
'0'
+
color
:
color
rgb
.
push
(
color
)
}
return
'#'
+
rgb
.
join
(
''
)
},
// 点击播放
// 点击播放
playVideo
(
e
)
{
playVideo
(
e
)
{
console
.
log
(
'playVideo'
,
this
.
totalTime
,
this
.
viewTime
)
console
.
log
(
'playVideo'
,
this
.
totalTime
,
this
.
viewTime
)
...
...
pages/invitationRegister/invitationlogin.vue
View file @
75830e7b
...
@@ -71,7 +71,8 @@
...
@@ -71,7 +71,8 @@
sendMessage
(){
sendMessage
(){
const
params
=
{
const
params
=
{
mobileNo
:
this
.
form
.
mobile
,
mobileNo
:
this
.
form
.
mobile
,
type
:
"1"
type
:
"1"
,
source
:
"cffp"
}
}
if
(
common
.
mobileNoValid
(
this
.
form
.
mobile
)
&&
!
this
.
disabledSendBtn
){
if
(
common
.
mobileNoValid
(
this
.
form
.
mobile
)
&&
!
this
.
disabledSendBtn
){
api
.
verificationCode
(
params
).
then
((
res
)
=>
{
api
.
verificationCode
(
params
).
then
((
res
)
=>
{
...
...
pages/inviteJoin/inviteJoin.vue
View file @
75830e7b
...
@@ -141,6 +141,7 @@
...
@@ -141,6 +141,7 @@
import
api
from
"@/api/api"
import
api
from
"@/api/api"
import
common
from
'../../common/common'
;
import
common
from
'../../common/common'
;
import
{
hshare
}
from
'@/util/fiveshare'
;
import
{
hshare
}
from
'@/util/fiveshare'
;
import
{
baseURL
,
apiURL
,
cffpURL
}
from
"@/environments/environment"
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -292,7 +293,7 @@
...
@@ -292,7 +293,7 @@
desc
:
`我是家庭财务策划师
${
this
.
realName
}
正在使用CFFP财富中心,点击即刻加入!`
,
desc
:
`我是家庭财务策划师
${
this
.
realName
}
正在使用CFFP财富中心,点击即刻加入!`
,
link
:
"https://"
+
window
.
location
.
host
+
"/cffp/pages/invitationRegister/invitationRegister?shareId="
+
link
:
"https://"
+
window
.
location
.
host
+
"/cffp/pages/invitationRegister/invitationRegister?shareId="
+
this
.
shareId
+
'&invitationCode='
+
this
.
invitationCode
,
//分享链接
this
.
shareId
+
'&invitationCode='
+
this
.
invitationCode
,
//分享链接
imgUrl
:
"https://mdev.zuihuibi.cn/cffp/static/cffp_logo.jpg"
,
//图片
imgUrl
:
`
${
baseURL
}
/cffp/static/cffp_logo.jpg`
,
//图片
}
}
//安卓机型获取当前页面路径
//安卓机型获取当前页面路径
let
url
=
window
.
location
.
href
.
split
(
'#'
)[
0
];
let
url
=
window
.
location
.
href
.
split
(
'#'
)[
0
];
...
@@ -331,7 +332,7 @@
...
@@ -331,7 +332,7 @@
this
.
shareId
+
'&invitationCode='
+
this
.
invitationCode
,
this
.
shareId
+
'&invitationCode='
+
this
.
invitationCode
,
title
:
"CFFP家庭财务策划师联盟邀您加入"
,
title
:
"CFFP家庭财务策划师联盟邀您加入"
,
summary
:
`我是家庭财务策划师
${
this
.
realName
}
正在使用CFFP财富中心,点击下载即刻加入!`
,
summary
:
`我是家庭财务策划师
${
this
.
realName
}
正在使用CFFP财富中心,点击下载即刻加入!`
,
imageUrl
:
"https://mdev.zuihuibi.cn/cffp/static/cffp_logo.jpg"
,
imageUrl
:
`
${
baseURL
}
/cffp/static/cffp_logo.jpg`
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
// console.log("success:" + JSON.stringify(res));
// console.log("success:" + JSON.stringify(res));
},
},
...
...
pages/personalCenter/accountoperation/resetpassword.vue
View file @
75830e7b
...
@@ -88,7 +88,8 @@
...
@@ -88,7 +88,8 @@
sendMessage
()
{
sendMessage
()
{
const
params
=
{
const
params
=
{
mobileNo
:
this
.
usermobile
,
mobileNo
:
this
.
usermobile
,
type
:
"1"
type
:
"1"
,
source
:
"cffp"
}
}
if
(
common
.
mobileNoValid
(
this
.
usermobile
))
{
if
(
common
.
mobileNoValid
(
this
.
usermobile
))
{
api
.
verificationCode
(
params
).
then
((
res
)
=>
{
api
.
verificationCode
(
params
).
then
((
res
)
=>
{
...
...
util/uploaderFile.ts
View file @
75830e7b
...
@@ -19,7 +19,7 @@ export function CommonUpload(psrams) {
...
@@ -19,7 +19,7 @@ export function CommonUpload(psrams) {
uni
.
uploadFile
({
uni
.
uploadFile
({
// /api/file/upload //pc上传代理
// /api/file/upload //pc上传代理
// https://mdev.zuihuibi.cn/api/file/upload
// https://mdev.zuihuibi.cn/api/file/upload
url
:
`
https://mdev.zuihuibi.cn
/api/file/upload`
,
// 后端api接口
url
:
`
${
baseURL
}
/api/file/upload`
,
// 后端api接口
filePath
:
res
.
tempFilePaths
[
0
],
// uni.chooseImage函数调用后获取的本地文件路劲
filePath
:
res
.
tempFilePaths
[
0
],
// uni.chooseImage函数调用后获取的本地文件路劲
name
:
'file'
,
//后端通过'file'获取上传的文件对象
name
:
'file'
,
//后端通过'file'获取上传的文件对象
// formData: this.sendDate,
// formData: this.sendDate,
...
...
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