Commit 49c729db authored by zhz's avatar zhz

group

parent 555e2fa7
......@@ -41,7 +41,7 @@ class GroupSaleServiceModel extends \Business\AbstractModel {
$in_store_service_flag=0;
if($lng && $lat){
$location = array('lat'=>$lat,'lng'=>$lng);
$in_store_service = \Store\StoreUtil::getInstance()->checkAddressInServiceArea($location,$storeId);
$in_store_service = \Store\StoreUtil::getInstance()->checkAddressInServiceArea($location,$data['store_id']);
$in_store_service && $in_store_service_flag = 1;
}
$data['inStoreService'] = $in_store_service_flag;
......
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