Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1f7ef7e2
authored
Jun 22, 2022
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
3a65cb55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
linkwe-mobile/src/config.js
linkwe-taskMobile/src/js/utils.js
linkwe-mobile/src/config.js
View file @
1f7ef7e
const
config
=
{
const
config
=
{
appId
:
'wx
863c031a74f589a0
'
,
// 微信公众号id
appId
:
'wx
a57479bcd3f15461
'
,
// 微信公众号id
cookieExpires
:
1
,
//token在Cookie中存储的天数,默认1天
cookieExpires
:
1
,
//token在Cookie中存储的天数,默认1天
homeName
:
'home'
,
//默认打开的首页的路由name值,默认为home
homeName
:
'home'
,
//默认打开的首页的路由name值,默认为home
services
:
{
services
:
{
...
...
linkwe-taskMobile/src/js/utils.js
View file @
1f7ef7e
...
@@ -9,7 +9,7 @@ export function getUrlParam(name) {
...
@@ -9,7 +9,7 @@ export function getUrlParam(name) {
}
}
export
function
getWxCode
()
{
export
function
getWxCode
()
{
// let appid = 'wx863c031a74f589a0' // 公众号appid
// let appid = 'wx863c031a74f589a0' // 公众号appid
let
appid
=
'wx
8bfe6bc2ca5c45ae
'
// 公众号appid
let
appid
=
'wx
a57479bcd3f15461
'
// 公众号appid
let
code
=
getUrlParam
(
'code'
)
//是否存在code
let
code
=
getUrlParam
(
'code'
)
//是否存在code
let
local
=
window
.
location
.
origin
.
includes
(
'localhost'
)
let
local
=
window
.
location
.
origin
.
includes
(
'localhost'
)
?
'http://h5.linkwechat.cn/test.html'
?
'http://h5.linkwechat.cn/test.html'
...
...
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