diff --git a/src/api/storeManage.js b/src/api/storeManage.js
index f61b68a..b43ab2b 100644
--- a/src/api/storeManage.js
+++ b/src/api/storeManage.js
@@ -1,5 +1,9 @@
-import { service } from "../utils/service";
-import { localPath } from "./api.js";
+import {
+ service
+} from "../utils/service";
+import {
+ localPath
+} from "./api.js";
// 添加门店参数
export function addstorePara(params) {
@@ -1268,3 +1272,28 @@ export function rolepower(params) {
data: params
});
}
+// ================================================= 微信公众号 ================================================= //
+// 查询设置的微信公众号
+export function getWXAccount(params) {
+ return service({
+ url: "/api" + "/storeWechat",
+ method: "get",
+ params
+ });
+}
+// 设置微信公众号
+export function doSetWXAccount(data) {
+ return service({
+ url: "/api" + "/storeWechat/add",
+ method: "post",
+ data
+ });
+}
+// 修改微信公众号
+export function doEditWXAccount(data) {
+ return service({
+ url: "/api" + "/storeWechat",
+ method: "put",
+ data
+ });
+}
diff --git a/src/layout/components/asider.vue b/src/layout/components/asider.vue
index 877f01d..e8642dc 100644
--- a/src/layout/components/asider.vue
+++ b/src/layout/components/asider.vue
@@ -778,7 +778,7 @@ export default {
number: "1000",
menuLists: [
{
- name: "发布",
+ name: "建立",
icon: "el-icon-s-promotion",
route: "/couponIssue",
index: "couponIssue",
diff --git a/src/layout/layout.vue b/src/layout/layout.vue
index 84d1401..8b4afa1 100644
--- a/src/layout/layout.vue
+++ b/src/layout/layout.vue
@@ -39,6 +39,7 @@
-->
+