<?php
namespace App\models\Logistic\Api\SendXml;
use App\models\Logistic\Api\Custom\Client\ClientFactory;
/**
 * 核放单发送报文到beanstalk或者客户端
 */
class InvSb{
    public function send($xml){
        $client = ClientFactory::factory('beanstalk');
        $client->setSendInf($xml);
        return $client->send();
    }
}
