e 8 жил өмнө
parent
commit
bdf0b0b3a9

+ 2 - 2
www/protected/modules/o2o/controllers/MyOrderController.php

@@ -9,7 +9,7 @@ class MyOrderController extends CController {
 
     public function actionIndex() {
         // 环境判断
-         if (ENVIRONMENT == 'test') {
+         if (ENVIRONMENT == 'product') {
         //if (false) {
             if (isset($_COOKIE['weixin_userid']) && isset($_COOKIE['weixin_userid_signature'])) {
                 $signature = md5($_COOKIE['weixin_userid'].'wozhua=9527');
@@ -24,7 +24,7 @@ class MyOrderController extends CController {
         } else {
             $userid = Yii::app()->request->getParam('weixin_userid', '');
         }
-
+        var_dump($userid);
         $tech = TechInfo::getByUserid($userid);
         if (!$tech) {
             $this->render('error', ['msg' => '未查询到用户']);die;