diff --git a/mobile-web/src/api/promotion.js b/mobile-web/src/api/promotion.js new file mode 100644 index 00000000..9b152811 --- /dev/null +++ b/mobile-web/src/api/promotion.js @@ -0,0 +1,10 @@ +import request from "../config/request"; + +// Banner + +export function getBannerList() { + return request({ + url: 'promotion-api/users/banner/list', + method: 'get', + }); +} \ No newline at end of file diff --git a/mobile-web/src/api/user.js b/mobile-web/src/api/user.js index 9105a056..366c2579 100644 --- a/mobile-web/src/api/user.js +++ b/mobile-web/src/api/user.js @@ -1,13 +1,5 @@ import request from "../config/request"; - -export function GetUserIndex() { - return request({ - url: '/User/GetUserIndex', - method: 'get', - }) -} - export function GetFavorite(data){ return request({ url: '/User/GetFavorite', @@ -108,4 +100,3 @@ export function doPassportMobileSendRegisterCode(mobile) { } }); } - diff --git a/mobile-web/src/components/page/imageAd.vue b/mobile-web/src/components/page/imageAd.vue index d031a1c1..d655a1d5 100644 --- a/mobile-web/src/components/page/imageAd.vue +++ b/mobile-web/src/components/page/imageAd.vue @@ -31,6 +31,8 @@