提交 53d0d8ed 编写于 作者: guangjun.yang's avatar guangjun.yang

no message

上级 928394e4
...@@ -134,7 +134,6 @@ ...@@ -134,7 +134,6 @@
// 滑动事件 // 滑动事件
$divWrap.on('mousemove', function (event) { $divWrap.on('mousemove', function (event) {
console.log('mousemove', event); console.log('mousemove', event);
// debugger
var event = event || window.event; var event = event || window.event;
// var x = event.originalEvent.touches[0].pageX; // 鼠标滑动时的X轴 // var x = event.originalEvent.touches[0].pageX; // 鼠标滑动时的X轴
var x = event.originalEvent.pageX; // 鼠标滑动时的X轴 var x = event.originalEvent.pageX; // 鼠标滑动时的X轴
......
...@@ -25,7 +25,6 @@ function getAesKey(len) { ...@@ -25,7 +25,6 @@ function getAesKey(len) {
async function sendEncryptRequest(content, cb){ async function sendEncryptRequest(content, cb){
console.log('content',content) console.log('content',content)
content = JSON.stringify(content); // 后端要求转 string content = JSON.stringify(content); // 后端要求转 string
// debugger;
let params = null let params = null
if(pubKey){ // pubKey获取过就不用再获取了 if(pubKey){ // pubKey获取过就不用再获取了
let params = formatContent(content, pubKey); let params = formatContent(content, pubKey);
...@@ -38,14 +37,12 @@ async function sendEncryptRequest(content, cb){ ...@@ -38,14 +37,12 @@ async function sendEncryptRequest(content, cb){
// get public key // get public key
function handleGetPubKey(content, cb){ function handleGetPubKey(content, cb){
// debugger;
getPubKey().then(res => { getPubKey().then(res => {
// console.log('>>>>>>>>>>>>>>>>>>>> publicKey: ', res); // console.log('>>>>>>>>>>>>>>>>>>>> publicKey: ', res);
/* if(res.status && res.status === 200) { /* if(res.status && res.status === 200) {
res = res.data; res = res.data;
}*/ }*/
console.log('res',res) console.log('res',res)
// debugger;
if(res.code == '000000'){ if(res.code == '000000'){
pubKey = res.data; pubKey = res.data;
if(cb){ if(cb){
......
...@@ -3,7 +3,8 @@ import { getTerminalType, detectOS, getDeviceInfo } from '@/utils/getDeviceInfo' ...@@ -3,7 +3,8 @@ import { getTerminalType, detectOS, getDeviceInfo } from '@/utils/getDeviceInfo'
const { NUXT_ENV_APP } = process.env; const { NUXT_ENV_APP } = process.env;
export const BASE_URL = { export const BASE_URL = {
dev:'https://dev-sc.yunqueyi.com', // dev:'https://dev-sc.yunqueyi.com',
dev: 'https://test1-sc.yunqueyi.com',
test: 'https://test1-sc.yunqueyi.com', test: 'https://test1-sc.yunqueyi.com',
uat: 'https://uat-sc.yunqueyi.com', uat: 'https://uat-sc.yunqueyi.com',
prod: 'https://sc.yunqueyi.com' prod: 'https://sc.yunqueyi.com'
...@@ -27,7 +28,7 @@ export const API_CONFIG = { ...@@ -27,7 +28,7 @@ export const API_CONFIG = {
'deviceInfo': deviceInfo, //设备信息 'deviceInfo': deviceInfo, //设备信息
'productType': 1, // 1表示云鹊医产品系 'productType': 1, // 1表示云鹊医产品系
'sourceType': 4, // 4表示H5登录, 'sourceType': 4, // 4表示H5登录,
// 'device_type': 1, 'device_type': 1,
}, },
timeout: 10000, timeout: 10000,
withCredentials: false, withCredentials: false,
...@@ -62,8 +63,14 @@ export const ENV_CONFIG = { ...@@ -62,8 +63,14 @@ export const ENV_CONFIG = {
apiUrl: 'https://dev-api.yunqueyi.com/', apiUrl: 'https://dev-api.yunqueyi.com/',
shareUrl:'https://dev-phome.yunqueyi.com/', shareUrl:'https://dev-phome.yunqueyi.com/',
topicUrl:'https://dev-discuss.yunqueyi.com', topicUrl:'https://dev-discuss.yunqueyi.com',
wxLoginUrl: 'https://sc.yunqueyi.com/wechats/users', wxLoginUrl: 'https://sc.yunqueyi.com/wechats/users',
baseUrl: 'https://test1-sc.yunqueyi.com/',
apiUrl: 'https://test1-api.yunqueyi.com/',
shareUrl: 'https://test1-phome.yunqueyi.com/',
topicUrl: 'https://test1-discuss.yunqueyi.com',
wxLoginUrl : 'https://test1-sc.yunqueyi.com/wechats/users',
domain:'https://dev-sc.yunqueyi.com/account', domain:'https://dev-sc.yunqueyi.com/account',
APPID:'wx2c577552a2d28550', APPID:'wx2c577552a2d28550',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册