public function doenroll($phone = null){
;
$code = rand(1111, 9999);
}
在if里面对$code赋值 上面的static $code的值并不会变,这是为什么,如果在if里面要修改
一個人去看海2019-05-01 12:12:03
I found the problem. There is nothing wrong with the assignment. The if is not entered.