\serviceJsonService

Summary

Methods
Properties
Constants
result()
successlayui()
successful()
status()
fail()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$SUCCESSFUL_DEFAULT_MSG
$FAIL_DEFAULT_MSG
N/A

Properties

$SUCCESSFUL_DEFAULT_MSG

$SUCCESSFUL_DEFAULT_MSG : 

Type

$FAIL_DEFAULT_MSG

$FAIL_DEFAULT_MSG : 

Type

Methods

result()

result(  $code,   $msg = '',   $data = array(),   $count) 

Parameters

$code
$msg
$data
$count

successlayui()

successlayui(  $count,   $data = array(),   $msg = '') 

Parameters

$count
$data
$msg

successful()

successful(  $msg = 'ok',   $data = array(),   $status = 200) 

Parameters

$msg
$data
$status

status()

status(  $status,   $msg,   $result = array()) 

Parameters

$status
$msg
$result

fail()

fail(  $msg,   $data = array()) 

Parameters

$msg
$data