保存创建时间
This commit is contained in:
parent
d6ad11695a
commit
4874229025
|
@ -89,6 +89,7 @@ public class CmsPageController extends BaseController {
|
|||
return new CmsResult(CmsResultConstant.INVALID_LENGTH, result.getErrors());
|
||||
}
|
||||
long time = System.currentTimeMillis();
|
||||
cmsPage.setCtime(time);
|
||||
cmsPage.setOrders(time);
|
||||
int count = cmsPageService.insertSelective(cmsPage);
|
||||
return new CmsResult(CmsResultConstant.SUCCESS, count);
|
||||
|
|
Loading…
Reference in New Issue