|
@@ -812,9 +812,10 @@ class ApproveInfoService
|
|
|
];
|
|
|
$create_user = $apply_user;
|
|
|
if (in_array($module, [CommonConstant::MODULE_5, CommonConstant::MODULE_6, CommonConstant::MODULE_7])) {
|
|
|
+
|
|
|
if ($info['user_id'] != $info['apply_user_id']) {
|
|
|
$apply_user_info = User::field('id,userid,name,avatar')
|
|
|
- ->where('userid', $info['userid'])
|
|
|
+ ->where('userid', $info['user_id'])
|
|
|
->find();
|
|
|
$create_user = [
|
|
|
'id' => $apply_user_info['id'],
|