分销员等级表agent_level:用户表user:
请问用户的分销等级agent_level,取得是分销员等级表agent_level的id还是grade字段?
\app\services\agent\AgentLevelServices::checkUserLevelFinish使用grade
\app\services\agent\AgentLevelTaskServices::getUserLevelTaskList中$userLevel = $levelServices->getLevelInfo($user['agent_level']);使用的是id(对应方法\services\agent\AgentLevelServices::getLevelInfo)
\app\services\agent\AgentLevelTaskServices::getUserLevelTaskList比较时使用的是grade