Commit cbe9746b authored by sugar's avatar sugar

姓名卡

parent 2c8a37c4
...@@ -25,7 +25,7 @@ class Sms extends Api ...@@ -25,7 +25,7 @@ class Sms extends Api
*/ */
public function send() public function send()
{ {
$name = create_nickname(); $name = create_nickname(rand(1,2));
dump($name);die; dump($name);die;
$mobile = $this->request->post("mobile"); $mobile = $this->request->post("mobile");
$event = $this->request->post("event");//forget_password:忘记密码 $event = $this->request->post("event");//forget_password:忘记密码
......
...@@ -779,7 +779,7 @@ if (!function_exists('getRecursion')) { ...@@ -779,7 +779,7 @@ if (!function_exists('getRecursion')) {
break; break;
case 2: case 2:
$nicheng = $arrXing[mt_rand(0, count($arrXing) - 1)]; $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)]); $nicheng .= (mt_rand(0, 1) ? $arrMing[mt_rand(0, count($arrMing) - 1)] : $arrMing[mt_rand(0, count($arrMing) - 1)]);
} }
break; 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