Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a950f4b4
authored
May 15, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
图标
1 parent
81f5bec4
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
37 additions
and
13 deletions
config.js
jsconfig.json
packageEquity/aiApi.js
packageEquity/pages/aiCheck/chat/chat.js
packageEquity/pages/index/index.js
utils/request/environment.js
config.js
View file @
a950f4b
...
@@ -50,12 +50,6 @@ if (systemInfo.platform != "devtools") {
...
@@ -50,12 +50,6 @@ if (systemInfo.platform != "devtools") {
export
const
env
=
envName
;
export
const
env
=
envName
;
export
const
envIndex
=
index
;
export
const
envIndex
=
index
;
export
const
ALIYUN
=
{
AKID
:
"LTAI5tJday6R4sng1jgrgH3N"
,
AKKEY
:
"TWvwaQqwjxw7Tj7RlnTxyEXjOjQgFh"
,
APPKEY
:
"a1HmjrmQNv6yT8zb"
,
URL
:
"wss://nls-gateway-cn-shanghai.aliyuncs.com/ws/v1"
,
};
const
createQuotedUrl
=
{
const
createQuotedUrl
=
{
develop
:
`http://192.168.1.178:9528/dj-scrm-wx-work-main-zhangls/#/equityPoster?id=`
,
develop
:
`http://192.168.1.178:9528/dj-scrm-wx-work-main-zhangls/#/equityPoster?id=`
,
trial
:
`http://frontend.test.glsx.com.cn/dj-car-boutique-work-wechat/#/equityPoster?id=`
,
trial
:
`http://frontend.test.glsx.com.cn/dj-car-boutique-work-wechat/#/equityPoster?id=`
,
...
@@ -69,6 +63,18 @@ const scoketURL = {
...
@@ -69,6 +63,18 @@ const scoketURL = {
preRelease
:
`ws://192.168.3.191:7865`
,
preRelease
:
`ws://192.168.3.191:7865`
,
};
};
const
target
=
[
"ip"
,
"develop"
,
"trial"
,
"release"
,
"preRelease"
];
const
target
=
[
"ip"
,
"develop"
,
"trial"
,
"release"
,
"preRelease"
];
const
ALIYUN_LIST
=
[{
AKID
:
"LTAI5tJday6R4sng1jgrgH3N"
,
//个人
AKKEY
:
"TWvwaQqwjxw7Tj7RlnTxyEXjOjQgFh"
,
APPKEY
:
"a1HmjrmQNv6yT8zb"
,
URL
:
"wss://nls-gateway-cn-shanghai.aliyuncs.com/ws/v1"
,
},
{
AKID
:
"LTAI5tJday6R4sng1jgrgH3N"
,
//公司
AKKEY
:
"TWvwaQqwjxw7Tj7RlnTxyEXjOjQgFh"
,
APPKEY
:
"a1HmjrmQNv6yT8zb"
,
URL
:
"wss://nls-gateway-cn-shanghai.aliyuncs.com/ws/v1"
,
}];
export
const
ALIYUN
=
envIndex
==
3
?
ALIYUN_LIST
[
1
]
:
ALIYUN_LIST
[
0
]
// 报价单图片地址
// 报价单图片地址
export
const
quotedImgUrl
=
createQuotedUrl
[
target
[
envIndex
]];
export
const
quotedImgUrl
=
createQuotedUrl
[
target
[
envIndex
]];
export
const
scoket_url
=
scoketURL
[
target
[
envIndex
]];
export
const
scoket_url
=
scoketURL
[
target
[
envIndex
]];
...
...
jsconfig.json
0 → 100644
View file @
a950f4b
{
"compilerOptions"
:
{
"target"
:
"es2015"
,
"module"
:
"commonjs"
}
}
\ No newline at end of file
\ No newline at end of file
packageEquity/aiApi.js
View file @
a950f4b
...
@@ -56,7 +56,7 @@ export default {
...
@@ -56,7 +56,7 @@ export default {
getSparringDetail
(
data
)
{
getSparringDetail
(
data
)
{
return
api
.
post
(
return
api
.
post
(
"dj.api.carboutique.fun.sparring.record.detail"
,
"dj.api.carboutique.fun.sparring.record.detail"
,
data
,[],
"/rop-dj-pairexc/router"
,
'scrm'
data
,[],
"/rop-dj-pairexc/router"
);
);
},
},
/**
/**
...
@@ -65,7 +65,7 @@ export default {
...
@@ -65,7 +65,7 @@ export default {
getSparringPage
(
data
)
{
getSparringPage
(
data
)
{
return
api
.
post
(
return
api
.
post
(
"dj.api.carboutique.fun.sparring.record.page"
,
"dj.api.carboutique.fun.sparring.record.page"
,
data
,[],
"/rop-dj-pairexc/router"
,
'scrm'
data
,[],
"/rop-dj-pairexc/router"
);
);
},
},
/**
/**
...
@@ -74,7 +74,7 @@ export default {
...
@@ -74,7 +74,7 @@ export default {
setSparringSave
(
data
)
{
setSparringSave
(
data
)
{
return
api
.
post
(
return
api
.
post
(
"dj.api.carboutique.fun.sparring.record.save"
,
"dj.api.carboutique.fun.sparring.record.save"
,
data
,[],
"/rop-dj-pairexc/router"
,
'scrm'
data
,[],
"/rop-dj-pairexc/router"
);
);
},
},
}
}
\ No newline at end of file
\ No newline at end of file
packageEquity/pages/aiCheck/chat/chat.js
View file @
a950f4b
...
@@ -465,7 +465,20 @@ Page({
...
@@ -465,7 +465,20 @@ Page({
*/
*/
onUnload
()
{
onUnload
()
{
duration
=
0
duration
=
0
clearInterval
(
timer
)
clearInterval
(
timer
);
this
.
deleteAudio
()
},
deleteAudio
()
{
const
audioBox
=
this
.
selectComponent
(
'#audioBox'
);
const
chatList
=
audioBox
.
data
.
list
;
chatList
.
forEach
(
item
=>
{
if
(
item
.
filePath
)
{
wx
.
removeSavedFile
({
filePath
:
item
.
filePath
})
}
})
},
},
/**
/**
...
...
packageEquity/pages/index/index.js
View file @
a950f4b
...
@@ -682,7 +682,7 @@ Component({
...
@@ -682,7 +682,7 @@ Component({
if
(
index_d
==
-
1
)
if
(
index_d
==
-
1
)
newMenuList
.
push
({
newMenuList
.
push
({
menuText
:
'D+趣练'
,
menuText
:
'D+趣练'
,
icon
:
'ai_
excercise
'
,
icon
:
'ai_
check
'
,
path
:
'packageEquity.start'
,
path
:
'packageEquity.start'
,
default
:
true
,
default
:
true
,
})
})
...
...
utils/request/environment.js
View file @
a950f4b
...
@@ -74,8 +74,7 @@ const domain_items = {
...
@@ -74,8 +74,7 @@ const domain_items = {
},
},
uat
:
{
uat
:
{
dj
:
"https://dj.test.glsx.com.cn"
,
dj
:
"https://dj.test.glsx.com.cn"
,
// scrm: "https://scrm.test.glsx.com.cn",
scrm
:
"https://scrm.test.glsx.com.cn"
,
scrm
:
"http://192.168.3.226:9585"
,
AI
:
'http://192.168.3.191:7864'
,
AI
:
'http://192.168.3.191:7864'
,
merchants
:
"https://rop-merchant.test.glsx.com.cn"
,
merchants
:
"https://rop-merchant.test.glsx.com.cn"
,
},
},
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment