Parcourir la source

myorderController/index

e il y a 8 ans
Parent
commit
5c45bbb2b1

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

@@ -12,8 +12,8 @@ class MyCommentController extends CController {
      */
     public function actionIndex() {
         // 环境判断
-        // if (ENVIRONMENT == 'product') {
-        if (false) {
+         if (ENVIRONMENT == 'product') {
+        //if (false) {
             if (isset($_COOKIE['weixin_userid']) && isset($_COOKIE['weixin_userid_signature'])) {
                 $signature = md5($_COOKIE['weixin_userid'].'wozhua=9527');
                 if ($signature == $_COOKIE['weixin_userid_signature']) {