agent refund

This commit is contained in:
“wanyongkang”
2021-08-25 12:35:42 +08:00
parent b7991b8ea9
commit d86e8f36eb

View File

@@ -237,7 +237,7 @@ class Userinfo extends Controller
$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)){
$retuen_data = [
'Code' => -10000,