libushang hai 7 meses
pai
achega
218508514f
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      routers/api/infoPublish/me.py

+ 4 - 0
routers/api/infoPublish/me.py

@@ -529,6 +529,10 @@ async def get_info_detail(
             if examine_row is not None:
                 is_my_examine = 1
 
+            # 如果发布了就不能修改
+            if row.publish_status == 4:
+                is_my_examine = 0
+
             data = {
                 "id": row.id,
                 "title": row.title,