Skip to content

Commit 9c0dfe6

Browse files
committed
fix example typo
1 parent 4d54f41 commit 9c0dfe6

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

example/src/main/java/com/pingxx/example/ChargeExample.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ private Map<String, Object> bfbWapExtra() {
354354
extra.put("result_url", "https://example.com/success");
355355

356356
// 必须,是否需要登录百度钱包来进行支付。
357-
// extra.put("bfb_login", true);
357+
extra.put("bfb_login", true);
358358

359359
return extra;
360360
}
@@ -422,7 +422,7 @@ private Map<String, Object> yeepayWapExtra() {
422422
extra.put("terminal_type", 2);
423423

424424
// 必须,终端 ID。
425-
extra.put("terminal_IR", "TERMINAL_ID");
425+
extra.put("terminal_id", "TERMINAL_ID");
426426

427427
// 必须,用户使用的移动终端的 UserAgent 信息。
428428
extra.put("user_ua", "USER_UA");
@@ -460,13 +460,13 @@ private Map<String, Object> cmbWalletExtra() {
460460
*/
461461

462462
// 必须,客户协议号,不超过 30 位的纯数字字符串。
463-
extra.put("p_no", "P_NO");
463+
extra.put("p_no", "201700100001");
464464

465465
// 必须,协议开通请求流水号,不超过 20 位的纯数字字符串,请保证系统内唯一。
466-
extra.put("seq", "SEQ");
466+
extra.put("seq", "201700200001");
467467

468468
// 必须,协议用户 ID,不超过 20 位的纯数字字符串。
469-
extra.put("m_uid", "UID");
469+
extra.put("m_uid", "201700300001");
470470

471471
// 必须,协议手机号,11 位数字。
472472
extra.put("mobile", "13523456789");

0 commit comments

Comments
 (0)