一、 微信開(kāi)啟v3支付可能需要用公鑰支付,調(diào)整方法:
1. 增加sql:
INSERT INTO `eb_system_config` (`config_id`, `config_classify_id`, `config_name`, `config_key`, `config_type`, `config_rule`, `config_props`, `required`, `info`, `sort`, `user_type`, `status`, `create_time`, `linked_status`, `linked_id`, `linked_value`) VALUES (541, 80, '微信支付公鑰', 'pay_weixin_public_key', 'file', '', '', 0, '微信新版本支付公鑰', 0, 0, 1, '2024-12-25 12:09:23', 1, 532, 1);
INSERT INTO `eb_system_config` (`config_id`, `config_classify_id`, `config_name`, `config_key`, `config_type`, `config_rule`, `config_props`, `required`, `info`, `sort`, `user_type`, `status`, `create_time`, `linked_status`, `linked_id`, `linked_value`) VALUES (542, 81, '微信支付公鑰', 'pay_routine_public_key', 'file', '', '', 0, '微信支付公鑰', 0, 0, 1, '2024-12-25 12:21:40', 1, 533, 1);
INSERT INTO `eb_system_config` (`config_id`, `config_classify_id`, `config_name`, `config_key`, `config_type`, `config_rule`, `config_props`, `required`, `info`, `sort`, `user_type`, `status`, `create_time`, `linked_status`, `linked_id`, `linked_value`) VALUES (543, 80, '微信支付公鑰ID', 'pay_weixin_public_id', 'input', '', '', 0, '微信支付公鑰ID', 0, 0, 1, '2024-12-26 09:41:34', 1, 532, 1);
INSERT INTO `eb_system_config` (`config_id`, `config_classify_id`, `config_name`, `config_key`, `config_type`, `config_rule`, `config_props`, `required`, `info`, `sort`, `user_type`, `status`, `create_time`, `linked_status`, `linked_id`, `linked_value`) VALUES (544, 81, '微信支付公鑰ID', 'pay_routine_public_id', 'input', '', '', 0, '微信支付公鑰ID', 0, 0, 1, '2024-12-26 09:43:11', 1, 533, 1);
2. 修改代碼:
需要修改crmeb/services中的代碼;
具體代碼在附件中,可以下載直接覆蓋,也可以對(duì)比代碼處理