修改续费api
This commit is contained in:
@@ -153,7 +153,7 @@ class Account
|
|||||||
if ($data['type'] == 3) {
|
if ($data['type'] == 3) {
|
||||||
|
|
||||||
$account_model = new ProductAccount;
|
$account_model = new ProductAccount;
|
||||||
$info = $account_model->getOne(['Account'=>$data['account'],"PackageId" => $data['package']],'ProductName,PackageName,Account,ConnectCount,StartTime,EndTime');
|
$info = $account_model->getOne(['Account'=>$data['account'],"DeleteTag" => 0],'ProductName,PackageName,Account,ConnectCount,StartTime,EndTime');
|
||||||
|
|
||||||
if ($data['connect'] != $info['ConnectCount']) {
|
if ($data['connect'] != $info['ConnectCount']) {
|
||||||
$data = [
|
$data = [
|
||||||
|
|||||||
Reference in New Issue
Block a user