This commit is contained in:
aozhiwei 2024-04-03 22:13:02 +08:00
parent d7451619b6
commit 16c7a0fca4

View File

@ -10,6 +10,9 @@ class NameService extends BaseService {
public function verifyNameSign($name, $nameSign)
{
if (SERVER_ENV != _ONLINE) {
return true;
}
list($time, $rnd, $md5) = explode('_', $nameSign);
return md5($name . $time . $rnd . "sllpqzirwnm5q0kj8qvoxlqhxc3nhn7a") == $md5;
}