调试红包活动
This commit is contained in:
parent
9553526dda
commit
55966ff40d
@ -45,14 +45,14 @@ class StoreConsumptionUserDao extends BaseDao
|
||||
/**
|
||||
* 发起人活动校验
|
||||
* @param int $userId
|
||||
* @param array $groupOrder
|
||||
* @param $groupOrder
|
||||
* @param int $spreadUserId
|
||||
* @return bool
|
||||
* @throws \think\db\exception\DataNotFoundException
|
||||
* @throws \think\db\exception\DbException
|
||||
* @throws \think\db\exception\ModelNotFoundException
|
||||
*/
|
||||
public function promoter(int $userId, array $groupOrder, int $spreadUserId)
|
||||
public function promoter(int $userId, $groupOrder, int $spreadUserId)
|
||||
{
|
||||
$consumptionId = (new StoreActivityUserDao())->getValue($userId);
|
||||
$consumption = (new StoreConsumptionDao())->getOne($consumptionId);
|
||||
@ -84,14 +84,14 @@ class StoreConsumptionUserDao extends BaseDao
|
||||
/**
|
||||
* 受邀人活动校验
|
||||
* @param int $userId
|
||||
* @param array $groupOrder
|
||||
* @param $groupOrder
|
||||
* @param int $spreadUserId
|
||||
* @return bool|void
|
||||
* @throws \think\db\exception\DataNotFoundException
|
||||
* @throws \think\db\exception\DbException
|
||||
* @throws \think\db\exception\ModelNotFoundException
|
||||
*/
|
||||
public function guest(int $userId, array $groupOrder, int $spreadUserId)
|
||||
public function guest(int $userId, $groupOrder, int $spreadUserId)
|
||||
{
|
||||
// 查询推荐人的消费金类型
|
||||
$spreadConsumptionId = (new StoreActivityUserDao())->getValue($spreadUserId);
|
||||
|
Loading…
x
Reference in New Issue
Block a user