PayUserMoney.php 250 B

123456789101112
  1. <?php
  2. namespace app\service\pay_user;
  3. use app\common\model\User;
  4. class PayUserMoney extends PayUser {
  5. function payment($amount, User $user,$type,$memo='', $extra = [])
  6. {
  7. $user::money($amount,$user['id'],$type,$memo,$extra);
  8. }
  9. }