@ -130,7 +130,7 @@ class UnionService extends Service
public function param(array $param, string $name = '')
{
if (empty($name)) $this->param = $param;
else $this->param[$name] = $param;
else $this->param["$name"] = json_encode($param);
return $this;
}
@ -121,7 +121,7 @@ class JinBaoService extends Service
@ -133,7 +133,7 @@ class TbkService extends Service