1
This commit is contained in:
parent
3a02badc59
commit
7c68b4a6bc
@ -180,6 +180,12 @@ class BagController extends BaseAuthedController {
|
||||
$errMsg = 'Parameter error name length must not be greater than 16';
|
||||
return;
|
||||
}
|
||||
if(!preg_match("/^[a-z\d]*$/i",$name))
|
||||
{
|
||||
$errCode = 5;
|
||||
$errMsg = 'Excuse me , the name you entered is in the wrong format.';
|
||||
return;
|
||||
}
|
||||
$nameService = new services\NameService();
|
||||
if (!$nameService->verifyNameSign($name, $nameSign)){
|
||||
$errCode = 5;
|
||||
|
Loading…
x
Reference in New Issue
Block a user