Commit 7dab4795 by 杨树贤

fix

parent 76c865f5
......@@ -1729,6 +1729,7 @@ class DataService
foreach ($dataFollowers as $follower) {
if ($follower->can_check_uids == $oldCodeId) {
$follower->can_check_uids = $newCodeId;
$liexinContact->update_time = time();
$follower->save();
break;
}
......@@ -1741,6 +1742,7 @@ class DataService
->first();
if ($liexinContact) {
$liexinContact->can_check_uids = $newCodeId;
$liexinContact->update_time = time();
$liexinContact->save();
}
}
......@@ -1776,6 +1778,7 @@ class DataService
->first();
if ($liexinContact) {
$liexinContact->can_check_uids = $newCodeId;
$liexinContact->update_time = time();
$liexinContact->save();
}
}
......
......@@ -97,5 +97,5 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function ()
});
Route::match(['get', 'post'], '/test', function () {
DataService::refreshDataFollower(3,true);
DataService::refreshDataFollower(10,true);
});
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