...
|
...
|
@@ -187,14 +187,15 @@ class User extends Backend |
|
|
if(!empty($mobile_col)){
|
|
|
//处理已有手机号
|
|
|
$mobile = $currentSheet->getCellByColumnAndRow($col, $currentRow)->getValue();
|
|
|
|
|
|
echo $mobile;
|
|
|
$user = new \app\admin\model\User;
|
|
|
$user = $user->where(['mobile'=>$mobile,'openid' => ['<>','']])->find();
|
|
|
if(!empty($user)){
|
|
|
echo $user['openid'];
|
|
|
$row['openid'] = $user['openid'];
|
|
|
}
|
|
|
}
|
|
|
|
|
|
echo json_encode($insert);exit;
|
|
|
$insert[] = $row;
|
|
|
|
|
|
|
...
|
...
|
|