|
@@ -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='数据存在状态')
|