Commit d352254f by 杨树贤

消息默认问题

parent 3cf30cd2
...@@ -150,6 +150,8 @@ class SupplierSubAccountService ...@@ -150,6 +150,8 @@ class SupplierSubAccountService
$params = $this->generateRequestAuthData($accountId); $params = $this->generateRequestAuthData($accountId);
if ($ynatId) { if ($ynatId) {
$params['ynat_id'] = $ynatId; $params['ynat_id'] = $ynatId;
}else{
$params['method'] = 'add';
} }
$result = json_decode(curl($url, $params), true); $result = json_decode(curl($url, $params), true);
if (isset($result['code']) && $result['code'] == 0) { if (isset($result['code']) && $result['code'] == 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment