Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-authorize
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 ce293862
authored
Feb 23, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改
1 parent
cbbb0d9a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
7 deletions
src/config/index.js
src/setup/single.js
src/views/appConfig/index.vue
src/config/index.js
View file @
ce29386
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: limin
* @Author: limin
* @Date: 2021-06-07 14:12:32
* @Date: 2021-06-07 14:12:32
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @LastEditTime: 2022-02-
16 18:23:12
* @LastEditTime: 2022-02-
23 17:13:15
*/
*/
// 根据环境引入不同配置 process.env.VUE_APP_ENV
// 根据环境引入不同配置 process.env.VUE_APP_ENV
// let request = require('@/http/request.js')
// let request = require('@/http/request.js')
...
@@ -19,7 +19,7 @@ export const fetchConfig = function (isEnv = true) {
...
@@ -19,7 +19,7 @@ export const fetchConfig = function (isEnv = true) {
// }
// }
//return window.fetch('https://', {}).then(res => res.json())
//return window.fetch('https://', {}).then(res => res.json())
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
return
new
Http
().
get
(
'https://oss-config.test.glsx.com.cn/mock/62
0ccb5d645fe2308e95a935/wechat
/config'
)
return
new
Http
().
get
(
'https://oss-config.test.glsx.com.cn/mock/62
15f98e60f415276f6dfe56/authorize
/config'
)
}
}
export
const
config
=
{
export
const
config
=
{
install
(
vue
,
cfg
)
{
install
(
vue
,
cfg
)
{
...
...
src/setup/single.js
View file @
ce29386
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: limin
* @Author: limin
* @Date: 2021-09-23 19:02:23
* @Date: 2021-09-23 19:02:23
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @LastEditTime: 2022-02-
18 18:50:53
* @LastEditTime: 2022-02-
23 15:59:41
* @FilePath: \scrm\scrm-sub-blog\src\setup\single.js
* @FilePath: \scrm\scrm-sub-blog\src\setup\single.js
*/
*/
import
Vue
from
'vue'
import
Vue
from
'vue'
...
@@ -24,7 +24,7 @@ export async function start() {
...
@@ -24,7 +24,7 @@ export async function start() {
// .forEach(item => {
// .forEach(item => {
// urlParams[item.split('=')[0]] = item.split('=')[1]
// urlParams[item.split('=')[0]] = item.split('=')[1]
// })
// })
var
token
=
Object
.
keys
(
urlParams
).
includes
(
'sessionId'
)
?
urlParams
.
sessionId
:
'scrm-base-
110bc02f-8408-48fc-bbb0-d8d4f211b026
-rop'
var
token
=
Object
.
keys
(
urlParams
).
includes
(
'sessionId'
)
?
urlParams
.
sessionId
:
'scrm-base-
d24c9f68-40b3-4704-a360-c59f2166eba4
-rop'
Vue
.
prototype
.
$http
=
new
Http
({
response
,
request
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
}
})
Vue
.
prototype
.
$http
=
new
Http
({
response
,
request
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
}
})
Vue
.
use
(
GLButton
,
{
permissions
:
[
'1-1-1-1'
,
'2-1-1-1'
,
'3-1-1-1'
]
})
Vue
.
use
(
GLButton
,
{
permissions
:
[
'1-1-1-1'
,
'2-1-1-1'
,
'3-1-1-1'
]
})
render
(
'/child/blog/'
,
routes
)
render
(
'/child/blog/'
,
routes
)
...
...
src/views/appConfig/index.vue
View file @
ce29386
<!--
<!--
* @Author: huyue
* @Author: huyue
* @Date: 2022-02-11 10:20:32
* @Date: 2022-02-11 10:20:32
* @LastEditTime: 2022-02-2
2 23:52:52
* @LastEditTime: 2022-02-2
3 16:04:09
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \scrm-micro-pay\src\views\account\index.vue
* @FilePath: \scrm-micro-pay\src\views\account\index.vue
...
@@ -103,7 +103,8 @@ export default {
...
@@ -103,7 +103,8 @@ export default {
{
{
label
:
'商户名称'
,
label
:
'商户名称'
,
prop
:
'merchantName'
,
prop
:
'merchantName'
,
line
:
2
line
:
2
,
align
:
'left'
},
},
{
{
label
:
'模式'
,
label
:
'模式'
,
...
@@ -116,7 +117,8 @@ export default {
...
@@ -116,7 +117,8 @@ export default {
{
{
label
:
'关联的企业微信'
,
label
:
'关联的企业微信'
,
prop
:
'corpAlias'
,
prop
:
'corpAlias'
,
line
:
2
line
:
2
,
align
:
'left'
}
}
]
]
},
},
...
...
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