From dcafe22019775164776e8c47aae254c06e9a721b Mon Sep 17 00:00:00 2001 From: xiaoyucoding Date: Wed, 2 Jan 2019 11:56:14 +0800 Subject: [PATCH] mp-alipay: ble api --- src/platforms/mp-alipay/service/api/protocols.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/platforms/mp-alipay/service/api/protocols.js b/src/platforms/mp-alipay/service/api/protocols.js index 54cd5b827d..8dd87084a4 100644 --- a/src/platforms/mp-alipay/service/api/protocols.js +++ b/src/platforms/mp-alipay/service/api/protocols.js @@ -287,6 +287,13 @@ const protocols = { // 需要做转换的 API 列表 args: { orderInfo: 'orderStr' } + }, + getBLEDeviceServices: { + returnValue (result) { + result.services.forEach((item) => { + item.uuid = item.serviceId + }) + } } } -- GitLab