Commit 9797f0f9 authored by zw's avatar zw

时间轴

parent 8b6448ca
...@@ -272,9 +272,11 @@ class PayLogService ...@@ -272,9 +272,11 @@ class PayLogService
*/ */
private function delOImg($type, $del_img){ private function delOImg($type, $del_img){
$oImgModel = new OImg(); $oImgModel = new OImg();
$where_["id"] = array("in",$del_img); $ids = rtrim($del_img, ",");
$where_["id"] = array("in",$ids);
$where_["img_type"] = $type; $where_["img_type"] = $type;
$params["img_status"] = 1; $params["img_status"] = 1;
$oImgModel->updateImgs($where_, $params); $oImgModel->updateImgs($where_, $params);
} }
......
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