CustomChapterOrderService.php 391 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: z-yang
  5. * Date: 2019/5/14
  6. * Time: 17:09
  7. */
  8. namespace App\Modules\Subscribe\Services;
  9. use Exception;
  10. use App\Modules\Subscribe\Models\CustomChapterOrder;
  11. class CustomChapterOrderService
  12. {
  13. public static function create(array $data){
  14. try{
  15. CustomChapterOrder::create($data);
  16. }catch (Exception $e){
  17. }
  18. }
  19. }