shish 6 years ago
parent
commit
1042c63c64
1 changed files with 8 additions and 4 deletions
  1. 8 4
      app/client/controllers/UserController.php

+ 8 - 4
app/client/controllers/UserController.php

@@ -173,14 +173,18 @@ class UserController extends BaseController
 	//用户基本信息和资产 shish 2019.12.19
 	public function actionMyProfile()
 	{
+		
+		$content = '<p><a data-miniprogram-appid="wxe4675bab299a52f7" data-miniprogram-path="pages/case/casedetail?mainId=184&owner_user_id=19" href=""><img src="https://www.meijiabang.com/0.gif" alt="" data-width="null" data-ratio="NaN"></a></p>';
+		$content = $this->html_out($content);
 
-		$user = UserService::getUserInfo($this->userId);
+		$content = '<p><a data-miniprogram-appid="wxe4675bab299a52f7" data-miniprogram-path="pages/case/casedetail?mainId=184&owner_user_id=19" href=""><img src="https://www.meijiabang.com/0.gif" alt="" data-width="null" data-ratio="NaN"></a></p>';
 
-		//$content = '&lt;p&gt;&lt;a data-miniprogram-appid=&quot;wxe4675bab299a52f7&quot; data-miniprogram-path=&quot;pages/case/casedetail?mainId=184&amp;owner_user_id=19&quot; href=&quot;&quot;&gt;&lt;img src=&quot;https://www.meijiabang.com/0.gif&quot; alt=&quot;&quot; data-width=&quot;null&quot; data-ratio=&quot;NaN&quot;&gt;&lt;/a&gt;&lt;/p&gt;';
-		//$content = $this->html_out($content);
-		$content = "<a data-miniprogram-appid='wxe4675bab299a52f7' data-miniprogram-path='pages/page/redirect?redirect_url=pages/getGuest/shareIndex' href=''>建材大师</a>";
 		$r = wxUtil::sendMsg($content, $this->merchant, $user['openId']);
 		Yii::info(json_encode($r));
+		
+		$user = UserService::getUserInfo($this->userId);
+
+
 
 		$growth = $user['userAsset']['growth'];
 		$extend = $this->merchantExtend;