\app\store\service\statistics\dataSurvey

数据概况 Class Survey

Summary

Methods
Properties
Constants
getError()
hasError()
getSurveyData()
getConsumeUsers()
No public properties found
No constants found
No protected methods found
$error
$wxappId
N/A
getUserTotal()
getOrderTotal()
getOrderTotalMoney()
getGoodsTotal()
getRechargeTotal()
No private properties found
N/A

Properties

$error

$error : 

Type

$wxappId

$wxappId : 

Type

Methods

getError()

getError() : mixed

获取错误信息

Returns

mixed

hasError()

hasError() : boolean

是否存在错误

Returns

boolean

getSurveyData()

getSurveyData(  $startDate = null,   $endDate = null) : array

获取数据概况

Parameters

$startDate
$endDate

Throws

\think\Exception

Returns

array

getConsumeUsers()

getConsumeUsers(null  $startDate = null, null  $endDate = null) : string

消费人数

Parameters

null $startDate
null $endDate

Throws

\think\Exception

Returns

string

getUserTotal()

getUserTotal(null  $startDate = null, null  $endDate = null) : string

获取用户总量

Parameters

null $startDate
null $endDate

Throws

\think\Exception

Returns

string

getOrderTotal()

getOrderTotal(null  $startDate = null, null  $endDate = null) : string

获取订单总量

Parameters

null $startDate
null $endDate

Throws

\think\Exception

Returns

string

getOrderTotalMoney()

getOrderTotalMoney(null  $startDate = null, null  $endDate = null) : string

付款订单总额

Parameters

null $startDate
null $endDate

Returns

string

getGoodsTotal()

getGoodsTotal(null  $startDate = null, null  $endDate = null) : integer|string

获取商品总量

Parameters

null $startDate
null $endDate

Throws

\think\Exception

Returns

integer|string

getRechargeTotal()

getRechargeTotal(null  $startDate = null, null  $endDate = null) : float|integer

用户充值总额

Parameters

null $startDate
null $endDate

Returns

float|integer