未验证 提交 671062df 编写于 作者: T tanghai 提交者: GitHub

Merge pull request #54 from Viagi/master

修复ComponentFactory.CreateWithId<RechargeRecord>(id)抛找不到无参构造函数的问题
......@@ -12,7 +12,11 @@
// 充值时间
public long Time { get; set; }
public RechargeRecord(long id) : base(id)
public RechargeRecord() : base()
{
}
public RechargeRecord(long id) : base(id)
{
}
}
......@@ -24,7 +28,11 @@
public long UpdateTime { get; set; }
public Recharge(long id) : base(id)
public Recharge() : base()
{
}
public Recharge(long id) : base(id)
{
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册