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

提交一个BUG #14

Open
gooking opened this issue Feb 5, 2018 · 3 comments
Open

提交一个BUG #14

gooking opened this issue Feb 5, 2018 · 3 comments

Comments

@gooking
Copy link

gooking commented Feb 5, 2018

Alipay.js

function checkOrderListPageHtmlString() { timePrefixLog("Start fetch orders"); // 先请求个人主页 ax .get("https://my.alipay.com/portal/i.htm") .then(function (response) { if (Number(response.status) !== 200) { throw new Error("Invalid response status code"); }

https://my.alipay.com/portal/i.htm 这个地址现在已经不存在了,访问这个地址的时候,实际上会 302 重定向到 :
https://mrchportalweb.alipay.com/user/ihome.htm

这也是为什么大家总是反应不能成功的原因。

期望核实一下。

另外,请教一个小问题:

我改了 src 里面的内容,用什么命令进行编译会更新到 lib 里面去?

@thundernet8
Copy link
Owner

用npm run build

@thundernet8
Copy link
Owner

@gooking 支付宝的二维码很早之前已经做了调整,个人的二维码都变成了商家二维码,而最早的那种个人收款码也是同时可用,现在估计已经全部迁移到商家二维码,同时web站的数据记录也全部迁移到蚂蚁商家中心了,后面会对项目进行修改

@thundernet8
Copy link
Owner

@gooking 我已经更新了脚本,采用node执行curl命令来获取支付宝商家中心提供的新API,配置稍稍更改了点,然后为了订单记录出现在商户交易记录里面请使用支付宝生成并分享最新的收款二维码

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants