Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
lumastoreapp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xieyishang
lumastoreapp
Commits
497f960b
Commit
497f960b
authored
Apr 06, 2021
by
xieyishang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~~~
parent
4f5caee7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
37 additions
and
30 deletions
+37
-30
App.vue
App.vue
+2
-1
components/VerifyIdentity/VerifyIdentity.vue
components/VerifyIdentity/VerifyIdentity.vue
+2
-2
manifest.json
manifest.json
+3
-18
pages/index/index.vue
pages/index/index.vue
+3
-0
utils/QS-baiduyy/QS-baiduyy.js
utils/QS-baiduyy/QS-baiduyy.js
+19
-8
utils/api/api.js
utils/api/api.js
+8
-1
No files found.
App.vue
View file @
497f960b
...
...
@@ -158,8 +158,9 @@
let
hours
=
date
.
getHours
();
//当前 时间 小时
if
(
this
.
$store
.
state
.
token
!=
""
){
//判断是否 已登录
let
cid
=
""
;
//#ifdef APP-PLUS
let
cid
=
plus
.
push
.
getClientInfo
().
clientid
cid
=
plus
.
push
.
getClientInfo
().
clientid
//#endif
let
res
=
await
newsRemind
({
uid
:
this
.
$store
.
state
.
userInfo
.
user_id
,
...
...
components/VerifyIdentity/VerifyIdentity.vue
View file @
497f960b
...
...
@@ -33,8 +33,8 @@
</view>
<view
class=
"tipboxs_body"
v-else
>
<view
class=
"textmsgs"
>
为了你的账户安全,
</view>
<view
class=
"textmsgs"
>
你需要先去
小程序或APP 绑定手机号码
</view>
<view
class=
"textmsgs"
>
为了你的账户安全,
你需要先持管理者账号
</view>
<view
class=
"textmsgs"
>
登录鹿马108
小程序或APP 绑定手机号码
</view>
<view
class=
"submitbtns"
@
tap=
"cancel"
>
好的,我知道了
</view>
</view>
...
...
manifest.json
View file @
497f960b
...
...
@@ -2,8 +2,8 @@
"name"
:
"鹿马商家助手"
,
"appid"
:
"__UNI__1EA80F1"
,
//这个是
web
的
"description"
:
"商家"
,
"versionName"
:
"1.12
2
"
,
"versionCode"
:
112
2
,
"versionName"
:
"1.12
3
"
,
"versionCode"
:
112
3
,
"transformPx"
:
false
,
"compatible"
:
{
"ignoreVersion"
:
true
//
true
表示忽略版本检查提示框,HBuilderX
1.9
.
0
及以上版本支持
...
...
@@ -171,22 +171,7 @@
}
},
"compilerVersion"
:
2
,
"nativePlugins"
:
{
"push-live"
:
{
"__plugin_info__"
:
{
"name"
:
"安卓保活插件(限制 防杀)含前台服务,后台运行,白名单,定时任务等"
,
"description"
:
"如果你的应用希望能够一直在后台运行而不被系统自动杀死的话,可以尝试一下。群485147231"
,
"platforms"
:
"Android"
,
"url"
:
"https://ext.dcloud.net.cn/plugin?id=2930"
,
"android_package_name"
:
"com.app.lumastore"
,
"ios_bundle_id"
:
"com.app.lumastore"
,
"isCloud"
:
true
,
"bought"
:
1
,
"pid"
:
"2930"
,
"parameters"
:
{}
}
}
}
"nativePlugins"
:
{}
},
/*
快应用特有相关
*/
"quickapp"
:
{},
...
...
pages/index/index.vue
View file @
497f960b
...
...
@@ -451,6 +451,9 @@
getApp
().
getIosLocation
(
2
,
'
index
'
);
}
//#endif
//调试
// getApp().getIosLocation(2,'index');
},
//下拉刷新
onPullDownRefresh
()
{
...
...
utils/QS-baiduyy/QS-baiduyy.js
View file @
497f960b
import
{
getVoiceToken
}
from
"
@/utils/api/api.js
"
;
const
audioTeam
=
[];
let
audioStartSwitch
=
false
;
const
getAudioUrl
=
'
https://tsn.baidu.com/text2audio
'
;
...
...
@@ -18,20 +20,28 @@ function getBDVoicToken() {
// let SecretKey = "4DX96MfnSiAOCbGLxtIFsoKXX9LMlLID";
// 陶
//
let APIKey = "HIOLreKUVv3NVCwVN1OZBM82";
//
let SecretKey = "g1RbFa0Mbmgyf9sq7i1G1siEAw7ArxdT";
let
APIKey
=
"
HIOLreKUVv3NVCwVN1OZBM82
"
;
let
SecretKey
=
"
g1RbFa0Mbmgyf9sq7i1G1siEAw7ArxdT
"
;
//王总监
let
APIKey
=
"
SDfqqKlhE5FyEdrZx3IfYvKx
"
;
let
SecretKey
=
"
lvYCYc1U5G6dgwFstYNeqHEI679PrUQp
"
;
// let APIKey = "SDfqqKlhE5FyEdrZx3IfYvKx";
// let SecretKey = "lvYCYc1U5G6dgwFstYNeqHEI679PrUQp";
getVoiceToken
({
}).
then
((
res
)
=>
{
console
.
log
(
res
,
"
res
"
);
rs
(
res
);
}).
catch
((
res
)
=>
{
rs
(
res
);
})
/*
uni.request({ // 强烈建议此接口由后端访问并且维护token有效期,否则前端每次访问都会刷新token
//此url为专门插件测试预览用的key和secret key, 请替换为自己申请的key
url: 'https://openapi.baidu.com/oauth/2.0/token',
method: 'POST', //建议使用post访问
// data: 'grant_type=client_credentials&client_id=nm6Os9qqOacgxXjKv8PIp45H&client_secret=BXHhGIpNU7Wi3GDYUt0AGY5cWbWklrov',
// data: 'grant_type=client_credentials&client_id=jtwoB9xzRnv3qltcfqL0pk1t&client_secret=A16UKHBKVeAh68kuGGSPqnemCVyPDmgb',
data: `grant_type=client_credentials&client_id=${APIKey}&client_secret=${SecretKey}&per=1`,
header: {
"content-type": "application/x-www-form-urlencoded"
...
...
@@ -44,7 +54,8 @@ function getBDVoicToken() {
console.log('访问失败');
rj(err);
}
})
})
*/
})
}
...
...
utils/api/api.js
View file @
497f960b
...
...
@@ -572,4 +572,11 @@ export function getLmguPiao(data)
//充值支付密码? 判断是否有支付密码
export
function
havepassword
(
data
)
{
return
request
.
post
(
'
stroe_capital/havepassword
'
,
data
,
{
noAuth
:
false
});
}
\ No newline at end of file
}
//获取语音播报的key
export
function
getVoiceToken
(
data
)
{
return
request
.
post
(
'
store/getVoiceToken
'
,
data
,
{
noAuth
:
false
});
}
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