RefillOil.php 605 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace refill\lx;
  3. require_once(BASE_HELPER_RAPI_PATH . '/lx/config.php');
  4. use refill;
  5. use mtopcard;
  6. use Log;
  7. class RefillOil extends refill\IRefillOil
  8. {
  9. public function __construct($cfgs)
  10. {
  11. parent::__construct($cfgs);
  12. }
  13. public function add($card_no, $card_type, $amount, $input,&$net_errno = 0)
  14. {
  15. refill\util::send_normal($params['order_sn']);
  16. return [true , '',false];
  17. }
  18. public function query($refill_info)
  19. {
  20. return [true,''];
  21. }
  22. public function balance()
  23. {
  24. return [false, '暂无余额接口'];
  25. }
  26. }