diff --git a/src/api/login.js b/src/api/login.js
index 6f5efce..ac47715 100644
--- a/src/api/login.js
+++ b/src/api/login.js
@@ -15,12 +15,27 @@ export function getInfo() {
});
}
+export function changChildShop(data) {
+ return request({
+ url: "/api/tbShopInfo/changChildShop",
+ method: "post",
+ data
+ });
+}
+
export function getCodeImg(header) {
return request({
url: "auth/code",
method: "get"
});
}
+export function getqueryChildShop(params) {
+ return request({
+ url: "api/tbShopInfo/queryChildShop",
+ method: "get",
+ params
+ });
+}
export function logout() {
return request({
diff --git a/src/api/shop.js b/src/api/shop.js
index 55e9508..abdfd4d 100644
--- a/src/api/shop.js
+++ b/src/api/shop.js
@@ -6,7 +6,7 @@ import request from "@/utils/request";
*/
export function tbProduct(params) {
return request({
- url: "/api/tbProduct",
+ url: "/api/tbProduct/list",
method: "get",
params
});
diff --git a/src/components/shopList/index.vue b/src/components/shopList/index.vue
index c59d543..9d3396f 100644
--- a/src/components/shopList/index.vue
+++ b/src/components/shopList/index.vue
@@ -54,7 +54,7 @@
-
+
选择
@@ -146,6 +146,8 @@ export default {
categoryId: this.searhForm.category,
shopId: localStorage.getItem('shopId'),
sort: 'id',
+ createdAt: [],
+ sort: 'createdAt,desc'
})
this.tableData.list = res.content
this.tableData.total = res.totalElements
diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue
index 364495a..0083678 100644
--- a/src/layout/components/Sidebar/Logo.vue
+++ b/src/layout/components/Sidebar/Logo.vue
@@ -7,9 +7,40 @@
@@ -17,6 +48,9 @@