@@ -59,6 +59,7 @@
photo
where
type = 2
+ and activated = 1
order by create_time desc
limit 1
</select>
@@ -70,6 +71,7 @@
type = 1
</mapper>