agent refund
This commit is contained in:
@@ -237,7 +237,7 @@ class Userinfo extends Controller
|
|||||||
|
|
||||||
$agent_info = $agent_user_model->getOne(['id'=>$agent_id]);
|
$agent_info = $agent_user_model->getOne(['id'=>$agent_id]);
|
||||||
|
|
||||||
$discount = $discount_model->getOne($agent_info['discount_id']);
|
$discount = $discount_model->getOne(['Id'=>$agent_info['discount_id']]);
|
||||||
if (empty($discount)){
|
if (empty($discount)){
|
||||||
$retuen_data = [
|
$retuen_data = [
|
||||||
'Code' => -10000,
|
'Code' => -10000,
|
||||||
|
|||||||
Reference in New Issue
Block a user