rabin %!s(int64=7) %!d(string=hai) anos
pai
achega
d88a9e3e42
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      front/api/farm.py

+ 2 - 0
front/api/farm.py

@@ -71,6 +71,7 @@ class index_path(Load):
 		if not update['name']:
 			self.out(u'请输入农场名称')
 			return
+		"""
 		if not update['master_name']:
 			self.out(u'请输入农场联系人')
 			return
@@ -80,6 +81,7 @@ class index_path(Load):
 		if not update['tel']:
 			self.out(u'请输入联系电话')
 			return
+		"""
 		state = self.service('common').update('farm', id, update)
 		self.out('yes', {'id':state})