php yii memcache

來源:互聯網
上載者:User

標籤:java   on   資料   amp   as   res   php   type   app   

php的yii架構的memcache的用發執行個體:

$cache_key = ‘ALL_GROUPS_‘.$this->city_id;

$groups_data=Yii::app()->Memcache->get($cache_key);
if(empty($group_data)){

//樓盤api$groups_api = str_replace(‘%s‘, $city_info[‘domain_name‘], JConfig::item(‘apiConfig.groups_api‘).‘&city_id=‘.$this->city_id;$json_result = UtlsFn::simpleRequest($groups_api);$result = CJSON::decode($json_result);if (empty($result))    ErrorFn::show(ErrorFn::API_ERROR,null,ErrorFn::TEMPLATE_TYPE_WAP);$groups_data=$result;Yii::app()->Memcache->set($cache_key,$groups_data,1800);

}
項目bug:
修改bug(yes):30,31,32,34,42,51,54,39,
重點bug:47,45(not)
不確定bug:48(not),62(not)
可有可無的bug:,61(not)
沒有必要bug(not):29(not),41(not),44(not),
不是bug(not),51,53,55,57,59,60,63,38
前段的bug(yes):21.22.20(資料提供者,可以修複,需求在變)

php yii memcache

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.