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.

61 lines
1.8 KiB

  1. <?php
  2. namespace App\Service;
  3. interface FinancialRecordServiceInterface
  4. {
  5. /**
  6. * 社区服务点新用户奖励
  7. * @param $user_id
  8. * @param $source_id
  9. * @param $money
  10. * @param int $user_type
  11. * @param int $source_type
  12. * @param int $money_type
  13. * @param string $comment
  14. * @param string $desc
  15. * @return mixed
  16. */
  17. public function communityAwardByPlatNewUser($user_id, $source_id, $money, $user_type=2, $source_type=1, $money_type=1, $desc='新用户奖励', $comment='');
  18. /**
  19. * 社区服务点新用户线上首单奖励
  20. * @param $user_id
  21. * @param $source_id
  22. * @param $money
  23. * @param int $user_type
  24. * @param int $source_type
  25. * @param int $money_type
  26. * @param string $comment
  27. * @param string $desc
  28. * @return mixed
  29. */
  30. public function communityAwardByPlatNewUserFirstOLOrder($user_id, $source_id, $money, $user_type=2, $source_type=1, $money_type=1, $desc='新用户首单奖励', $comment='');
  31. /**
  32. * 社区服务点用户订单完成分账
  33. * @param $user_id
  34. * @param $source_id
  35. * @param $money
  36. * @param int $user_type
  37. * @param int $source_type
  38. * @param int $money_type
  39. * @param string $comment
  40. * @param string $desc
  41. * @return mixed
  42. */
  43. public function communitySeparateAccountsByOrderComp($user_id, $source_id, $money, $user_type=2, $source_type=1, $money_type=2, $desc='用户订单分成', $comment='');
  44. /**
  45. * 收支总账
  46. * @param $source_id
  47. * @param $money
  48. * @param $source_type
  49. * @param $money_type
  50. * @param $desc
  51. * @param string $comment
  52. * @return mixed
  53. */
  54. public function ledgerAccounts($source_id, $money, $source_type, $money_type, $desc, $comment='');
  55. }