mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-23 02:45:33 +08:00
42 lines
897 B
PHP
42 lines
897 B
PHP
<?php
|
||
/**
|
||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||
* See LICENSE file for license details.
|
||
*/
|
||
/**
|
||
* CONFIG
|
||
*
|
||
* @category
|
||
* @package
|
||
* @author chenping<chenping@shopex.cn>
|
||
* @version $Id: Z
|
||
*/
|
||
class erpapi_idaas_config extends erpapi_config
|
||
{
|
||
/**
|
||
* 应用级参数
|
||
*
|
||
* @param String $method 请求方法
|
||
* @param Array $params 业务级请求参数
|
||
* @return void
|
||
* @author
|
||
**/
|
||
|
||
public function get_query_params($method, $params)
|
||
{
|
||
$query_params = array(
|
||
'app_id' => 'ecos.ome',
|
||
'method' => $method,
|
||
'date' => date('Y-m-d H:i:s'),
|
||
'from_node_id' => base_shopnode::node_id('ome'),
|
||
);
|
||
|
||
return $query_params;
|
||
}
|
||
|
||
public function get_url($method, $params, $realtime)
|
||
{
|
||
return OMS_MIDDLEWARE_URL;
|
||
}
|
||
}
|