Commit e988aedb authored by pengfei's avatar pengfei

update 团长分销-团长管理-去掉强类型限制

parent 65a3c80b
......@@ -61,10 +61,10 @@ class ColonelService
* Notes: 查看用户是否已申请
* User: pengfei@yidian-inc.com
* Date: 2021/8/25 11:42 上午
* @param int $userId
* @param $userId
* @return array
*/
public static function isApply(int $userId): array
public static function isApply($userId): array
{
$applyInfo = ColonelDistributorColonelApply::getRecord(['user_id' => $userId], ['colonel_apply_id','audit_status']);
return [
......@@ -136,12 +136,12 @@ class ColonelService
* Notes: 团长申请审核
* User: pengfei@yidian-inc.com
* Date: 2021/8/23 1:54 下午
* @param int $applyId
* @param int $auditStatus
* @param $applyId
* @param $auditStatus
* @return bool
* @throws MarketingException
*/
public static function handleManageAudit(int $applyId, int $auditStatus): bool
public static function handleManageAudit($applyId, $auditStatus): bool
{
// 审核状态参数检测
if (!in_array($auditStatus, [ColonelDistributorColonelApply::STATUS_PASS,ColonelDistributorColonelApply::STATUS_REJECT])) {
......@@ -179,10 +179,10 @@ class ColonelService
* Notes: 获取自提点信息
* User: pengfei@yidian-inc.com
* Date: 2021/8/24 2:40 下午
* @param int $applyId
* @param $applyId
* @return array
*/
public static function getTakePlaceInfo(int $applyId): array
public static function getTakePlaceInfo($applyId): array
{
$where = [
'colonel_apply_id' => $applyId
......
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