瀏覽代碼

fixed bugs

马国华 8 年之前
父節點
當前提交
8471b0629f

+ 7 - 7
controller/shopping/shop.js

@@ -389,13 +389,13 @@ class Shop extends AddressComponent{
 				return 
 			}
 			const {name, address, description = "", phone, category, id, latitude, longitude, image_path} = fields;
-			// if (id == 1) {
-			// 	res.send({
-			// 		status: 0,
-			// 		message: '此店铺用做展示,请不要修改'
-			// 	})
-			// 	return
-			// }
+			if (id == 1) {
+				res.send({
+					status: 0,
+					message: '此店铺用做展示,请不要修改'
+				})
+				return
+			}
 			try{
 				if (!name) {
 					throw new Error('餐馆名称错误');

文件差異過大導致無法顯示
+ 0 - 0
public/static/js/find.d71ed4a198229c733951.min.js


文件差異過大導致無法顯示
+ 0 - 0
public/static/js/manifest.js


文件差異過大導致無法顯示
+ 0 - 0
public/static/js/msite.268c7801bf7a8a22da2c.min.js


文件差異過大導致無法顯示
+ 0 - 0
public/static/js/order.b7500e46302bf7cd01fa.min.js


文件差異過大導致無法顯示
+ 0 - 0
public/static/js/profile.647e8518184ade969f6e.min.js


文件差異過大導致無法顯示
+ 0 - 0
public/static/js/search.63e34eb43cb6f7baba77.min.js


部分文件因文件數量過多而無法顯示