
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
2015年10月份,微博上偶然看到Let’s Encrypt 推出了beta版,作为一个曾经被https虐出血的码农来说,这无疑是一个重磅消息。并且在全站Https的大趋势下,Let’s Encrypt 脱颖而出,无疑会对传统SSL证书提供商造成不小的打击,并将Https的应用和推广上升到一个空前火热的阶段。Let’s Encrypt是由ISRG(Internet Security Researc
最终效果:用到的第三方框架:1.自定义UICollectionViewLayout实现瀑布流布局效果////WaterflowLayout.h//0104-瀑布流#import@class WaterflowLayout;@protocol WaterflowLayoutDelegate- (CGFloat)waterflowLayout
要求:1、你已经知道redis是什么2、熟悉Linux基本操作(CentOS 6.5)3、有单机redis开发相关经验4、有主观能动性,至少熟练百度的使用redis主从配置初步:2个节点主从如果我们redis的压力很大,如果我们的并发高到我们读数据和写数据都有了很大压力。那么我们可能就需要把redis分开部署,并且配置为一个『主从』的状态。首先我们要安装red
SELECT t2.sku,t1.`value` from catalog_product_entity_decimal AS t1LEFT JOIN catalog_product_entity AS t2ON t2.entity_id = t1.entity_idWHERE t1.attribute_id=76order by t2.sku我这里 attribute_id=
$email = 'customer_email@qq.com';$customer = Mage::getModel("customer/customer");//$WebsiteId = Mage::app()->getWebsite('admin')->getId();$customer->setWebsiteId(1);//查看数据库,设置你自己的website_id$custom
/*通过分类id获取该分类下的产品*/$category_id = 49;$products = Mage::getModel('catalog/category')->load($category_id)->getProductCollection()
/*获取 头一天的订单里的产品的qty_ordered*/SELECT `main_table`.increment_id,`main_table`.`status`, `main_table`.created_at,item_table.qty_ordered,item_table.product_id,item_table.skuFROM `sales_flat_order_grid`
UPDATE catalog_product_entity_decimalSET `value`=0.09WHERE attribute_id=144 AND entity_id = (SELECT entity_id FROM catalog_product_entity WHERE sku='AP2016' LIMIT 1)比如,我们后期为商品添加了一个属性xxx,该属性是来表示商品某种
SELECT t1.period,t2.sku,t3.`value` AS price ,t1.product_name,t1.qty_orderedfrom sales_bestsellers_aggregated_daily AS t1LEFT JOIN catalog_product_entity AS t2ON t1.product_id=t2.entity_idLEFT JO
经常用的功能,比如你的促销中使用了优惠券,可是你只想让已注册用户使用,人可以使用Mage::getSingleton( 'customer/session' )->isLoggedIn()来判断用户是否已经登陆<?phpif(Mage::getSingleton( 'customer/session' )->isLoggedIn()) {echo 'You must logge







