Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
scrm-equity
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 02626bf4
authored
Sep 03, 2021
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
改为上线配置
1 parent
6d8e74c1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
src/main.js
src/mixins/pay.js
src/views/cardRoll/opening.vue
src/main.js
View file @
02626bf
...
@@ -10,9 +10,9 @@ import store from "./store"
...
@@ -10,9 +10,9 @@ import store from "./store"
import
axios
from
'axios'
import
axios
from
'axios'
Vue
.
use
(
VueWechatTitle
)
Vue
.
use
(
VueWechatTitle
)
Vue
.
use
(
Vant
)
Vue
.
use
(
Vant
)
import
VConsole
from
'vconsole'
//
import VConsole from 'vconsole'
const
vConsole
=
new
VConsole
()
//
const vConsole = new VConsole()
Vue
.
use
(
vConsole
)
//
Vue.use(vConsole)
import
preview
from
'vue-photo-preview'
import
preview
from
'vue-photo-preview'
import
'vue-photo-preview/dist/skin.css'
import
'vue-photo-preview/dist/skin.css'
Vue
.
use
(
preview
)
Vue
.
use
(
preview
)
...
...
src/mixins/pay.js
View file @
02626bf
...
@@ -36,7 +36,7 @@ export default {
...
@@ -36,7 +36,7 @@ export default {
if
(
ua
.
match
(
/MicroMessenger/i
)
==
'micromessenger'
)
{
if
(
ua
.
match
(
/MicroMessenger/i
)
==
'micromessenger'
)
{
payMannerId
=
4
;
payMannerId
=
4
;
}
else
{
}
else
{
payMannerId
=
7
;
// 5
payMannerId
=
5
;
// 7
}
}
let
para
=
{
let
para
=
{
orderCode
,
orderCode
,
...
...
src/views/cardRoll/opening.vue
View file @
02626bf
...
@@ -102,9 +102,9 @@ export default {
...
@@ -102,9 +102,9 @@ export default {
let
payMannerId
;
let
payMannerId
;
const
ua
=
navigator
.
userAgent
.
toLowerCase
()
const
ua
=
navigator
.
userAgent
.
toLowerCase
()
if
(
ua
.
match
(
/MicroMessenger/i
)
==
'micromessenger'
)
{
if
(
ua
.
match
(
/MicroMessenger/i
)
==
'micromessenger'
)
{
payMannerId
=
5
;
//6
payMannerId
=
6
;
//6
}
else
{
}
else
{
payMannerId
=
6
;
//2
payMannerId
=
2
;
//2
}
}
let
para
=
{
let
para
=
{
merchantId
:
this
.
merchantId
,
merchantId
:
this
.
merchantId
,
...
...
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