|
@ -22,6 +22,9 @@ public class AppService { |
|
|
private GameAppMapper appMapper; |
|
|
private GameAppMapper appMapper; |
|
|
|
|
|
|
|
|
public AppInfo get(String appId) { |
|
|
public AppInfo get(String appId) { |
|
|
|
|
|
if (!StringUtils.hasText(appId)) { |
|
|
|
|
|
appId = "wx8c50be428cfea560"; |
|
|
|
|
|
} |
|
|
GameApp app = appMapper.query(appId); |
|
|
GameApp app = appMapper.query(appId); |
|
|
Assert.isTrue(app != null, "非法请求"); |
|
|
Assert.isTrue(app != null, "非法请求"); |
|
|
AppInfo info = new AppInfo(app); |
|
|
AppInfo info = new AppInfo(app); |
|
|