diff --git a/package.json b/package.json index 96d2014..482f82e 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "serve": "vue-cli-service serve", "build": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build", "test:unit": "vue-cli-service test:unit", - "lint": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service lint", + "lint": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service lint", "build:preview": "vue-cli-service build --mode preview", "lint:nofix": "vue-cli-service lint --no-fix" }, diff --git a/src/api/invite/invite.js b/src/api/invite/invite.js new file mode 100644 index 0000000..1f838be --- /dev/null +++ b/src/api/invite/invite.js @@ -0,0 +1,28 @@ +import { axios } from '@/utils/request' + +// api接口列表 +const api = { + info: '/invite/getConfig', + edit: '/invite/editConfig', +} + +// 列表记录 +export function info(params) { + return axios({ + url: api.info, + method: 'post', + params, + }) +} + +/** + * 更新 + * @param {*} data + */ +export function edit(data) { + return axios({ + url: api.edit, + method: 'post', + data, + }) +} diff --git a/src/components/GlobalFooter/index.vue b/src/components/GlobalFooter/index.vue index 8d9c80f..b051d97 100644 --- a/src/components/GlobalFooter/index.vue +++ b/src/components/GlobalFooter/index.vue @@ -18,17 +18,17 @@ import { GlobalFooter } from '@/layouts/ProLayout' export default { name: 'ProGlobalFooter', components: { - GlobalFooter + GlobalFooter, }, - data () { + data() { return { visibility: false, - copyright: 'Copyright © 2021 萤火科技 |', + copyright: 'Copyright © 2024 仁舟网络 |', link: { - text: 'YIOVO.COM', - url: 'https://www.yiovo.com' - } + text: 'njrenzhou.com', + url: 'https://www.saas.njrenzhou.com/', + }, } - } + }, } diff --git a/src/views/market/Invite.vue b/src/views/market/Invite.vue new file mode 100644 index 0000000..f69c02d --- /dev/null +++ b/src/views/market/Invite.vue @@ -0,0 +1,109 @@ + + + +