shop-php/extend/taobao/request/OpenAccountSearchRequest.php
2023-10-10 14:54:50 +08:00

49 lines
1.1 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* TOP API: taobao.open.account.search request
*
* @author auto create
* @since 1.0, 2018.07.26
*/
class OpenAccountSearchRequest
{
/**
* 基于阿里云OpenSearch服务openSearch查询语法:https://help.aliyun.com/document_detail/29157.html搜索服务能够基于idloginIdmobileemailisvAccountIddisplay_name,create_app_key,做搜索查询示例中mobile可以基于模糊搜素搜索135的账号该搜索是分页返回start表示开始行hit表示一页返回值最大500
**/
private $query;
private $apiParas = array();
public function setQuery($query)
{
$this->query = $query;
$this->apiParas["query"] = $query;
}
public function getQuery()
{
return $this->query;
}
public function getApiMethodName()
{
return "taobao.open.account.search";
}
public function getApiParas()
{
return $this->apiParas;
}
public function check()
{
RequestCheckUtil::checkNotNull($this->query,"query");
}
public function putOtherTextParam($key, $value) {
$this->apiParas[$key] = $value;
$this->$key = $value;
}
}