RefillOil.php 461 B

1234567891011121314151617181920212223242526272829
  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)
  14. {
  15. return [true, $input['order_sn'], false];
  16. }
  17. public function query($refill_info)
  18. {
  19. return [true,''];
  20. }
  21. }