#include "../View/Account_UI.h"
#include<stdio.h>
#include "../Common/List.h"
#include "../Service/Account.h"
int SysLogin(){
Account_Sry_InitSys();
char name[30];
char password[30];
int i=0;
while(1)
{
if(i>=3)
{
return 0;
}
printf("请输入用户名:") ;
gets(name);
printf("请输入密码:");
gets(password);
getchar();
if(Account_Sry_Vertify(name,password)==1)
{
return 1;
}
i++;
}
}
//系统用户管理界面
void Account_UI_MgtEntry(){
int i;
char user[30];
char choice;
account_list_t head;
Pagination_t paging;
account_node_t *p,*pos,n;
List_lnit(head,n);
p=head;
paging.pageSize=5;
paging.totalRecords=Account_Sry_FetchAll(head);
Paging_Locate_FirstPage(head, paging);
do{
printf
学习周报
最新推荐文章于 2021-05-16 01:08:53 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)