Commit 12485cff authored by Davve's avatar Davve

修改帖子视频保存表

parent 1ccace2d
......@@ -13,7 +13,7 @@ class AccountList(APIView):
limit = int(request.GET.get('limit', 10))
filter = self.handle_filter(request.GET.get('filter', ""))
try:
data = self.rpc['venus/sun/account/list'](offset=page, limit=limit, filters=filter).unwrap()
data = self.rpc['venus/sun/account/list'](offset=(page - 1) * limit, limit=limit, filters=filter).unwrap()
except Exception as e:
raise e
return data
......
......@@ -144,7 +144,7 @@
username: [{validator: validateRequire}],
nick_name: [{validator: validateRequire}],
email: [{validator: validateRequire}],
password: [{validator: validatePasswordLength}],
password: [{validator: validatePasswordLength, trigger: 'blur'}],
phone: [{validator: validateRequire}],
},
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment