Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Z
zptz-sass-kelaidian
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
李大见
zptz-sass-kelaidian
Commits
3fad069b
提交
3fad069b
authored
10月 22, 2024
作者:
窦斌
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
edit
上级
072aeb8a
全部展开
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
26 行增加
和
4 行删除
+26
-4
CommonController.php
app/Http/Controllers/Common/CommonController.php
+3
-0
DataStatisticsController.php
app/Http/Controllers/DatasBase/DataStatisticsController.php
+17
-1
AotuorderController.php
app/Http/Controllers/Orders/AotuorderController.php
+1
-1
DataStatisticsService.php
app/Services/DataStatisticsService.php
+0
-0
api.php
routes/api.php
+5
-2
没有找到文件。
app/Http/Controllers/Common/CommonController.php
浏览文件 @
3fad069b
...
...
@@ -360,6 +360,9 @@ class CommonController extends BaseController
}
else
{
$pt
[
$k
][
'usermodeltype'
]
=
2
;
}
if
(
$request
->
get
(
'session_token'
)[
'admin_groupnew'
]
==
7
){
$pt
[
$k
][
'pt_name'
]
=
$v
[
'pt_name'
]
.
"("
.
$v
[
'company_id'
]
.
")"
;
}
}
return
$this
->
success
(
'操作成功'
,
$pt
);
}
else
{
...
...
app/Http/Controllers/DatasBase/DataStatisticsController.php
浏览文件 @
3fad069b
...
...
@@ -35,6 +35,22 @@ class DataStatisticsController extends BaseController
*/
public
function
index
(
Request
$request
){
$session
=
$request
->
get
(
"session_token"
);
$data
=
DataStatisticsService
::
getSerStatistics
(
$session
);
$input
=
$request
->
all
();
$checkKey
=
CommonService
::
checkKey
([
'method'
,
'time_start'
,
'search_type'
],
$input
);
if
(
$checkKey
[
'code'
]
!=
1
){
return
$this
->
error
(
'参数'
.
$checkKey
[
'data'
]
.
'未填写,或值为空'
,
ErrorInc
::
INVALID_PARAM
,
[]);
}
if
(
!
in_array
(
$input
[
'search_type'
],[
'week'
,
'month'
])){
return
$this
->
error
(
'查询类型错误'
,
ErrorInc
::
INVALID_PARAM
,
$input
);
}
$api
=
[
'getSerStatistics'
,
'getSerStatisticsDetail'
];
if
(
!
in_array
(
$input
[
'method'
],
$api
)){
return
$this
->
error
(
'接口不参数异常'
,
ErrorInc
::
INVALID_PARAM
,
$input
);
}
else
{
$api
=
(
string
)
$input
[
'method'
];
$data
=
DataStatisticsService
::
$api
(
$session
,
$input
);
return
$this
->
success
(
'操作成功
'
,
$data
);
}
}
}
app/Http/Controllers/Orders/AotuorderController.php
浏览文件 @
3fad069b
...
...
@@ -583,7 +583,7 @@ class AotuorderController extends BaseController
/***************半径推送******************************/
$get
[
'company_id'
]
=
$orderinfo
[
'company_id'
];
//支付方式
if
(
$ser_data
[
'admin_groupnew'
]
==
3
){
if
(
$ser_data
[
'admin_groupnew'
]
==
3
&&
!
in_array
(
$orderinfo
[
'company_id'
],[
14
])
){
$get
[
'ol_distype'
]
=
4
;
//系统派单类型
}
else
{
$get
[
'ol_distype'
]
=
2
;
//系统派单类型
...
...
app/Services/DataStatisticsService.php
浏览文件 @
3fad069b
差异被折叠。
点击展开。
routes/api.php
浏览文件 @
3fad069b
...
...
@@ -989,7 +989,10 @@ Route::group(
Route
::
post
(
'uploadExcelImport'
,
'PtPhistoryController@uploadExcelImport'
);
//回传平台账单数据
});
//2024-10-17
Route
::
group
([
'prefix'
=>
'DataStatistics'
,
'middleware'
=>
'requestpc'
],
function
(){
Route
::
post
(
'index'
,
'DataStatisticsController@index'
);
//列表
});
});
Route
::
group
(
[
'namespace'
=>
'Financial'
],
function
(){
...
...
@@ -1157,7 +1160,7 @@ Route::group(
});
#系统任务 >> 电话通知
Route
::
group
([
'prefix'
=>
'getCallByTtsCost'
],
function
(){
Route
::
get
(
'getCallByTtsCost'
,
'SysCallByTtsCostController@getCallByTtsCost'
);
//电
话
通知扣费
Route
::
get
(
'getCallByTtsCost'
,
'SysCallByTtsCostController@getCallByTtsCost'
);
//电
弧
通知扣费
});
#天猫服务单
/* Route::group(['prefix'=>'tmOrder'], function (){
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论