DengTao 8 жил өмнө
parent
commit
a9d17c129e

+ 1 - 1
www/protected/components/O2oApp.php

@@ -252,7 +252,7 @@ class O2oApp {
         $criteria->time('<', intval($end));
         $cursor = Comment::model()->findAll($criteria);
         $rows = CommonFn::getRowsFromCursor($cursor);
-        
+
         $count = $cursor->count();
         $parsedRows = Comment::model()->parse($rows);
 

+ 3 - 1
www/protected/components/QyWechat.php

@@ -1448,9 +1448,11 @@ class QyWechat
 	public function updateUser($data){
 	    if (!$this->access_token && !$this->checkAuth()) return false;
 	    $result = $this->http_post(self::API_URL_PREFIX.self::USER_UPDATE_URL.'access_token='.$this->access_token,self::json_encode($data));
-	    if ($result)
+	    var_dump($result);
+	     if ($result)
 	    {
 	        $json = json_decode($result,true);
+            var_dump($json);exit;
 	        if (!$json || !empty($json['errcode']) || $json['errcode']!=0) {
 	            $this->errCode = $json['errcode'];
 	            $this->errMsg = $json['errmsg'];