|
@@ -21,7 +21,7 @@ class StatisticsRepository
|
|
|
public function getOrderPayInfo($start = '', $end = '', $shopId = '')
|
|
|
{
|
|
|
$params = [
|
|
|
- "index" => "platform_order_statistics",
|
|
|
+ "index" => config('customer.order_statistics_index_name'),
|
|
|
"type" => "_doc",
|
|
|
"body" => [
|
|
|
"size" => 0,
|
|
@@ -89,7 +89,7 @@ class StatisticsRepository
|
|
|
public function getDfhOrder($start = '', $end = '', $shopId = '')
|
|
|
{
|
|
|
$params = [
|
|
|
- "index" => "platform_order_statistics",
|
|
|
+ "index" => config('customer.order_statistics_index_name'),
|
|
|
"type" => "_doc",
|
|
|
"body" => [
|
|
|
"size" => 0,
|
|
@@ -147,7 +147,7 @@ class StatisticsRepository
|
|
|
public function getFinishOrder($start = '', $end = '', $shopId = '')
|
|
|
{
|
|
|
$params = [
|
|
|
- "index" => "platform_order_statistics",
|
|
|
+ "index" => config('customer.order_statistics_index_name'),
|
|
|
"type" => "_doc",
|
|
|
"body" => [
|
|
|
"size" => 0,
|
|
@@ -209,7 +209,7 @@ class StatisticsRepository
|
|
|
public function getOrderNum($start = '', $end = '', $shopId = '')
|
|
|
{
|
|
|
$params = [
|
|
|
- "index" => "platform_order_statistics",
|
|
|
+ "index" => config('customer.order_statistics_index_name'),
|
|
|
"type" => "_doc",
|
|
|
"body" => [
|
|
|
"size" => 0,
|
|
@@ -260,7 +260,7 @@ class StatisticsRepository
|
|
|
public function getRefundOrderNum($start = '', $end = '', $shopId = '')
|
|
|
{
|
|
|
$params = [
|
|
|
- "index" => "platform_order_statistics",
|
|
|
+ "index" => config('customer.order_statistics_index_name'),
|
|
|
"type" => "_doc",
|
|
|
"body" => [
|
|
|
"size" => 0,
|
|
@@ -316,7 +316,7 @@ class StatisticsRepository
|
|
|
public function getFeedBackOrderNum($start = '', $end = '', $shopId = '')
|
|
|
{
|
|
|
$params = [
|
|
|
- "index" => "platform_order_statistics",
|
|
|
+ "index" => config('customer.order_statistics_index_name'),
|
|
|
"type" => "_doc",
|
|
|
"body" => [
|
|
|
"size" => 0,
|
|
@@ -372,7 +372,7 @@ class StatisticsRepository
|
|
|
public function getSaleMoney($start = '', $end = '', $shopId = '')
|
|
|
{
|
|
|
$params = [
|
|
|
- "index" => "platform_order_statistics",
|
|
|
+ "index" => config('customer.order_statistics_index_name'),
|
|
|
"type" => "_doc",
|
|
|
"body" => [
|
|
|
"size" => 0,
|