Commit 7e24f81f authored by 刘小敏's avatar 刘小敏

fix(agent): 移除代理商查询为空拦截

parent 0780700f
......@@ -77,9 +77,9 @@ class Agent extends Common
->field('id,user_id,province_name,real_name,id_card,id_card_images,commission_rate,total_commission,status,apply_id,createtime')
->find();
if (!$agent) {
$this->error('您还不是代理商');
}
// if (!$agent) {
// $this->error('您还不是代理商');
// }
// 冻结或禁用状态不允许查看详情
$allowStatus = [AgentModel::STATUS_NORMAL];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment