def removeFile(self):
# ?????
if os.path.exists('/home/wwwroot/laravel/public/img/daily/'):
shutil.rmtree(r'/home/wwwroot/laravel/public/img/daily') # pic
if os.path.exists('/home/wwwroot/url/daily/'):
shutil.rmtree(r'/home/wwwroot/url/daily') # html
# ???????????
评论列表
文章目录