Commit ab9b3a5c authored by liuyuzhen's avatar liuyuzhen

省市测试

parent 62da0b21
......@@ -8,9 +8,10 @@ namespace Area;
*/
class AreaUtil {
public function getIpCityInfo($ip = false){
if($ip==false){
public function getIpCityInfo($ip = ''){
if(!$ip){
$ip =\Our\Common::getIP();
var_dump($ip);
}
$cityData = \Our\Common::getIpCity($ip);
$provinceId = \Our\ApiConst::zero;
......
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