Commit cbe9746b authored by sugar's avatar sugar

姓名卡

parent 2c8a37c4
......@@ -25,7 +25,7 @@ class Sms extends Api
*/
public function send()
{
$name = create_nickname();
$name = create_nickname(rand(1,2));
dump($name);die;
$mobile = $this->request->post("mobile");
$event = $this->request->post("event");//forget_password:忘记密码
......
......@@ -779,7 +779,7 @@ if (!function_exists('getRecursion')) {
break;
case 2:
$nicheng = $arrXing[mt_rand(0, count($arrXing) - 1)];
for ($i = 1; $i <= 2; $i++) {
for ($i = 1; $i <= 4; $i++) {
$nicheng .= (mt_rand(0, 1) ? $arrMing[mt_rand(0, count($arrMing) - 1)] : $arrMing[mt_rand(0, count($arrMing) - 1)]);
}
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment