You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.8 KiB
62 lines
1.8 KiB
<?php
|
|
|
|
namespace App\Service;
|
|
|
|
interface FinancialRecordServiceInterface
|
|
{
|
|
|
|
/**
|
|
* 社区服务点新用户奖励
|
|
* @param $user_id
|
|
* @param $source_id
|
|
* @param $money
|
|
* @param int $user_type
|
|
* @param int $source_type
|
|
* @param int $money_type
|
|
* @param string $comment
|
|
* @param string $desc
|
|
* @return mixed
|
|
*/
|
|
public function communityAwardByPlatNewUser($user_id, $source_id, $money, $user_type=2, $source_type=1, $money_type=1, $desc='新用户奖励', $comment='');
|
|
|
|
/**
|
|
* 社区服务点新用户线上首单奖励
|
|
* @param $user_id
|
|
* @param $source_id
|
|
* @param $money
|
|
* @param int $user_type
|
|
* @param int $source_type
|
|
* @param int $money_type
|
|
* @param string $comment
|
|
* @param string $desc
|
|
* @return mixed
|
|
*/
|
|
public function communityAwardByPlatNewUserFirstOLOrder($user_id, $source_id, $money, $user_type=2, $source_type=1, $money_type=1, $desc='新用户首单奖励', $comment='');
|
|
|
|
/**
|
|
* 社区服务点用户订单完成分账
|
|
* @param $user_id
|
|
* @param $source_id
|
|
* @param $money
|
|
* @param int $user_type
|
|
* @param int $source_type
|
|
* @param int $money_type
|
|
* @param string $comment
|
|
* @param string $desc
|
|
* @return mixed
|
|
*/
|
|
public function communitySeparateAccountsByOrderComp($user_id, $source_id, $money, $user_type=2, $source_type=1, $money_type=2, $desc='用户订单分成', $comment='');
|
|
|
|
/**
|
|
* 收支总账
|
|
* @param $source_id
|
|
* @param $money
|
|
* @param $source_type
|
|
* @param $money_type
|
|
* @param $desc
|
|
* @param string $comment
|
|
* @return mixed
|
|
*/
|
|
public function ledgerAccounts($source_id, $money, $source_type, $money_type, $desc, $comment='');
|
|
|
|
}
|