Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-new-login-pc
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-new-login-pc
提交
53d0d8ed
提交
53d0d8ed
编写于
8月 13, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
no message
上级
928394e4
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
10 行增加
和
7 行删除
+10
-7
slide.js
plugins/slide.js
+0
-1
index.js
utils/encrypt/index.js
+0
-3
enumerate.js
utils/enumerate.js
+10
-3
未找到文件。
plugins/slide.js
浏览文件 @
53d0d8ed
...
@@ -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轴
...
...
utils/encrypt/index.js
浏览文件 @
53d0d8ed
...
@@ -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
){
...
...
utils/enumerate.js
浏览文件 @
53d0d8ed
...
@@ -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
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录