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 9d207cfb
authored
Nov 02, 2022
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
48562229
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
4 deletions
src/api/modules/welcomeword.js
src/setup/qiankun.js
vue.config.js
src/api/modules/welcomeword.js
View file @
9d207cf
...
@@ -141,6 +141,15 @@ const createdNameList = params => {
...
@@ -141,6 +141,15 @@ const createdNameList = params => {
sign
:
true
sign
:
true
})
})
}
}
const
templateDetail
=
params
=>
{
params
.
method
=
`
${
path
}
template.detail`
return
http
({
url
:
URL
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
export
default
{
export
default
{
getCard
,
getCard
,
merchant
,
merchant
,
...
@@ -155,5 +164,6 @@ export default {
...
@@ -155,5 +164,6 @@ export default {
createdNameList
,
createdNameList
,
templateUpdate
,
templateUpdate
,
templateSave
,
templateSave
,
templateDetail
,
crowdfundingActivity
crowdfundingActivity
}
}
src/setup/qiankun.js
View file @
9d207cf
/*
/*
* @Author: your name
* @Author: your name
* @Date: 2022-02-10 19:00:41
* @Date: 2022-02-10 19:00:41
* @LastEditTime: 2022-
09-30 14:07:0
0
* @LastEditTime: 2022-
11-02 18:00:4
0
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditors: yangming yangming@didihu.com.cn
* @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\setup\qiankun.js
* @FilePath: \scrm-micro-pay\src\setup\qiankun.js
...
@@ -9,13 +9,13 @@
...
@@ -9,13 +9,13 @@
import
Vue
from
'vue'
import
Vue
from
'vue'
import
{
message
}
from
'@/plugins/element.js'
import
{
message
}
from
'@/plugins/element.js'
import
{
fetchConfig
}
from
'@/config'
import
{
fetchConfig
}
from
'@/config'
import
{
GLButton
,
GLTable
,
GLCombiForm
,
GLFooter
,
GLTableButton
,
GLDialog
,
GLEditor
}
from
'glsx-components'
//权限按钮 (根据权限动态创建)
import
{
GLButton
,
GLTable
,
GLCombiForm
,
GLFooter
,
GLTableButton
,
GLDialog
}
from
'glsx-components'
//权限按钮 (根据权限动态创建)
import
{
getRoutes
}
from
'@/router'
import
{
getRoutes
}
from
'@/router'
import
ElementUI
from
'element-ui'
import
ElementUI
from
'element-ui'
import
'glsx-components/dist/glsx-components.css'
import
'glsx-components/dist/glsx-components.css'
import
'@/assets/css/public.scss'
import
'@/assets/css/public.scss'
import
render
from
'./render'
import
render
from
'./render'
//
import GLEditor from 'glsx-components/src/packages/Editor'
import
GLEditor
from
'glsx-components/src/packages/Editor'
let
routes
=
[]
let
routes
=
[]
let
router
=
null
let
router
=
null
let
instance
=
null
let
instance
=
null
...
@@ -26,7 +26,6 @@ Vue.use(GLFooter)
...
@@ -26,7 +26,6 @@ Vue.use(GLFooter)
Vue
.
use
(
GLTableButton
)
Vue
.
use
(
GLTableButton
)
Vue
.
use
(
GLEditor
)
Vue
.
use
(
GLEditor
)
Vue
.
use
(
GLDialog
)
Vue
.
use
(
GLDialog
)
Vue
.
use
(
GLEditor
)
export
async
function
bootstrap
({
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
export
async
function
bootstrap
({
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
const
{
response
,
request
,
sign
,
sign_common
,
secret
,
request_common
}
=
await
fetchConfig
(
true
)
//globalState.configSwitch
const
{
response
,
request
,
sign
,
sign_common
,
secret
,
request_common
}
=
await
fetchConfig
(
true
)
//globalState.configSwitch
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$history
=
history
...
...
vue.config.js
View file @
9d207cf
/*
* @Author: yangming yangming@didihu.com.cn
* @Date: 2022-09-15 13:59:56
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2022-11-02 17:57:19
* @FilePath: \scrm-micro-authorize\vue.config.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
const
path
=
require
(
'path'
)
const
path
=
require
(
'path'
)
const
packageName
=
require
(
'./package.json'
).
name
const
packageName
=
require
(
'./package.json'
).
name
const
node_env
=
process
.
env
.
NODE_ENV
===
'production'
const
node_env
=
process
.
env
.
NODE_ENV
===
'production'
...
@@ -8,6 +16,7 @@ module.exports = {
...
@@ -8,6 +16,7 @@ module.exports = {
outputDir
:
`dist/child/
${
packageName
}
`
,
outputDir
:
`dist/child/
${
packageName
}
`
,
publicPath
,
publicPath
,
assetsDir
:
'static'
,
assetsDir
:
'static'
,
productionSourceMap
:
false
,
configureWebpack
:
{
configureWebpack
:
{
resolve
:
{
resolve
:
{
alias
:
{
alias
:
{
...
...
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