|
@@ -366,7 +366,7 @@ class Index extends Api
|
|
$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']){
|