Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
ybf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xulili
ybf
Commits
b3f456e4
Commit
b3f456e4
authored
Mar 19, 2020
by
Z
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Z: Dot: 欧亚部署版本存档。部署到欧亚环境,能走通流程,发送优惠券并长按二维码进入欧亚小程序。
parent
86510ef2
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
32 additions
and
46 deletions
+32
-46
WW_verify_ovlGwUtiSAgGUQLs.txt
ybf_wx/DonotDelete/OYConfig/WW_verify_ovlGwUtiSAgGUQLs.txt
+0
-0
WW_verify_NdQI4DAtoC9jyfXm.txt
ybf_wx/DonotDelete/YBFConfig/WW_verify_NdQI4DAtoC9jyfXm.txt
+0
-0
WW_verify_ovlGwUtiSAgGUQLs.txt
ybf_wx/public/WW_verify_ovlGwUtiSAgGUQLs.txt
+1
-0
index.html
ybf_wx/public/qrCode/index.html
+2
-2
main.css
ybf_wx/qrCodeV2/main.css
+0
-14
home.vue
ybf_wx/src/views/home.vue
+28
-29
index.vue
ybf_wx/src/views/sideNav/discount/index.vue
+1
-1
No files found.
ybf_wx/
public
/OYConfig/WW_verify_ovlGwUtiSAgGUQLs.txt
→
ybf_wx/
DonotDelete
/OYConfig/WW_verify_ovlGwUtiSAgGUQLs.txt
View file @
b3f456e4
File moved
ybf_wx/
public
/WW_verify_NdQI4DAtoC9jyfXm.txt
→
ybf_wx/
DonotDelete/YBFConfig
/WW_verify_NdQI4DAtoC9jyfXm.txt
View file @
b3f456e4
File moved
ybf_wx/public/WW_verify_ovlGwUtiSAgGUQLs.txt
0 → 100644
View file @
b3f456e4
ovlGwUtiSAgGUQLs
\ No newline at end of file
ybf_wx/public/qrCode/index.html
View file @
b3f456e4
...
...
@@ -20,7 +20,7 @@
</head>
<body>
<
div
id=
"uri"
>
Uri:
</div
>
<
!-- <div id="uri">Uri:</div> --
>
<div
class=
"qr-code"
>
<img
id=
"image"
src=
""
alt
/>
</div>
...
...
@@ -51,7 +51,7 @@
let
pageUri
=
`
${
nowUrl
}
`
;
pageUri
=
pageUri
.
split
(
'&'
).
slice
(
0
,
5
).
join
(
'&'
)
let
pageUrl
=
`http://139.155.48.151:8085/workWx/auth/oauth2/wxMiniQrCode?pageUri=
${
pageUri
}
`
;
document
.
getElementById
(
'uri'
).
innerHTML
=
'Uri='
+
String
(
pageUri
)
//
document.getElementById('uri').innerHTML = 'Uri=' + String(pageUri)
// alert(`--->qrCode: Ajax: POST: pageUrl = ${pageUrl}`)
...
...
ybf_wx/qrCodeV2/main.css
deleted
100644 → 0
View file @
86510ef2
.main
{
width
:
100%
;
height
:
100%
;
margin
:
0
;
padding
:
0
;
display
:
flex
;
flex-direction
:
column
;
overflow
:
unset
;
}
.title
{
}
\ No newline at end of file
ybf_wx/src/views/home.vue
View file @
b3f456e4
...
...
@@ -6,10 +6,10 @@
<div
class=
"main"
>
<!--
<div
class=
"tops"
></div>
-->
<div
class=
"lists"
>
<div
<
!--
<
div
v-if=
"this.$route.query.code !== undefined"
style=
"font-size: 14px;"
>
Code:
{{
this
.
$route
.
query
.
code
}}
</div>
>
Code:
{{
this
.
$route
.
query
.
code
}}
</div>
-->
<div
v-for=
"(item, index) of list.main"
:key=
"index"
>
<div
class=
"list"
@
click=
"listClick(item.redirect)"
>
<div>
...
...
@@ -168,7 +168,7 @@ export default {
// 测试-获取用户信息
zTestGetUserInfoByOldToken
()
{
let
postData
=
{
code
:
this
.
zcache
.
code
code
:
this
.
zcache
.
code
,
};
let
headerData
=
{
// agentId: "1000015",
...
...
@@ -180,46 +180,45 @@ export default {
// url: "http://139.155.48.151:8085/workWx/auth/oauth2/getUserInfo",
// headers: header,
alert
(
`--->home.vue: zTestGetUserInfoByOldToken: postData =
${
JSON
.
stringify
(
postData
)}
`
);
alert
(
`--->home.vue: zTestGetUserInfoByOldToken: headerData =
${
JSON
.
stringify
(
headerData
)}
`
);
//
alert(
//
`--->home.vue: zTestGetUserInfoByOldToken: postData =${JSON.stringify(
//
postData
//
)}`
//
);
//
alert(
//
`--->home.vue: zTestGetUserInfoByOldToken: headerData =${JSON.stringify(
//
headerData
//
)}`
//
);
this
.
zcache
.
userInfoResOld
=
"PostData:"
+
JSON
.
stringify
(
postData
);
axios
({
url
:
"http://139.155.48.151:8085/workWx/auth/oauth2/getUserInfo?code="
+
this
.
zcache
.
code
,
url
:
"http://139.155.48.151:8085/workWx/auth/oauth2/getUserInfo?code="
+
this
.
zcache
.
code
,
method
:
"post"
,
headers
:
headerData
,
data
:
postData
//
data: postData
})
.
then
(
res
=>
{
alert
(
`--->home.vue: zTestGetUserInfoByOldToken: axios: res.`
);
alert
(
`--->home.vue: zTestGetUserInfoByOldToken: axios: res =
${
JSON
.
stringify
(
res
)}
`
);
//
alert(`--->home.vue: zTestGetUserInfoByOldToken: axios: res.`);
//
alert(
//
`--->home.vue: zTestGetUserInfoByOldToken: axios: res =${JSON.stringify(
//
res
//
)}`
//
);
// this.zcache.userInfoResNew = "RESOK:" + JSON.stringify(res.data);
this
.
zcache
.
userInfoResNew
=
"RESOK:"
+
res
.
data
.
data
.
userId
;
sessionStorage
.
setItem
(
"userId"
,
String
(
res
.
data
.
data
.
userId
));
this
.
zcache
.
userId
=
String
(
res
.
data
.
data
.
userId
);
})
.
catch
(
err
=>
{
alert
(
`--->home.vue: zTestGetUserInfoByOldToken: axios: err.`
);
alert
(
`--->home.vue: zTestGetUserInfoByOldToken: axios: res =
${
JSON
.
stringify
(
err
)}
`
);
//
alert(`--->home.vue: zTestGetUserInfoByOldToken: axios: err.`);
//
alert(
//
`--->home.vue: zTestGetUserInfoByOldToken: axios: res =${JSON.stringify(
//
err
//
)}`
//
);
this
.
zcache
.
userInfoResNew
=
"RESERR."
;
});
},
...
...
ybf_wx/src/views/sideNav/discount/index.vue
View file @
b3f456e4
...
...
@@ -297,7 +297,7 @@ export default {
// link: "http://qywx2.100smartdata.com/voucherInfo", //H5消息页面url 必填
// link: `http://qywx2.100smartdata.com/qrCode?Url=${inUrl}&activeId=${this.zcache.now.activeId}&voucherId=${this.zcache.now.voucherId}&unionId=${this.zcache.unionId}`, //H5消息页面url 必填
link
:
`http://qywx2.100smartdata.com/qrCode?Url=
${
inUrl
}
&activeId=
${
this
.
zcache
.
now
.
activeId
}
&voucherId=
${
this
.
zcache
.
now
.
voucherId
}
&unionId=1234`
,
//H5消息页面url 必填
title
:
"
Z: h5消息标题
"
,
//H5消息标题
title
:
"
领取优惠券
"
,
//H5消息标题
desc
:
inUrl
,
//H5消息摘要
// imgUrl: "http://qywx2.100smartdata.com/hi.jpg" //H5消息封面图片URL
imgUrl
:
inUrl
//H5消息封面图片URL
...
...
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