Commit 7b431908 authored by zhoujun's avatar zhoujun

放开限制

parent ec9d1ea7
Pipeline #1618 passed with stage
in 1 second
......@@ -176,7 +176,7 @@ class AdminController extends Controller
$imgs = WxUserImg::whereIn('id',$ids)->select('id','uid','role','loacl_url','status')->get();
$result = true;
foreach($imgs as $img){
$img->status = 1;
$img->status = $status;
if($img->save()){
Cache::forget('card:info:'.$img->uid.':'.$img->role);
//if($status == 2) unlink(storage_path('app').'/'.$img->loacl_url);
......
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 to comment