Commit 7ec0d62b authored by jianghaiming's avatar jianghaiming

update:Set

parent 89a205dc
......@@ -21,6 +21,19 @@ class CommonService
{
public static function isNewUser($params)
{
$url = config('interface','order.user.is_new_user');
if(empty($url)){
throw new InterfaceException(['cus'=>0]);
}
$res = (new Request())->get($url, $params);
if ($res['code'] == 0 && isset($res['response'])) {
return !empty($res['response']['result']) ? $res['response']['result'] : [];
}
return [];
}
/**
* 通过生活号id获取生活号信息
* life_account_id = [] 数组形式传递
......
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 to comment