Commit 5bc822a7 by 杨树贤

修改时间

parent 468e5b92
......@@ -104,7 +104,7 @@ class ExternalApiController extends Controller
}
$cacheKey = "supplier:account_exist:" . $supplierId;
$exist = Cache::remember($cacheKey, 300, function () use ($supplierId) {
$exist = Cache::remember($cacheKey, 30, function () use ($supplierId) {
return SupplierAccountModel::where('supplier_id', $supplierId)->where('a_status', 1)->exists();
});
if ($exist) {
......
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