Commit 2ee7485b authored by pengfei's avatar pengfei

update 团长分销-是否已申请团长接口返回值类型

parent 7d5db4ec
......@@ -60,13 +60,14 @@ class ColonelService
/**
* Notes: 查看用户是否已申请
* User: pengfei@yidian-inc.com
* Date: 2021/8/25 9:46 上午
* Date: 2021/8/25 11:42 上午
* @param int $userId
* @return bool
* @return int
*/
public static function isApply(int $userId): bool
public static function isApply(int $userId): int
{
return ColonelDistributorColonelApply::existUser($userId);
$isApply = ColonelDistributorColonelApply::existUser($userId);
return intval($isApply);
}
......
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