mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-23 02:45:33 +08:00
34 lines
850 B
PHP
34 lines
850 B
PHP
<?php
|
||
/**
|
||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||
* See LICENSE file for license details.
|
||
*/
|
||
|
||
/**
|
||
* ShopEx licence
|
||
*
|
||
* @copyright Copyright (c) 2005-2012 ShopEx Technologies Inc. (http://www.shopex.cn)
|
||
* @license http://ecos.shopex.cn/ ShopEx License
|
||
* @version tg---yangminsheng
|
||
* @date 2012-06-19
|
||
*/
|
||
|
||
class ome_syncshoporder{
|
||
|
||
function create($queue_title,$method,$params,&$oApi_log,$status){
|
||
|
||
$log_id = $oApi_log->gen_id();
|
||
|
||
$oApi_log->write_log($log_id,$queue_title,'ome_rpc_request','rpc_request',$params,'request',$status,'');
|
||
|
||
return true;
|
||
}
|
||
|
||
function fetchAll(&$apilog){
|
||
$params = array();
|
||
|
||
$params = $apilog->getList('order_bn,shop_id,log_id',array('status'=>'running','order_bn|noequal'=>''));
|
||
|
||
return $params;
|
||
}
|
||
} |