Commit dba670c4 authored by liuyuzhen's avatar liuyuzhen

首页图片以及地址保存问题

parent 4515d05a
......@@ -35,10 +35,8 @@ class AddressServiceModel extends \Business\AbstractModel {
$where['address_id'] = $addressId;
$result = $addressDao->update($address,$where);
\Our\RedisHelper::delCachedFunction(\Redis\Db8\AddressRedisModel::getInstance(),array(&$addressDao, 'findByWhereWithColumns'),array(),array($addressId));
if($result===false){
return false;
}else{
return true;
if($result!==false){
$result = true;
}
}else{
$result = $addressDao->insert($address);
......
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