TMusic.Service/AppService.cs
(完整代码) 601Busing System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TMusic.Util;
using TMusic.Model;
namespace TMusic.Service
{
public class AppService : BaseService
{
private const string file_name = "app_config.json";
public AppConfigModel GetConfigModel()
{
var model = GetFileModel<AppConfigModel>(file_name);
model.Valid();
return model;
}
public void UpdateModel(AppConfigModel model)
{
Update(model, file_name);
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
