Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uc_card
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhoujun
uc_card
Commits
7b431908
Commit
7b431908
authored
Jun 10, 2021
by
zhoujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
放开限制
parent
ec9d1ea7
Pipeline
#1618
passed with stage
in 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/app/Http/Controllers/Admin/AdminController.php
src/app/Http/Controllers/Admin/AdminController.php
+1
-1
No files found.
src/app/Http/Controllers/Admin/AdminController.php
View file @
7b431908
...
...
@@ -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);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment