rabin 8 년 전
부모
커밋
d88a9e3e42
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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})