rockq-org / austack-core

API, Console, Test of austack
32 stars 8 forks source link

warning for update username #237

Closed hailiang-wang closed 9 years ago

hailiang-wang commented 9 years ago

Description

Since the userid is unique, if enable dave updates it, the warning should be easier to understand. Or, for the prototype, we can set the username as persistent.

image

This waring is due to dave2 does exist .

Solution

Solution 1

set the username as fixed, dave can not update it

Solution

When Dave try to set an exist username, notice him with '该用户名已经存在。'

nihgwu commented 9 years ago

如果用户名存在会提示该用户名已存在 提示更新错误应该是跟图片有关,而不是用户名,返回的错误是上传的内容超过了最大i吧 更改下服务器端设置就可以了,因为现在avatar时直接以base64的形式存到mongodb的 我本地保存是没问题的

nihgwu commented 9 years ago

image