wangxiaodong 3 years ago
parent
commit
79698c0aa8
2 changed files with 1 additions and 2 deletions
  1. 0 1
      app/event/MemberRegister.php
  2. 1 1
      app/model/member/Register.php

+ 0 - 1
app/event/MemberRegister.php

@@ -32,7 +32,6 @@ class MemberRegister
 
 	public function handle($param)
 	{
-	    echo "<pre>";print_r('111');exit;
           // 发送通知
           $message_model = new Message();
           $message_model->sendMessage([ "keywords" => "REGISTER_SUCCESS", "member_id" => $param["member_id"] ]);

+ 1 - 1
app/model/member/Register.php

@@ -123,7 +123,7 @@ class Register extends BaseModel
 				$stat->addShopStat([ 'member_count' => 1, 'site_id' => 0 ]);
 				//echo "<pre>";print_r('333');exit;
 				//会员注册事件
-				event("MemberRegister", [ 'member_id' => $res ]);
+				//event("MemberRegister", [ 'member_id' => $res ]);
 				$data['member_id'] = $res;
 				$this->pullHeadimg($data);
 				return $this->success($res);