28 lines
732 B
C#
28 lines
732 B
C#
using System.Threading.Tasks;
|
|
using YBDevice.Application;
|
|
using YBDevice.Entity;
|
|
|
|
namespace YBDevice.NWeb.Pages.MiniProgram
|
|
{
|
|
/// <summary>
|
|
/// С³ÌÐòÏêÇé
|
|
/// </summary>
|
|
public class DetailModel : BaseModel
|
|
{
|
|
public int mid = 0;
|
|
public YB_MiniProgramHistory data;
|
|
public YB_OfficlaAccount officla;
|
|
private readonly IOfficialService _Service;
|
|
public DetailModel(IOfficialService officialService)
|
|
{
|
|
_Service = officialService;
|
|
}
|
|
public async Task OnGetAsync(int id = 0)
|
|
{
|
|
mid = id;
|
|
data = await _Service.GetLastCommitStatusAsync(id);
|
|
officla = await _Service.DetailAsync(id);
|
|
}
|
|
}
|
|
}
|