RefillOil.php 566 B

12345678910111213141516171819202122232425262728293031323334
  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. return [true, $input['order_sn'], false];
  16. }
  17. public function query($refill_info)
  18. {
  19. return [true,''];
  20. }
  21. public function balance()
  22. {
  23. return [false, '暂无余额接口'];
  24. }
  25. }