Account-profile

Api:/api/account/profile

Methods:GET, PUT

Permission:unlimited

Login auth:Yes

Request and parameters:

  1. """
  2. 用户资料
  3. GET:
  4. 获取当前登录用户的信息
  5. is_basic:<int>, 0或1,默认1. 为1时只获取最基本的用户信息
  6. PUT
  7. 更新用户资料
  8. gender:<str>, m or f or secret
  9. birthday:<int or str>, The format must be "YYYYMMDD" ,such as: 20170101
  10. address:<dict>, The format must be: {countries:'string', provinces:'string',
  11. city:'string', district:'string', detailed:'string'}
  12. info:<str>
  13. :return: