mirror of
https://gitee.com/ShopeX/OMS
synced 2026-04-01 05:26:43 +08:00
29 lines
774 B
PHP
29 lines
774 B
PHP
<?php
|
||
/**
|
||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||
* See LICENSE file for license details.
|
||
*/
|
||
|
||
class omeanalysts_finder_ome_goods{
|
||
var $detail_basic = '货品详情';
|
||
|
||
/**
|
||
* detail_basic
|
||
* @param mixed $goods_id ID
|
||
* @return mixed 返回值
|
||
*/
|
||
public function detail_basic($goods_id) {
|
||
$filter = array(
|
||
'goods_id'=>$goods_id,
|
||
'time_from' => $_GET['time_from'],
|
||
'time_to' => $_GET['time_to'],
|
||
);
|
||
$render = app::get('omeanalysts')->render();
|
||
$productObj = app::get('omeanalysts')->model('ome_products');
|
||
$products = $productObj->getlist('*',$filter);
|
||
|
||
$render->pagedata['products'] = $products;
|
||
|
||
return $render->display('ome/detail_goods.html');
|
||
}
|
||
} |