* Refactor ui of entry::create.

This commit is contained in:
liumengyi
2023-06-26 15:37:49 +08:00
parent bdff84e508
commit 2cd4841880
4 changed files with 202 additions and 2 deletions
+1
View File
@@ -90,6 +90,7 @@ class entryModel extends model
$entry = fixer::input('post')
->setDefault('ip', '*')
->setIF($this->post->allIP, 'ip', '*')
->setIF($this->post->freePasswd == '1', 'account', '')
->add('createdBy', $this->app->user->account)
->add('createdDate', helper::now())
->remove('allIP')