create([ 'price' => $price, 'type' => $type, 'user_id' => $userId, 'user_type' => $userType, 'access_id' => $accessId, 'access_type' => $accessType, ]); } //订单流水 暂时放一起 public function createByOrder($price,$type,$userId,$userType,$accessId,$accessType) { return [ 'price' => $price, 'type' => $type, 'user_id' => $userId, 'user_type' => $userType, 'access_id' => $accessId, 'access_type' => $accessType, ]; } public function createByOrderFormAdmin($price,$type,$userId,$userType,$orderId) { return [ 'price' => $price, 'type' => $type, 'cut_user_id' => $userId, 'cut_user_type' => $userType, 'order_id' => $orderId, ]; } }