rabin il y a 7 ans
Parent
commit
4e8f0d6052
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      model/farm_user_wechat.py

+ 1 - 1
model/farm_user_wechat.py

@@ -13,7 +13,7 @@ class Farm_user_wechat(Model):
 	id = Fields(type='uuid', primaryKey=True, comment='园区用户微信绑定表ID', uuid='farm_id')
 	farm_id = Fields(type='int', default='setting.farm', comment='园区ID', match='not')
 	username = Fields(type='varchar(50)', comment='园区管理员姓名')
-	uid = Fields(type='int', comment='用户id')
+	uid = Fields(type='uuid', comment='用户id')
 	openid = Fields(type='varchar(50)', comment='wx openid')
 	session_key = Fields(type='varchar(50)', comment='session_key')
 	state = Fields(type='boolean', default='True', comment='数据存在状态')