Commit ad1a96d4 by 杨树贤

修复冲突

parents 9af5b404 178ea522
......@@ -43,6 +43,16 @@ class AdminUserService
return $codeId;
}
public function getAdminIdByUserName($userName)
{
return UserInfoModel::where('name', $userName)->value('userId');
}
public function getAdminIdByEmail($email)
{
return UserInfoModel::where('email', $email)->value('userId');
}
public function getCodeIdsByUserIds($userIds)
{
$intraCodeModel = new IntracodeModel();
......
......@@ -62,5 +62,4 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function ()
});
Route::match(['get', 'post'], '/test', function () {
(new \App\Http\Services\DataService())->exportSupplierPurchaseChannelUser('admin');
});
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 sign in to comment