PHP Class PFinal\Wechat\Service\AccountService

Inheritance: extends BaseService
Datei anzeigen Open project: pfinal/wechat

Public Methods

Method Description
all ( ) : array 获取所有客服账号
avatar ( $account, string $filename ) : array 设置客服帐号的头像
create ( $account, $nickname, $password )
update ( $account, $nickname, $password )

Method Details

all() public static method

获取所有客服账号
public static all ( ) : array
return array

avatar() public static method

设置客服帐号的头像
public static avatar ( $account, string $filename ) : array
$account
$filename string 头像图片文件必须是jpg格式,推荐使用640*640大小的图片以达到最佳效果
return array

create() public static method

public static create ( $account, $nickname, $password )

update() public static method

public static update ( $account, $nickname, $password )