@ -14,4 +14,13 @@ public class MarketConfigBo {
}
public MarketConfigBo(AppBasicConfig config) {
this.packageName = config.packageName;
this.author = config.author;
this.fileSize = config.fileSize;
this.desc = config.desc;
this.images = config.images;
this.downloadTimes = config.downloadTimes;
@ -88,7 +88,7 @@ public class MatrixAppConfigService {
app.setImg(config.img);
app.setHide(config.hide);
app.setVersion(config.version);
MarketConfigBo bo = (MarketConfigBo) config;
MarketConfigBo bo = new MarketConfigBo(config);
String str = gson.toJson(bo);
app.setMarketConfig(str);
appMapper.updateById(app);