Commit fa68c570 authored by hujun's avatar hujun

方法参数修改

parent 646de899
......@@ -79,7 +79,7 @@ class UserService
}
//记录修改客方
$this->recordGuest($data['agents_id'], $agent_id_old, $id, $user_name,$type);
$this->recordGuest((int)$data['agents_id'], (int)$agent_id_old, $id, $user_name,$type);
//记录邀请人修改记录
$this->recordReferrer($data['referrer_id'], $id, $referrer_id_old, $type);
......@@ -132,7 +132,7 @@ class UserService
* @param string $type
* @return array
*/
public function recordGuest(int $agent_id,int $agent_id_old, int $user_id, string $user_name,string $type = 'add'): array
public function recordGuest(int $agent_id,int $agent_id_old, int $user_id, $user_name, $type = 'add'): array
{
try {
$agent = new AAgents();
......
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