Commit 497f960b authored by xieyishang's avatar xieyishang

~~~

parent 4f5caee7
......@@ -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,
......
......@@ -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>
......
......@@ -2,8 +2,8 @@
"name" : "鹿马商家助手",
"appid" : "__UNI__1EA80F1", //这个是 web
"description" : "商家",
"versionName" : "1.122",
"versionCode" : 1122,
"versionName" : "1.123",
"versionCode" : 1123,
"transformPx" : false,
"compatible" : {
"ignoreVersion" : true //true表示忽略版本检查提示框,HBuilderX1.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" : {},
......
......@@ -451,6 +451,9 @@
getApp().getIosLocation(2,'index');
}
//#endif
//调试
// getApp().getIosLocation(2,'index');
},
//下拉刷新
onPullDownRefresh() {
......
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);
}
})
})
*/
})
}
......
......@@ -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 });
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment