WeChat accounting applet

Chapter 1 Introduction

1.1 Research background and significance

With the advent of the Internet age, the advantages and popularity of the Internet are constantly affecting and changing people's lifestyles. Today, with the rapid development of information technology, computer technology has spread all over the world, which has brought about great changes in society.

In order not to be limited by time and place, smart phone users can access websites and handle various businesses and the Internet through the mobile network. This is an effective way to extend the functions of the application system to mobile terminals. Popularity, everyone basically has WeChat on their mobile phones.

Therefore, WeChat launched mini-program advertisements to support the attention of official accounts, which means that the channel between the mini-programs and official accounts has been completely opened up. The program, database and computer technology are mainly involved in the account-keeping WeChat applet in this paper. Covering a wide range of knowledge can greatly improve the work efficiency of system personnel.

The purpose of this project is to help college students manage their finances reasonably, develop good spending habits, and figure out how money is spent.

1.2 Research status at home and abroad

With the continuous development of the domestic economic situation, China's Internet has entered a rare period of peak development, which makes Chinese and foreign capitalists turn to the Internet market one after another. However, the unreasonable structure of many management areas, the shortage of personnel and the increase of management needs make more people have the awareness of Internet management.

With the continuous improvement of our country's living standards, the requirements for the wealth management industry are also gradually increasing. Nowadays, there is a large population of young people in our country, and it is becoming more and more obvious that people spend a lot of money and even have debts. The people also have a greater understanding of financial expenses. Rapidly [16]. In many developed countries around the world, financial accounting services have become an important part. Developed countries such as Germany, the United States, and Japan have entered a stage of prosperity and development. The advanced procedures of developed countries currently basically adopt an integrated model of expenditure, income, foreign debt, and financial management [9].

The domestic bookkeeping mini-program market demand has also grown rapidly in recent years. The scale of China's bookkeeping and wealth management service market has risen from 277.6 billion yuan in 2015 to 1,014.9 billion yuan in 2021, an increase of nearly four times, and will continue to grow. , is expected to increase to 1,164.1 billion yuan by 2023. As the scale of the industry continues to expand, the revenue of China's bookkeeping and wealth management industry has continued to grow as a proportion of the country's GDP, and its ability to absorb employment has become stronger. In 2021, the number of customers with bookkeeping needs has reached 37.6 million. As a sunrise industry and a people's livelihood industry, China's bookkeeping and wealth management industry has promising development prospects.

According to survey data, 93.8% of Chinese consumers have a need for bookkeeping in 2022. Chinese families have a strong demand for bookkeeping services, especially in terms of "income" and "expenditure", and the scale of demand will continue to rise. From 2018 to 2021, the online penetration rate of bookkeeping service users has increased from 47.8% to 80.2%. The trend of online recording of bookkeeping services has increased significantly, and online demand has become an important source of demand for people's bookkeeping [10]. The digital transformation of the bookkeeping and wealth management service industry is advancing rapidly, and the trend of online user demand is extremely obvious. Related companies will use Internet platforms and other online channels to acquire customers and realize digitalization[17].

In today's highly developed information, information management reform has become a more extensive and comprehensive trend. Accounting WeChat applet is based on Mysql database and implemented on the basis of Java programming. In order to ensure the sustainable development of China's economy, the information age is being updated day by day, and the online shopping mall is developing vigorously. At the same time, with the rapid development of the information society, the accounting WeChat applet website is facing more and more information, so it is difficult to obtain their needs for efficient information. WeChat Mini Program information is effective in querying, storing, managing and sharing information, and has important practical significance for our study, work and life. Therefore, academic circles at home and abroad have carried out in-depth and extensive research on this, and a new research field-the accounting WeChat applet was born.

1.2 Research content

The content of each chapter of this article is arranged as follows:

