Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
TaskApi
PHP Class TaskApi, thinksns
Author:
zivss
Inheritance:
extends
Api
Mostra file
Open project: medz/thinksns-4
Public Methods
Method
Description
custom
( ) :
array
自定义任务(副本任务)API
daily
(
integer
$type
= self::DAILY ) :
array
每日任务 和主线任务复用
mainLine
( ) :
array
主线任务,代码复用每日任务
Method Details
custom()
public
method
自定义任务(副本任务)API
Author:
Seven Du (
[email protected]
)
public
custom
( ) :
array
return
array
daily()
public
method
每日任务 和主线任务复用
Author:
Seven Du (
[email protected]
)
public
daily
(
integer
$type
= self::DAILY ) :
array
$type
integer
只有两个类型,类已经定义,self::DAILY为每日,self::MAINLINE为主线,这个方法是TS以前任务遗留定义,后续会修改,现在先这么写!
return
array
mainLine()
public
method
主线任务,代码复用每日任务
Author:
Seven Du (
[email protected]
)
public
mainLine
( ) :
array
return
array