News website Personal Center (User Information page display) process analysis

Source: Internet
Author: User

Requirements Analysis:

>> display user profile after entering page (personality signature, nickname, gender)

>> Click Save to make a request to the server for data save update after user modification

Interface design for back-end interface
    • Url:/user/base_info
    • Request Method: POST
    • Incoming parameters: JSON format
    • Parameters
Name of parameter type whether you must parameter Description
Nick_name String Is Nickname
Signature String Is Signature
Gender String Is Sex, MAN /WOMEN
    • return type: JSON
Name of parameter type whether you must parameter Description
Errno Int Is Error code
Errno String Is Error message

Process Analysis:

1. Get the user's login information

2. Get the data sent by the front end Nick_name,signature,gender

3. Update save data

4. Return result errno=ret. Status code, errmsg= ' response text '

News website Personal Center (User Information page display) process analysis

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.