Commit edd908f2 authored by 顾敏's avatar 顾敏

查询字段修正

parent 988c49d8
Pipeline #2764 passed with stage
in 1 second
......@@ -15,7 +15,6 @@ use App\Models\BaseItem;
use App\Models\WxUserImg;
use App\Services\UploadServer;
use App\Models\User;
use Illuminate\Support\Optional;
class CardController extends Controller
{
......@@ -445,7 +444,7 @@ class CardController extends Controller
}
$img = WxUserImg::where('uid',$userId)
->where('role_id', $roleId)
->where('role', $roleId)
->where('server_id', $serverId)
->select('id','img_url','status','is_upload')
->first();
......
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