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