修改一小点无关紧要的内容

This commit is contained in:
wang_chengh 2023-09-21 12:01:05 +08:00
parent 4f5dfcd376
commit 20d7d83ef7
1 changed files with 2 additions and 4 deletions

View File

@ -82,7 +82,7 @@ int main() {
cJSON_AddStringToObject(result_json, "nickname", "admin"); cJSON_AddStringToObject(result_json, "nickname", "admin");
} else { } else {
cJSON_AddNumberToObject(result_json, "code", 1); cJSON_AddNumberToObject(result_json, "code", 1);
cJSON_AddStringToObject(result_json, "msg", "用户名或口令错误"); cJSON_AddStringToObject(result_json, "msg", "用户名或密码错误");
} }
char *result_json_string = cJSON_Print(result_json); char *result_json_string = cJSON_Print(result_json);
@ -99,6 +99,4 @@ int main() {
mysql_close(conn); mysql_close(conn);
return 0; return 0;
} }
// 注释