|
|
@@ -28,8 +28,8 @@ public class WxPayConfiguration {
|
|
|
@ConditionalOnMissingBean
|
|
|
public WxMaService wxMaService() {
|
|
|
WxMaDefaultConfigImpl wxMaConfig = new WxMaDefaultConfigImpl();
|
|
|
- wxMaConfig.setAppid(properties.getAppId());
|
|
|
- wxMaConfig.setSecret(properties.getAppSecret());
|
|
|
+ wxMaConfig.setAppid(properties.getMiniAppId());
|
|
|
+ wxMaConfig.setSecret(properties.getMiniAppSecret());
|
|
|
WxMaService service = new WxMaServiceImpl();
|
|
|
service.setWxMaConfig(wxMaConfig);
|
|
|
return service;
|