From 0f98983398b083b8d04d487134645ff05cf66799 Mon Sep 17 00:00:00 2001 From: ch Date: Wed, 1 Jun 2022 17:52:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B9=BF=E5=91=8A=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E5=89=8D=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/api/ad.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/api/ad.js b/plugins/api/ad.js index 13ba6e7..73af37e 100644 --- a/plugins/api/ad.js +++ b/plugins/api/ad.js @@ -2,15 +2,16 @@ * @Author: ch * @Date: 2022-05-31 11:17:38 * @LastEditors: ch - * @LastEditTime: 2022-05-31 18:55:38 + * @LastEditTime: 2022-06-01 15:53:53 * @Description: file content */ import {ToAsyncAwait} from '@/plugins/utils'; import { AD_PLATFORM } from '../dicts/ad'; import {axios} from "../axios"; +import ENV from '../config/env'; -const BASE_URL = '/mall/marketing'; +const BASE_URL = `${ENV.base_url}/mall/marketing`; // 获取广告列表 export const ApiGetAdList = (params) => ToAsyncAwait(axios.get(`${BASE_URL}/app/advertisement`, {