金柚修改限制标记
This commit is contained in:
@@ -21,7 +21,15 @@ class Jinyoudt extends Controller
|
||||
|
||||
$account_model = new AccountModel;
|
||||
|
||||
$account_model->updateOne($where, ['im' => '1']);
|
||||
$im_now = $account_model->getOne($where);
|
||||
|
||||
$im = 1;
|
||||
if ($im_now) {
|
||||
$im = 0;
|
||||
}
|
||||
|
||||
$account_model->updateOne($where, ['im' => $im]);
|
||||
|
||||
$jinyou = new Jinyou();
|
||||
$status = $jinyou::openTxLimit($data['account']);
|
||||
echo json_encode(['Code'=>30000,]);
|
||||
|
||||
Reference in New Issue
Block a user