songxingwei 3 years ago
parent
commit
436219687e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      application/api/controller/Index.php

+ 2 - 2
application/api/controller/Index.php

@@ -359,14 +359,14 @@ class Index extends Api
      * @header
      * @header
      * @param  name:user_id type:int require:1 desc:想认识的用户id
      * @param  name:user_id type:int require:1 desc:想认识的用户id
      * @param  name:pool_id type:string require:0 desc:互选池ID
      * @param  name:pool_id type:string require:0 desc:互选池ID
-     * @param  name:leave_message type:string require:0 desc:留言
+//     * @param  name:leave_message type:string require:0 desc:留言
      */
      */
     public function want_know(){
     public function want_know(){
         $this->check_login();
         $this->check_login();
         $user_id = intval(input('user_id'));  //用户id
         $user_id = intval(input('user_id'));  //用户id
         if (!$user_id) $this->error('用户ID为空!');
         if (!$user_id) $this->error('用户ID为空!');
         $pool_id = intval(input('pool_id'));  //互选池id
         $pool_id = intval(input('pool_id'));  //互选池id
-        $leave_message = input('leave_message');  //留言
+//        $leave_message = input('leave_message');  //留言
 //        if (!$pool_id) $this->error('互选池ID为空!');
 //        if (!$pool_id) $this->error('互选池ID为空!');
         $result = ElectPool::wantKnow($user_id,$pool_id,$leave_message);
         $result = ElectPool::wantKnow($user_id,$pool_id,$leave_message);
         if ($result['code']){
         if ($result['code']){