Merge branch release/21.7.2 of zentao/zentaopms (#9674)

This commit is contained in:
刘刚
2025-06-19 10:41:38 +08:00
committed by Gitfox
@@ -48,10 +48,10 @@ $result = $product->objectModel->getPagerProductsIn($productIDs, null, 'order_a
r(array_shift($result)) && p('id,order') && e('1007,8');
/* Pager. */
global $tester;
global $tester, $app;
$tester->app->loadClass('pager', true);
$tester->app->setModuleName('product');
$tester->app->setMethodName('all');
$app->rawModule = 'product';
$app->rawMethod = 'all';
$pager = new pager(0, 2, 1);
$result = $product->objectModel->getPagerProductsIn($productIDs, $pager, 'order_desc');