|
@@ -799,7 +799,7 @@ class Tool
|
|
|
# 导出商品
|
|
|
public function goods_api()
|
|
|
{
|
|
|
- $data = Dever::db('agent/order')->fetchAll('select * from churen_goods_info where status = 1');
|
|
|
+ $data = Dever::db('agent/order')->fetchAll('select * from churen_goods_info where state = 1 and status = 1');
|
|
|
|
|
|
$start = Dever::maketime('2022-06-01 00:00:00');
|
|
|
$end = Dever::maketime('2022-06-30 23:59:59');
|