servermgrv2 init...
This commit is contained in:
parent
b040b4d006
commit
c563e7d0c0
@ -8,7 +8,7 @@ class UserSNSModel extends CommonModel
|
||||
{
|
||||
protected $table = 'tw_user_sns';
|
||||
// protected $primaryKey = 'uid';
|
||||
protected $useAutoIncrement = false;
|
||||
// protected $useAutoIncrement = true;
|
||||
protected $allowedFields = ['user_uid', 'site', 'id', 'name', 'email', 'detail', 'status', 'updated_at', 'created_at'];
|
||||
protected $validationRules = [
|
||||
'user_uid' => 'if_exist|regex_match[/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/]',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user