可选值:示例中的值;各字段之间用","隔开

template_id:查询模板ID
template_name:查询模板名称
assumer:查询服务承担放
valuation:查询计价规则
supports:查询增值服务列表
created:查询模板创建时间
modified:查询修改时间
consign_area_id:运费模板上设置的卖家发货地址最小级别ID
address:卖家地址信息


query_cod:查询货到付款运费信息
query_post:查询平邮运费信息
query_express:查询快递公司运费信息
query_ems:查询EMS运费信息
query_bzsd:查询普通保障速递运费信息
query_wlb:查询物流宝保障速递运费信息
query_furniture:查询家装物流运费信息

不能有空格 **/ private $fields; /** * 需要查询的运费模板ID列表 **/ private $templateIds; /** * 在没有登录的情况下根据淘宝用户昵称查询指定的模板 **/ private $userNick; private $apiParas = array(); public function setFields($fields) { $this->fields = $fields; $this->apiParas["fields"] = $fields; } public function getFields() { return $this->fields; } public function setTemplateIds($templateIds) { $this->templateIds = $templateIds; $this->apiParas["template_ids"] = $templateIds; } public function getTemplateIds() { return $this->templateIds; } public function setUserNick($userNick) { $this->userNick = $userNick; $this->apiParas["user_nick"] = $userNick; } public function getUserNick() { return $this->userNick; } public function getApiMethodName() { return "taobao.delivery.template.get"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->fields,"fields"); RequestCheckUtil::checkMaxListSize($this->fields,20,"fields"); RequestCheckUtil::checkNotNull($this->templateIds,"templateIds"); RequestCheckUtil::checkMaxListSize($this->templateIds,20,"templateIds"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }