refactor(api): 解除 DemoLogic::test() 的注释并添加调试输出

- 移除了 DemoLogic::test() 方法调用的注释
- 在方法调用后添加了调试输出 d(1)
- 保留了原有的查询和循环逻辑
This commit is contained in:
mkm 2025-01-10 17:24:07 +08:00
parent 28cdc83da0
commit 52e7ac5e2b

View File

@ -68,7 +68,7 @@ class IndexController extends BaseApiController
// } // }
// $a=StoreOrderCartInfo::where('store_id',2)->whereBetweenTime('create_time','2025-01-01','2025-01-8')->select()->toArray(); // $a=StoreOrderCartInfo::where('store_id',2)->whereBetweenTime('create_time','2025-01-01','2025-01-8')->select()->toArray();
// d($a); // d($a);
// DemoLogic::test(); DemoLogic::test();
d(1); d(1);
$arr = Db::name('ceshi_copy')->select(); $arr = Db::name('ceshi_copy')->select();
foreach ($arr as $k => $v) { foreach ($arr as $k => $v) {