\App\Modules\Admin\Http\Controllers\ArticleArticleLabelController

Summary

Methods
Properties
Constants
index()
detail()
createService()
updateService()
delete()
changeFiledStatus()
getSelectLists()
successJson()
errorJson()
setHttpCode()
myAjaxReturn()
__construct()
create()
update()
No public properties found
No constants found
No protected methods found
$service
$http_code
N/A
No private methods found
No private properties found
N/A

Properties

$service

$service : 

Type

$http_code

$http_code : 

Type

Methods

index()

index(\Illuminate\Http\Request  $request) : \Illuminate\Http\JsonResponse

列表页

Parameters

\Illuminate\Http\Request $request

Returns

\Illuminate\Http\JsonResponse

detail()

detail(\Illuminate\Http\Request  $request) : \Illuminate\Http\JsonResponse

详情

Parameters

\Illuminate\Http\Request $request

Returns

\Illuminate\Http\JsonResponse

createService()

createService(  $request) : \Illuminate\Http\JsonResponse

新增流程

Parameters

$request

Returns

\Illuminate\Http\JsonResponse

updateService()

updateService(  $request) : \Illuminate\Http\JsonResponse

更新流程

Parameters

$request

Returns

\Illuminate\Http\JsonResponse

delete()

delete(\Illuminate\Http\Request  $request) : \Illuminate\Http\JsonResponse

删除

Parameters

\Illuminate\Http\Request $request

Returns

\Illuminate\Http\JsonResponse

changeFiledStatus()

changeFiledStatus(\Illuminate\Http\Request  $request) : \Illuminate\Http\JsonResponse

指定字段变更操作

Parameters

\Illuminate\Http\Request $request

Returns

\Illuminate\Http\JsonResponse

getSelectLists()

getSelectLists(\Illuminate\Http\Request  $request) : \Illuminate\Http\JsonResponse

下拉筛选列表(可搜索)

Parameters

\Illuminate\Http\Request $request

Returns

\Illuminate\Http\JsonResponse

successJson()

successJson(  $data = array(),   $msg = 'success',   $other = array()) 

Parameters

$data
$msg
$other

errorJson()

errorJson(  $msg = 'error',   $status,   $data = array(),   $other = array()) 

Parameters

$msg
$status
$data
$other

setHttpCode()

setHttpCode(\App\Traits\int  $http_code) 

Parameters

\App\Traits\int $http_code

myAjaxReturn()

myAjaxReturn(\App\Traits\[type]  $data) 

[myAjaxReturn]

Parameters

\App\Traits\[type] $data

[description]