public function randNumber(){
$str = 'A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z';
$str_arr = explode(',',$str);
$count = count($str_arr);
$arr = [];
foreach ($str_arr as $k => $v) {
$arr = $str_arr[rand(0,$count-1)];
}
$number = $arr.mt_rand(10000,99999);
$this->success('',$number);
}
最终返回