Commit e3fbe11b authored by jianghaiming's avatar jianghaiming

update:set

parent 320e8b00
......@@ -65,10 +65,6 @@ class DistributorService
throw new DistributorException(['cus'=>3]);
}
if (empty($type)) {
throw new DistributorException(['cus'=>12]);
}
$detectParams = [
'businessId' => 1,
'text' => !empty($userName) ? $userName : '',
......@@ -84,7 +80,7 @@ class DistributorService
}
Distributor::beginTransaction();
$userCode = $userId . '_' . $type;
$userCode = $userId . '_' . $distributorType;
$data = [
'user_id' => $userId,
'user_name' => $userName,
......
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