Part I: Introduction. Introduced the research background and significance of the system, the research status at home and abroad and its research content[;

The second part: key technologies and development tools. It mainly introduces the development technology and development tools used in the development process of the system.

The third part: system analysis and system design. It mainly introduces the requirement analysis, feasibility analysis, system function design and database design before system development.

The fourth part: system function realization and test. It mainly introduces the detailed design of the key functions in this system, the realization effect, the realization code idea and some test situations.

Part V: Summary and Outlook. It is mainly a summary of the work of this thesis and graduation design, and also explains the future prospects.


Chapter 2 System Development Tools and Techniques

2.1 System Development Tools

2.1.1 IntelliJ IDEA development tools

Idea is the abbreviation of IntelliJ IDEA, which is an integrated environment for JAVA development. Idea can be intelligently coded, which can reduce the amount of code for programmers in the development process. Idea can perform intelligent selection, historical records, debugging (Debug) and other functions, so as to provide convenient software for quickly completing system development.

2.1.2 Tomcat server

It's a lightweight application server, so it's not meant to be universally used by all SMBs. However, programmers generally prefer tomcat when developing and testing. For those who are familiar with computer knowledge, the computer department needs a good Apache server that can access HTML pages. Although Tomcat is just an extension of Apache, it can run independently without interfering with each other. When all configurations are correct, the Apache server can provide support for running HTML pages, and Tomcat is to ensure the running of Servlet and JSP. Tomcat is very important in web project development, otherwise the browser cannot access the page.

2.1.3 Workbench 

Workbench is a database modeling tool, which can be used to provide a visual operation interface for various databases such as mysql, in which database creation, table creation, database model creation, etc. can be performed. It can help developers quickly operate the database.

2.1.4 WeChat Developer Tools 

The WeChat developer tool has now been developed and run by the small program development team. At present, the WeChat developer tool is still being continuously improved, and it is often updated when developing a small program. You can use the WeChat code to log in to the developer tool, and the developer tool will use the information of this WeChat account to develop and debug the applet.

Model selection: The applet uses the screen size of the smartphone as the design standard to cut pictures.

Preview interface: After writing the view layout, click compile to refresh the view interface.

Console: It is convenient to debug and print out information.

Upload code: upload to the Tencent server, and submit for review. You can fill in the version number and remarks when uploading the code.

Resource file: Generally, you can perform breakpoint debugging of the file directory of the corresponding project in the resource file.

Display remote debugging: The joint debugging of mobile phone and PC development tools is very practical for users.

Local data storage: Displays the data stored locally.

View debugging: The standard components are presented in a child-parent hierarchical structure, which is convenient for debugging.

WeChat is limited to a code volume within 2M; the legal domain name information is generally not verified during development; the server domain name needs to be configured in the background of the applet.

The above are the functions commonly used by WeChat developer tools during the development process, and the WeChat developer tools are also constantly being improved.

2.1.5 MySQL database

The language of Mysql is unstructured, and users can work on the data. MySQL gets a lot of attention for its speed, reliability, and adaptability. Most people agree that MySQL is the best choice for managing content when transactional processing is not required. And because the language and structure of Mysql are relatively simple, but the function and the amount of stored information are very powerful, it has been widely used.

The role of Mysql database in the programming process is very extensive, which brings convenience for users to query data. Because of its flexibility and powerful functions, the application of Mysql database only needs a small piece of code to realize a certain function, unlike other programs that need to write a large piece of code. Generally speaking, the language of Mysql database is relatively concise.

Data flow analysis is mainly a storage room for data storage, which is performed on a computer, not a storage room in reality. Data is stored in a fixed format rather than in disorder. Its definition is: it has a fixed format for a long time and can be shared and stored on the computer memory. Database management is mainly data storage, modification and addition, and the establishment of data tables. In order to ensure the normal operation of the system data, some capable processors can manage it without the need for professional people to handle it. The establishment of the data table can adjust the data in the data table, recombine and reconstruct the data to ensure the security of the data. Due to the powerful features of the database, the development of this system mainly uses Mysql to manage the data.

2.2 System Development Technology

2.2.1 B/S structure

The B/S mode can also be called the B/S structure. It appeared with the rise of the Internet, and it is also an expansion of the C/S structure. The project under this structure is accessed by the user through the browser as the entrance. It does not need to download any client but cannot be separated from the browser. The project maintenance of B/S mode is very simple and convenient. Different people can access and operate the same data in different places or with different access methods; Paralyzed and paralyzed.

2.2.2 Java

The Java language is a language with a wide audience. It comes from Sun Microsystems. Java can run on many platforms. Compared with the C++ language, it not only absorbs many advantages of C++, but also discards many obscure concepts in it. The advantages of Java Many, object-oriented development, platform diversity and portability are very high. At present, many large-scale website projects on the market are written in Java, which shows that Java is very popular.

2.2.3 Spring Boot framework

The Spring framework is an open source application framework on the Java platform that provides a container with inversion of control features. Although the Spring framework itself has no restrictions on the programming model, its frequent use in Java applications made it so popular that it was later used as a supplement or even a substitute for the EJB (EnterpriseJavaBeans) model. The Spring framework provides a series of solutions for development, such as using the core features of inversion of control, and implementing inversion of control through dependency injection to realize the containerization of the management object life cycle, using aspect-oriented programming for declarative transaction management, and integrating A variety of persistence technologies manage data access, provide a large number of excellent web frameworks to facilitate development, and so on. The Spring framework has the feature of inversion of control (IOC). IOC is designed to facilitate project maintenance and testing. It provides a method for unified configuration and management of Java objects through the Java reflection mechanism. The Spring framework uses the container to manage the life cycle of objects. The container can configure objects by scanning XML files or specific Java annotations on classes. Developers can obtain objects through dependency lookup or dependency injection. The Spring framework has an aspect-oriented programming (AOP) framework. The Spring AOP framework is based on the proxy mode and is configurable at runtime. The AOP framework is mainly modularized for cross concerns between modules. The AOP framework of the Spring framework only provides basic AOP features. Although it cannot be compared with the AspectJ framework, it can also meet the basic needs through integration with AspectJ. Functions such as transaction management and remote access under the Spring framework can be realized by using Spring AOP technology. Spring's transaction management framework brings an abstraction mechanism to the Java platform that enables local and global transactions, as well as nested transactions, to work with savepoints and in almost any environment on the Java platform.

2.2.4 JSP

JSP is actually a technical standard, a constraint standard for dynamic web pages. In fact, it is a new type of file that integrates JAVA code output into HTML page code, and can provide dynamic data to users. WEB applications developed using JSP can be used across platforms and can be used under any system. JSP well separates web page logic and web page design and display, and can support reusable components, making web application development more convenient and faster.

2.2.5 Mybatis framework

The persistence framework developed by the system uses Mybatis. Mybatis is an ORM-type data persistence framework. It automatically assembles JDBC's manual registration of drivers, establishment of connections, acquisition of SQL execution objects, and release of connections. It only needs simple configuration to realize automatic registration of drivers and establishment of For operations such as connecting and releasing connections, developers only need to pay attention to the writing of SQL statements, instead of paying too much attention to database connection issues. mybatis supports custom SQL, stored procedures, and advanced mapping. SQL statements can be written through sql mapping files, dynamic sql is supported, and sql reuse can be realized by querying with conditions.

Advantages of the MyBatis framework: (1) Compared with JDBC, it reduces the amount of code by more than 50%. (2) MyBatis is the simplest persistence framework, small and easy to learn, easy to use and master. (3) SQL is written in xml, which is convenient for unified management and optimization. (4) Uncoupling sql and program code. (5) Provide mapping tags to support the ORM field relationship between objects and databases.

2.2.6 Mini Program Framework and Directory Structure Introduction

The entire applet framework system is divided into two parts: logic layer and view layer . The goal of the mini program development framework is to allow developers to develop services with native mini program experience in WeChat in the simplest and most efficient way possible. The applet provides a data transmission and event system between the view layer and the logic layer, and provides its own view layer and logic layer framework, allowing developers to focus on data and logic. At the heart of the framework is a reactive data binding system that makes keeping data and views in sync very simple. Data modification at the logical layer will be updated accordingly at the view layer. The framework provides a set of basic components. These components come with WeChat-style styles and special logic. Developers can create powerful applets by combining basic components.

Chapter 3 System Analysis and Design

3.1 Demand Analysis

The main purpose of the system is to allow users to record, count, and view income and expenditures on the applet side. In addition, I hope that bookkeeping can be better used through the electronic platform, so that people who like it can get their own needs on it, and the mini program can be promoted to the maximum and facilitate these people who like it. Therefore, the system is mainly divided into a small program terminal and a background management system, and users are divided into two types: small program users and background administrators.

Therefore, system design starts with the actual needs of users and administrators to understand what functions they need to implement and what administrative work they can include. Considering the design characteristics of the account-keeping WeChat mini-program, the following requirements should be met:

(1) It can carry out the information management of the accounting WeChat mini-program through the network, and promote the information management of the accounting WeChat mini-program.

(2) Users can view income information and expenditure information;

(3) It provides a free channel to ensure real-time and effective communication of data.

3.1.1 Small program terminal

The Mini Program is mainly used by Mini Program users, and the subdivided functions are as follows.

(1) User login: In order to ensure information security, you need to log in before using the function of the applet. The login uses the applet to log in. When the user enters the applet, it will prompt to use WeChat to log in. If the login is successful, the functions inside can be used.

(2) Expenditure records: After the user logs in successfully, he can record all kinds of expenditures, and record each item clearly.

(3) Income record: After the user logs in successfully, all kinds of income can be recorded one by one, which is convenient for later viewing.

(4) Accounting statistics: Statistics of the user's monthly income, expenditure information and whether there is a budget setting, and records of exceeding the budget.

(5) Setting: Users can set or adjust the monthly expenditure budget.

(6) Bill management: Users can view their own income and expenditure according to the search criteria.

3.1.2 Background management system

The system background management is for system administrators. All kinds of information are managed in a unified manner in the system, and the following functions are divided according to the usage of the background.

(1)  Customer information management: All customer information successfully registered on the mini program side can be queried and viewed.

(2)  System settings: including addition, deletion, modification and query operations of system users, addition, deletion, modification and query operations of system departments, addition, deletion, modification and query operations of system roles, resource authority allocation , etc.

(3) System monitoring: monitor and view the resource usage of the system.

(4) Income management: view and manage the user's income records.

(5) Expenditure management: view and manage the user's expenditure record list.

(6) Type management: Addition, deletion, modification, and query management operations of label type items of income and expenditure.

(7) Budget management: view and manage the budget situation set by the user.

(8) Suggestions for questions: Suggestions for questions raised by users can be viewed and managed.

3.2 Feasibility analysis

System feasibility analysis is a crucial link in system development. It is generally before the system development work after the system requirements analysis is completed. It is necessary to demonstrate the feasibility of the system from different angles, levels, and multiple aspects to see if it can be completed. If and only when all the feasibility of the system is available, the overall system can enter the development and coding work, otherwise unpredictable errors may occur during the development process. The development technology and development tools covered by the completion of this system, the school has already set up relevant courses, and I have also tutored related technologies in my spare time. But the development of any project will not be simple. If you want to do a good job in the system, you must spend a matching amount of time, so as long as you are willing to spend time, think carefully, and use powerful network resources, believe in the development of this system is feasible.

3.3 Overall system design

According to the analyzed requirements, the accounting WeChat applet system is divided into two parts: the applet terminal and the background management system. The overall design of system functions is shown in Figure 3-1. The applet terminal includes functions such as user login, expenditure record, income record, income and expenditure statistics, and settings. The background management system includes modules such as system setting, system monitoring, customer management, income management, expenditure management, and type management. These functions can facilitate and meet the basic functions that need to use the applet for accounting.

Figure 3-1 Overall design of system functions

3.4 WeChat mini-program front-end design

(1) Login module

The login module is the front desk for Mini Program users to use functions such as expenditure records, income records, and expenditure statistics viewing. All users must log in if they want to use the system. Users can directly authorize WeChat to log in when entering the Mini Program, without cumbersome registration, and using the unique advantages of Mini Programs to make users more convenient. The login process is shown in Figure 3.2.

Figure 3-2 Login process design

The overall login page uses a lavender style, with a dazzling ginger button to complete the login and enter the main page of the system. The page layout is simple and generous, allowing users to see where to operate at a glance, and corresponding guidance is also provided to enhance the user experience. The login interface design is shown in Figure 3-3.

Figure 3-3 Login interface design

(2) Bookkeeping statistics module

The accounting and statistics module is the home page of the applet. After successfully logging in, users can clearly see their bill statistics, including the five major data of this month's expenditure amount, this month's income amount, this month's balance, budget amount and its overspending situation, allowing them to easily understand the financial situation. I know what I know. Figure 3-4 shows the bookkeeping statistics process.

Figure 3-4 Bookkeeping statistics process design

The bookkeeping statistics interface adopts an intuitive data display method, clearly displaying five key indicators of this month's expenditure amount, this month's income amount, this month's balance, budget amount and its overspending situation for users to view. Different colors are used to mark the indicator data. Red indicates that the user has exceeded the budget and needs to pay attention to saving their own expenses. The page is mainly composed of three parts, including the header, navigation bar, and main indicator display part. The accounting interface design is shown in Figure 3-5.

Figure 3-5 Bookkeeping statistics page design

(3) Expenditure recording module

Expenditure record is to help users record each expenditure, and the recorded content includes expenditure amount, expenditure type, and expenditure time. Expenditure records are the key to the applet. Record every transaction so that you can check it better later. Figure 3-6 shows the design of the expenditure recording process.

Figure 3-6 Expenditure recording process design

The page design of the expenditure record is in the form of pictures and texts, and there are logo icons corresponding to each type, so that customers can clearly understand the content of each category. The big submit button is displayed below, which better considers the user experience. The design of the expense record page is shown in Figure 3-7.

Figure 3-7 Expenditure record page design

(4) Revenue recording module

Income record is to help users record every income and expense, and the recorded content includes income amount, income type, and income time. Income records are the key to the Mini Program. Record every transaction so that you can check it better later. Figure 3-8 shows the income recording process design.

Figure 3-8 Revenue recording process design

The page design of the income record is in the form of pictures and texts, and there are logo icons corresponding to each type, so that customers can clearly understand the content of each category. The big submit button is displayed below, which better considers the user experience. The revenue record page design is shown in Figure 3-9.

Figure 3-9 Revenue record page design

(5) Statistics module

Bill statistics is to list and view all their expenditure records and income, so that users can view each record information and understand their financial flow . The statistical flow chart is shown in 3-10.

Figure 3-10 Statistical process design

The statistics function page is designed in accordance with the traditional design of selecting the type first and then displaying the corresponding information form. Users can see the expenditure and income when entering the page, and click the one they want to see to query all the corresponding record information . Each operation is simple and convenient, no need to click the query button after selecting the type, and directly and automatically switch to improve user efficiency. The statistics page is shown in Figure 3-11.

Figure 3-11 Statistics page design

(6) Question suggestion module

The problem suggestion module is for the user to submit the problems encountered or better suggestions to the system during the use of the applet, so that the system can be improved and repaired to make users more satisfied . The flowchart design of the problem suggestion module is shown in Figure 3-12.

Figure 3-12 Questions and suggestions process design

The question suggestion page is composed of a large content input box and buttons, which is convenient for users to input and submit directly and intuitively . The page design of the Question Suggestion module is shown in Figure 3-13.

Figure 3-13 Questions and suggestions page design

(6) Budget setting module

The budget setting module is the entrance for the user to fill in the monthly budget, which is convenient for the later statistics of the financial situation to understand the income, expenditure, and whether the budget is overrun . The flowchart design of the budget setting module is shown in Figure 3-14.

Figure 3-14 Budget setting process design

The budget setting page is composed of an input box and an enable button. The button is lit and the startup is successful. If the button is not lit, the budget setting will not be performed. The input box is used to enter the budget amount . Figure 3-15 shows the page design of the budget setting module.

Figure 3-15 Budget setting page design

3.5 Background management terminal design

  1. Customer Information Management Module

The customer information management module is to manage the users who have successfully logged in the small program terminal, including operations such as query, modification, and deletion. The user clicks on this module in the background, and can see the unified management of customer name, openid, nickname, region and other information, which is convenient for the administrator to view various information such as the number of users of the Mini Program and geographical distribution.

  1. System Settings Module

System settings include system user management, post management, department management, role management, and resource authority management, mainly to dynamically manage the basic information of background management. User management is the basic operation of assigning, modifying, deleting, and querying information such as user numbers, nicknames, names, and mobile phone numbers. Post management is the basic operation of assigning, modifying, deleting, and querying post names and post numbers involved in the background. Department management is to facilitate the division of users by department, including the allocation, modification, deletion, and query operations of basic information such as department numbers and names. Role management is the role management of background users. Different roles have different permissions. Through roles, different users can view different data and perform different operations. Roles include assignment and modification of role names, numbers, data permissions, and resource permission menus. , delete, and query operations.

(3) System monitoring module

The system monitoring module is to query and delete the basic information of the system, such as online users, CPC, login ip, etc., so that the administrator can manage and control all the operation of the platform, and in case of data loss and other problems, the corresponding person can be quickly found.

(4) Revenue Management Module

Revenue management is the core function of the system. Revenue management is to manage the data of all users on the Mini Program in a unified manner. The operations provided mainly include query and deletion. Administrators can analyze user usage frequency and other information based on the income recorded on the mini-program terminal, so as to facilitate the optimization of the mini-program in the later stage and discover more user needs.

(5) Expenditure Management Module

Expenditure management is the core function of the system. Expenditure management is the unified management of the data of all users on the applet side. The operations provided to users are mainly query and deletion. Administrators can statistically analyze user usage frequency and other information based on the expenditure records of mini program users, so as to optimize the program in the future and improve user experience.

(6) Type management

Type management is divided into two parts: expenditure type and income type. The operations provided to the user are the basic operations of adding, modifying, deleting, and querying. The types added by the user in the background will be updated synchronously on the Mini Program client. It is a basic parameter for recording income and expenditure. With this parameter, it can better help users make statistics and display various data expenditures.

(7) Budget management

Budget management is the statistical management of the budget amount set by the users of the mini program. The operation provided is only to view. Through this part of the data, it helps the background users to analyze the user's budget expenditure, etc., to see which salary level the users of the mini program are at. Users, it is convenient to exit some new charging functions later to see everyone's acceptance.

(8) Question Suggestion Module

The problem suggestion is that the information submitted by the applet is displayed in the background, and the background users can see what feedback, questions, and suggestions need to be improved. In this way, through user participation, the applet can be better optimized and improved, so that more people can use it later.

All the functions of the background above are basic operations such as adding, modifying, deleting, and querying, and the process design is similar. The following is the process design diagram for different operations: add information as shown in Figure 3-16, delete information as shown in Figure 3-17, delete information as shown in Figure 3-18, and query information as shown in Figure 3-19 .

Figure 3-16 New information flow design diagram

Figure 3-17 Delete information process design diagram

Figure 3-18 Modify the information flow design diagram

Figure 3-19 Query information process design diagram

The page design of the background management adopts a block design: the left menu, the top navigation, and the middle main part. Each function is a change in the main part, and the other parts remain unchanged. The query list page displays the data type table and various buttons for operating data. The new or modified page is composed of the main input box and the submit confirmation button. The delete function is done through the button on the list page. The class table page of background management is shown in Figure 3-20, and the added or modified page is shown in Figure 3-21.

Figure 3-20 Query information process design diagram

Figure 3-21 Add or modify information flow design diagram

3.6 Database design

3.6.1 Database requirements analysis

From the user's point of view, the needs of the database are mainly reflected in the addition, deletion, modification and query of database tables. Therefore, the database structure needs to meet two elements at the same time: input and output. When doing data design, you first need to collect data, then analyze the data structure, and finally process the data. According to the requirements of this system, the following main data items and data structures are designed:

(1) Customer entity: table id, user nickname, province, city, gender, avatar Url, user ID.

(2) Revenue record entity: table id, customer open_id, revenue time, revenue type, revenue amount

, Remarks, Input Time.

(3) Expenditure record entity: table id, customer open_id, expenditure time, expenditure type, expenditure amount

, Remarks, Input Time.

(4) Income type entity: table id, type number, type name.

(5) Expenditure type entity: table id, type number, type name.

(6) Budget setting entity: table id, budget amount, recording time, openid.

(7) Proposed entities: table id, openid, opinion.

3.6.2 Database conceptual structure design

According to the requirements analysis of the above database, the specific entities are obtained, and the attributes of each entity generally correspond to the ER diagram of the entity.

(1) The customer entity is shown in Figure 4-2.

Figure 4-2 Customer entity

  1. The income record entity is shown in Figure 4-3.

Figure 4-3 Revenue record entity

  1. The income record entity is shown in Figure 4-4.

Figure 4-4 Expenditure record entity

  1. The expenditure type entity is shown in Figure 4-5.

Figure 4-5 Expenditure Type Entity

  1. The income type entity is shown in Figure 4-6.

Figure 4-6 Revenue type entity

  1. The budget setting entity is shown in Figure 4-7.

Figure 4-7 Budget setting entity

  1. The feedback entity is shown in Figure 4-8.

Figure 4-8 Feedback entity

3.6.3 Database table design

(1) The table structure of the customer table (c_customer) is shown in Table 4-1.

Table 4-1 Customer table (c_customer)

name

type

length

not null

primary key

note

id

int

0

yes

yes

Id

username

varchar

50

no

yes

User's Nickname

province

varchar

40

no

no

Province

city

varchar

40

no

no

city

sex

int

0

no

no

gender

avatarUrl

varchar

255

no

no

Avatar Url

openid

varchar

100

no

no

User ID

...needed private message or message to get

Realize the effect:

 

 

Guess you like

Origin blog.csdn.net/lf21qp/article/details/130441773#comments_26726832