From bb16a3e672d4e81cbb49fc8c6f44b64866c94110 Mon Sep 17 00:00:00 2001 From: YunaiV <> Date: Mon, 8 Apr 2019 23:47:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=EF=BC=9A=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=20H5=20=E7=9A=84=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile-web/src/config/request.js | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/mobile-web/src/config/request.js b/mobile-web/src/config/request.js index 1690d920b..b83ad9d97 100644 --- a/mobile-web/src/config/request.js +++ b/mobile-web/src/config/request.js @@ -23,24 +23,32 @@ const serviceRouter = function(requestUrl) { prefix: '/promotion-api', target: 'http://127.0.0.1:18085//promotion-api', }, + '/pay-api': { + prefix: '/pay-api', + target: 'http://127.0.0.1:18084//promotion-api', + }, }; const configProd = { '/order-api': { prefix: '/order-api', - target: 'http://127.0.0.1:18084/order-api', + target: 'http://api.shop.iocoder.cn:18099/order-api', }, '/user-api': { prefix: '/user-api', - target: 'http://127.0.0.1:18082/user-api', + target: 'http://api.shop.iocoder.cn:18099/user-api', }, '/product-api': { prefix: '/product-api', - target: 'http://127.0.0.1:18081/product-api', + target: 'http://api.shop.iocoder.cn:18099/product-api', }, '/promotion-api': { prefix: '/promotion-api', - target: 'http://127.0.0.1:18085//promotion-api', + target: 'http://api.shop.iocoder.cn:18099/promotion-api', + }, + '/pay-api': { + prefix: '/pay-api', + target: 'http://api.shop.iocoder.cn:18099/promotion-api', }, };