|
|
|
|
@ -153,9 +153,9 @@ class StatisticsController extends CommonController
|
|
|
|
|
* @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"),
|
|
|
|
|
* @OA\Parameter(name="project_id", in="query", @OA\Schema(type="integer"), required=true, description="医院ID"),
|
|
|
|
|
* @OA\Parameter(name="duration", in="query", @OA\Schema(type="string"), required=false, description="统计周期的快捷方式,可选方式:today,this_week,this_month,yesterday,last_week,last_month"),
|
|
|
|
|
* @OA\Parameter(name="from_date", in="query", @OA\Schema(type="string"), required=false, description="开始日期,如果没有shortcut参数,此参数必须"),
|
|
|
|
|
* @OA\Parameter(name="to_date", in="query", @OA\Schema(type="string"), required=false, description="结束日期,如果没有shortcut参数,此参数必须;注意结束日期最多可以比开始日期大31天"),
|
|
|
|
|
* @OA\Parameter(name="detail_type", in="query", @OA\Schema(type="boolean"), required=false, description="明细类型,此参数不传表示仅获取汇总数据,传递时可选项目:checkout(扣款明细),recharge(充值明细),refund(退款明细)"),
|
|
|
|
|
* @OA\Parameter(name="from_date", in="query", @OA\Schema(type="string"), required=false, description="开始日期,如果没有duration参数,此参数必须"),
|
|
|
|
|
* @OA\Parameter(name="to_date", in="query", @OA\Schema(type="string"), required=false, description="结束日期,如果没有duration参数,此参数必须;注意结束日期最多可以比开始日期大31天"),
|
|
|
|
|
* @OA\Parameter(name="detail_type", in="query", @OA\Schema(type="string"), required=false, description="明细类型,此参数不传表示仅获取汇总数据,传递时可选项目:checkout(扣款明细),recharge(充值明细),refund(退款明细)"),
|
|
|
|
|
* @OA\Parameter(name="page", in="query", @OA\Schema(type="integer"), required=false, description="当前页码,默认为1"),
|
|
|
|
|
* @OA\Parameter(name="page_size", in="query", @OA\Schema(type="integer"), required=false, description="每页数量,默认为10"),
|
|
|
|
|
* @OA\Response(
|
|
|
|
|
|