Commit 9d207cfb by 杨明

fixed

1 parent 48562229
...@@ -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
} }
/* /*
* @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:00 * @LastEditTime: 2022-11-02 18:00:40
* @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
......
/*
* @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: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!