Commit 7dab4795 by 杨树贤

fix

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