From 8e3d0cd51d38e4d67c310438a00ddd982fed519f Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Thu, 13 Dec 2018 18:25:18 +0800 Subject: [PATCH] mp-alipay errMsg --- src/platforms/mp-alipay/service/api/protocols.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/platforms/mp-alipay/service/api/protocols.js b/src/platforms/mp-alipay/service/api/protocols.js index f64b113e2d..e3e8ce6a94 100644 --- a/src/platforms/mp-alipay/service/api/protocols.js +++ b/src/platforms/mp-alipay/service/api/protocols.js @@ -44,6 +44,8 @@ const protocols = { // 需要做转换的 API 列表 res.errMsg = `${methodName}:fail ${res.errorMessage || res.error}` delete res.error delete res.errorMessage + } else { + res.errMsg = `${methodName}:ok` } return res }, -- GitLab