|
@@ -34,10 +34,10 @@ class OrderController extends O2oBaseController{
|
|
|
//活动暂用 start 判断用户是否购买过 test //581fe5a6a84ea0e36c8b45bb product// 582487169f5160d0048b4fe7
|
|
|
$doubleEleventId = '581fe5a6a84ea0e36c8b45bb';
|
|
|
//$flag_book = 0;
|
|
|
- var_dump($products);
|
|
|
- exit;
|
|
|
- if($products[0]['product_id'] == $doubleEleventId) {
|
|
|
|
|
|
+ if($products[0]['product_id'] == $doubleEleventId) {
|
|
|
+ var_dump($products);
|
|
|
+ exit;
|
|
|
$criteria_user = new EMongoCriteria();
|
|
|
$criteria_user->user('==', new MongoId($user_id));
|
|
|
$criteria_user->addCond('products.product', '==', new MongoId($doubleEleventId));//双十一产品id
|