From a9a696a03b8b4019359b2c51b581b42edbcdf8e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B7=AF=20=E8=8C=83?= Date: Thu, 16 Sep 2021 13:51:42 +0800 Subject: [PATCH] . --- FrontCode2/sunshine_levy/src/common/apis/requests.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/FrontCode2/sunshine_levy/src/common/apis/requests.js b/FrontCode2/sunshine_levy/src/common/apis/requests.js index e1c76aa..bfa589a 100644 --- a/FrontCode2/sunshine_levy/src/common/apis/requests.js +++ b/FrontCode2/sunshine_levy/src/common/apis/requests.js @@ -1,6 +1,6 @@ // 接口文档地址 // https://docs.qq.com/doc/DZkdyS3hNT2V4Q3VJ -const url_prefix='http://183.136.157.9:7099/api' +const url_prefix = 'http://183.136.157.9:7099/api' const url = { // 登录 login: '/webapi/account.ashx?action=login', @@ -10,9 +10,10 @@ const url = { // 项目数统计信息 projectStatistics: '/webapi/project.ashx?action=getStatistics', - - getprjdata: '/project/list', - get_policies_info: '/policies/info', + //首页接口 + getprjdata: url_prefix + '/project/list', + //政策详情接口 + get_policies_info: url_prefix + '/policies/info', };