Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Lzw_Fight
auction-shell
比较版本
0947551aaabec3d696d7b6187442d211c06f6082...fc1cef6faf195425502905de82ce025f3a0a0a26
A
auction-shell
项目概览
Lzw_Fight
/
auction-shell
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
2
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
auction-shell
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
2
Issue
2
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
源分支
fc1cef6faf195425502905de82ce025f3a0a0a26
选择Git版本
...
目标分支
0947551aaabec3d696d7b6187442d211c06f6082
选择Git版本
比较
Commits (3)
https://gitcode.net/Lzw_Fight/auction-shell/-/commit/d698999dd624acf0449bdd21bcd5727bb2d5b88a
featyre:add gitignore
2023-10-14T10:51:08+08:00
Jovan
1308146965@qq.com
https://gitcode.net/Lzw_Fight/auction-shell/-/commit/e226bda9c1d895ccd8163c9d5f2165964d1d93ec
feature: add gitingore
2023-10-14T10:54:51+08:00
Jovan
1308146965@qq.com
https://gitcode.net/Lzw_Fight/auction-shell/-/commit/fc1cef6faf195425502905de82ce025f3a0a0a26
feature:initial function
2023-10-14T11:30:45+08:00
Jovan
1308146965@qq.com
隐藏空白更改
内联
并排
Showing
5 changed file
with
51 addition
and
2 deletion
+51
-2
.gitignore
.gitignore
+1
-0
config/application.properties
config/application.properties
+1
-1
config/application_files.properties
config/application_files.properties
+4
-0
main.sh
main.sh
+38
-1
ui/register_ui.sh
ui/register_ui.sh
+7
-0
未找到文件。
.gitignore
0 → 100644
浏览文件 @
fc1cef6f
./storage/*
\ No newline at end of file
config/application.properties
浏览文件 @
fc1cef6f
storage.path
=
../../storage
storage.path
=
/storage
\ No newline at end of file
\ No newline at end of file
config/application_files.properties
0 → 100644
浏览文件 @
fc1cef6f
table.user
=
/storage/user/user.csv=#Id,userName,password,birthday,crateDate,modifiedDate
table.goods
=
/storage/goods/goods.csv=#Id,goodsName,goodsDescription,autionStartTime,crateDate,modifiedDate
#goods acution records directory
#
table.goods.record
=
/storage/goods/record
\ No newline at end of file
main.sh
浏览文件 @
fc1cef6f
#!/bin/bash
#!/bin/bash
echo
"main menu to satrt"
#主启动程序,居中显示
\ No newline at end of file
echo
"main menu to satrt"
#initialize the program
#verify if the storage file are existing
cat
allication_file.properties |
while
read
line
do
#avoid the comment
if
[
$line
==
"#*"
]
then
continue
fi
#if the file is not existing, will initialize it
storage_file
=
$(
echo
"
$line
"
|
awk
-F
"="
'{print $2}'
)
if
![
-f
$storage_file
]
then
touch
-r
$storage_file
echo
"
$line
"
|
awk
-F
"="
'{print $3}'
>
$storage_file
fi
done
#check if the user table is exist
echo
"1.Login"
echo
"2.Register"
echo
"3.exit"
# selection=''
# read -e "Please select the action you want" -n 1
#deal with the selection
# case ${selection} in
# 1) echo "hello"
ui/register_ui.sh
0 → 100644
浏览文件 @
fc1cef6f
#!/bin/bash
# The script is for register
username
=
""
read
-p
"please input your name: "
username
read
-ps
"please input your password: "
passowrd
read
-ps
"please input your password agian:"
secpassowrd
\ No newline at end of file