Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
loveisland
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘小敏
loveisland
Commits
7e24f81f
Commit
7e24f81f
authored
Jul 07, 2026
by
刘小敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(agent): 移除代理商查询为空拦截
parent
0780700f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Agent.php
addons/shopro/controller/user/Agent.php
+3
-3
No files found.
addons/shopro/controller/user/Agent.php
View file @
7e24f81f
...
@@ -77,9 +77,9 @@ class Agent extends Common
...
@@ -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'
)
->
field
(
'id,user_id,province_name,real_name,id_card,id_card_images,commission_rate,total_commission,status,apply_id,createtime'
)
->
find
();
->
find
();
if
(
!
$agent
)
{
//
if (!$agent) {
$this
->
error
(
'您还不是代理商'
);
//
$this->error('您还不是代理商');
}
//
}
// 冻结或禁用状态不允许查看详情
// 冻结或禁用状态不允许查看详情
$allowStatus
=
[
AgentModel
::
STATUS_NORMAL
];
$allowStatus
=
[
AgentModel
::
STATUS_NORMAL
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment