|
@@ -76,7 +76,7 @@ public class WxCompanyUserController extends AppBaseController {
|
|
|
// return R.error("昵称不符合标准!");
|
|
|
// }
|
|
|
//获取第二个小程序配置,序号从0开始
|
|
|
- final WxMaService wxService = WxMaConfiguration.getMaService(maProperties.getConfigs().get(1).getAppid());
|
|
|
+ final WxMaService wxService = WxMaConfiguration.getMaService(param.getAppId());
|
|
|
try {
|
|
|
WxMaJscode2SessionResult session = wxService.getUserService().getSessionInfo(param.getCode());
|
|
|
this.logger.info(session.getSessionKey());
|