用apidoc自带调试接口的工具;
任何情况下参数的key值都是存在;
{
"mobile_phone": "",
"email": "",
"code": "",
"password": "",
"nickname": "",
"first_name": "",
"last_name": "",
"source": "",
"reg_ip": ""
}
用isset()来检查是否有值;是不可行;就算value为空;isset还是为true;
所以应该用!empty()来检查参数是否有值;