Commit dba670c4 authored by liuyuzhen's avatar liuyuzhen

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

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