Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
fenzhan_zsb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esf
fenzhan_zsb
Commits
14823bb0
Commit
14823bb0
authored
Jul 27, 2021
by
esf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除审核图片
parent
60d6981a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
2 deletions
+30
-2
sell.php
new_admincp/applications/zsb/controllers/sell.php
+1
-0
admin_check.php
new_admincp/applications/zsb/models/admin_check.php
+29
-2
No files found.
new_admincp/applications/zsb/controllers/sell.php
View file @
14823bb0
...
...
@@ -3059,6 +3059,7 @@ class Sell extends MY_Controller {
&&
!
empty
(
$pic_check_arr
)
&&
$uid
>
0
)
{
$this
->
load
->
model
(
'admin_check'
);
$this
->
admin_check
->
delete_check_pic_all
(
$tbl
,
$house_id
);
foreach
(
$pic_check_arr
as
$key
=>
$val
)
{
$infotype
=
$fields_values
[
'infotype'
];
...
...
new_admincp/applications/zsb/models/admin_check.php
View file @
14823bb0
...
...
@@ -84,7 +84,20 @@ class admin_check extends MY_Model {
$this
->
db
->
where
(
'picid'
,
$pic_id
);
$this
->
db
->
delete
(
$this
->
_tbl_pic_check
);
}
/**
*
* @param type $tbl
* @param type $house_id
* @param type $pic_id
*/
public
function
delete_check_pic_all
(
$tbl
,
$house_id
)
{
$this
->
db
->
where
(
'housetbl'
,
$tbl
);
$this
->
db
->
where
(
'houseid'
,
$house_id
);
$this
->
db
->
delete
(
$this
->
_tbl_pic_check
);
}
/**
*
* @param type $tbl
...
...
@@ -98,7 +111,21 @@ class admin_check extends MY_Model {
$this
->
db
->
where
(
'picid'
,
$pic_id
);
$this
->
db
->
delete
(
$this
->
_tbl_pic_check_sub
);
}
/**
*
* @param type $tbl
* @param type $house_id
* @param type $pic_id
*/
public
function
delete_check_pic_sub_all
(
$tbl
,
$house_id
)
{
$this
->
db
->
where
(
'housetbl'
,
$tbl
);
$this
->
db
->
where
(
'houseid'
,
$house_id
);
$this
->
db
->
delete
(
$this
->
_tbl_pic_check_sub
);
}
/**
*
* @param type $insert_data
...
...
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