OrderParamWsoService.php 548 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: z-yang
  5. * Date: 2019/6/28
  6. * Time: 15:48
  7. */
  8. namespace App\Modules\Subscribe\Services;
  9. use App\Modules\Subscribe\Models\OrderParamWso;
  10. class OrderParamWsoService
  11. {
  12. public static function createOrder($order_id,$inner_send_order_id,$outer_send_order_id,$total_param_id,$total_param,$total_type)
  13. {
  14. try{
  15. OrderParamWso::create(compact('order_id','inner_send_order_id','outer_send_order_id','total_param_id','total_param','total_type'));
  16. }catch (\Exception $e){}
  17. }
  18. }