提交 b55a915d 编写于 作者: 李光春's avatar 李光春

- update service

上级 7cb6cd97
......@@ -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
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;
}
......
......@@ -133,7 +133,7 @@ class TbkService 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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册