Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ap engine): 支付宝小程序httpRequest 升级 #220

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/adapter/ap.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,10 @@ module.exports = function (request, responseCallback) {
})
}
}
my.httpRequest(con)
if (my.request) {
my.request(con)
} else {
my.httpRequest(con)
}
// 支付宝端旧接口 my.httpRequest 将被废弃,请使用my.request 来代替。钉钉端目前尚未支持my.request,请继续使用 my.httpRequest。基础库 1.11.0 或更高版本
}