/** * 清理图片Session * @param $id 品牌id */ public static function imgSessionDelete($id = 0) { $id = trim($id); try { Comm::checkValue($id, Yii::t('public', '品牌号'), 1, 1); } catch (Exception $e) { throw new BeubeuException($e->getMessage(), $e->getCode()); } uploadd::SessionDelete($id, self::$Img_Session_name); }
/** * 清理视频Session * @parm $id 衣服id */ public static function voidSessionDelete($id = 0) { $id = trim($id); try { Comm::checkValue($id, Yii::t('clothes', '衣服ID'), 1, 1, self::$Int_max); } catch (Exception $e) { throw new BeubeuException($e->getMessage(), $e->getCode()); } uploadd::SessionDelete($id, self::$void_Delete_Session_name); uploadd::SessionDelete($id, self::$void_Session_name); }