diff --git a/src/api/application.js b/src/api/application.js
index c25328e..8aa460c 100644
--- a/src/api/application.js
+++ b/src/api/application.js
@@ -144,7 +144,7 @@ export function adget(params) {
*/
export function adpost(data) {
return request({
- url: `/api/miniAppPages`,
+ url: `/api/ad`,
method: "post",
data
});
@@ -155,7 +155,7 @@ export function adpost(data) {
*/
export function adput(data) {
return request({
- url: '/api/miniAppPages',
+ url: '/api/ad',
method: 'put',
data
})
@@ -167,7 +167,7 @@ export function adput(data) {
*/
export function addelete(params) {
return request({
- url: "/api/miniAppPages/" + params,
- method: "put",
+ url: "/api/ad/" + params,
+ method: "DELETE",
});
}
diff --git a/src/api/shop.js b/src/api/shop.js
index ee36c3f..ce3fdc9 100644
--- a/src/api/shop.js
+++ b/src/api/shop.js
@@ -607,3 +607,28 @@ export function shopStaffDelete(data) {
data
});
}
+
+//增减余额
+export function midfiyAccount(data) {
+ return request({
+ url: `/api/tbShopUser/midfiyAccount`,
+ method: "post",
+ data
+ });
+}
+// 编辑用户
+export function tbShopUseredit(data) {
+ return request({
+ url: `/api/tbShopUser`,
+ method: "put",
+ data
+ });
+}
+// 通过活动id获取赠送商品列表
+
+export function activate(id) {
+ return request({
+ url: `shop/storage/activate/${id}`,
+ method: "get"
+ });
+}
\ No newline at end of file
diff --git a/src/views/application/advertisement.vue b/src/views/application/advertisement.vue
index 5e9e97c..3fac8dc 100644
--- a/src/views/application/advertisement.vue
+++ b/src/views/application/advertisement.vue
@@ -10,7 +10,7 @@
-
+
@@ -20,7 +20,7 @@
-
+
@@ -36,7 +36,11 @@
@change="showChange($event, scope.row)">
-
+
+
+ {{ scope.row.frequency | frequencyFilter }}
+
+
@@ -53,19 +57,40 @@
-->
-
-
-
-
-
-
+
+
+
+
+ 点击上传
+ 建议尺寸:520px*680px
+
-
-
- 可见
- 不可见
+
+
+
+
+
+ 首页
+ 点餐页
+
+
+ 仅首次打开显示
+ 每次打开显示一次
+ 每30天显示一次
+ 每7天显示一次
+ 每3天显示一次
+ 每1天显示一次
+
+
+
+
+
+
+
+