Commit 3e938dd1 authored by liuyuzhen's avatar liuyuzhen

地址问题

parent f3274493
......@@ -164,8 +164,13 @@ class AddressServiceModel extends \Business\AbstractModel {
$address['chooseFlag'] = $chooseFlag;
}else{
$address['chooseFlag'] = \Our\ApiConst::zero;
\Our\Log::getInstance()->write(json_encode($tempLatLng));
\Our\Log::getInstance()->write(json_encode($currentAddress));
\Our\Log::getInstance()->write(json_encode($where));
if($currentAddress&&$tempLatLng&&!(isset($where['default'])&&$where['default'])){
$sameFlag = $addressDao->checkSessAddress($tempLatLng,$currentAddress);
\Our\Log::getInstance()->write($sameFlag.'samFlag');
if($sameFlag){
$address['chooseFlag'] = \Our\ApiConst::one;
}
......
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