PayMerchantService.php 602 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: tandunzhao
  5. * Date: 2017/12/7
  6. * Time: 上午10:10
  7. */
  8. namespace App\Modules\Trade\Services;
  9. use App\Modules\Trade\Models\PayMerchant;
  10. class PayMerchantService
  11. {
  12. /**
  13. * 根据ID查找
  14. * @param $id
  15. * @return mixed
  16. */
  17. public static function getPayMerchantSingle($id) {
  18. return PayMerchant::getPayMerchantSingle($id);
  19. }
  20. /**
  21. * 查找所有的支付渠道通道
  22. * @return mixed
  23. */
  24. public static function getPayMerchantSourceList() {
  25. return PayMerchant::getPayMerchantSourceList();
  26. }
  27. }