Files
OMS/app/omeanalysts/lib/finder/ome/goods.php
2025-12-28 23:13:25 +08:00

29 lines
774 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?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');
}
}