PayController.php 393 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace App\Http\Controllers\V1;
  3. use App\Models\Pay;
  4. class PayController extends Controller
  5. {
  6. public function bytedance()
  7. {
  8. $app = $this->getByteDanceFactory();
  9. }
  10. public function query($payId)
  11. {
  12. $pay = Pay::find($payId);
  13. if(!$pay || $pay->status){
  14. return $this->success();
  15. }
  16. return $this->error();
  17. }
  18. }