Warning: Use of undefined constant reset_password_message - assumed 'reset_password_message' (this will throw an Error in a future version of PHP) in /home/wwwroot/imdupeng/wp-content/themes/Ality/functions.php on line 406
小程序 | 添翼博客

Warning: Use of undefined constant hot - assumed 'hot' (this will throw an Error in a future version of PHP) in /home/wwwroot/imdupeng/wp-content/themes/Ality/inc/sticky-cat.php on line 5

记录小程序-微信支付分-前后端交互导致的bug

记录小程序-微信支付分-前后端交互导致的bug
场景: 客户使用小程序扫码开启订单,使用的是微信支付分。   系统流程: 1、客户扫码,小程序前端向后端发起创建微信支付分请求; 2、后端接到请求后,向微信发起请求创建微信支付分订单请求,获得‘微信支付分验证信息’,并生成一个本系统‘预订单编号’一起返回给前端;(此时微信分订单状态为created未开始,本系统订单未创建) 3、小程序前端拿着‘微信支付分验证信息’调用微信用户授权组件,用户授...