Browse Source

友盟加个配置,linkId

master
nili 7 months ago
parent
commit
3ddc5677f5
  1. 1
      game-service/src/main/java/awesome/group/game/service/bo/matrix/UmengConfigBo.java
  2. 1
      game-service/src/main/java/awesome/group/game/service/matrix/MatrixAppConfigService.java

1
game-service/src/main/java/awesome/group/game/service/bo/matrix/UmengConfigBo.java

@ -6,6 +6,7 @@ public class UmengConfigBo {
public String umengAppCode;
public String umengAppKey;
public String linkId;
public boolean bindWx;

1
game-service/src/main/java/awesome/group/game/service/matrix/MatrixAppConfigService.java

@ -65,6 +65,7 @@ public class MatrixAppConfigService {
Assert.isTrue(StringUtils.hasText(configBo.umengAppSecret), "AppSecret不能为空(阿里云后台获取)");
Assert.isTrue(StringUtils.hasText(configBo.umengAppKeyAli), "AppKey不能为空(阿里云后台获取)");
Assert.isTrue(StringUtils.hasText(configBo.umengAppCode), "AppCode不能为空(阿里云后台获取)");
Assert.isTrue(StringUtils.hasText(configBo.linkId), "linkId不能为空(友盟后台获取)");
String str = gson.toJson(configBo);
MatrixApp app = appMapper.queryByCode(appCode);
app.setUmeng(str);

Loading…
Cancel
Save