commit d5181004f07dc2f6ab38bef0081a1a9add4a2e6f Author: editor <@51Aspx.com> Date: Mon May 20 15:05:39 2024 +0800 初始化 diff --git a/.vs/ProjectSettings.json b/.vs/ProjectSettings.json new file mode 100644 index 0000000..98c1700 --- /dev/null +++ b/.vs/ProjectSettings.json @@ -0,0 +1,3 @@ +{ + "CurrentProjectSetting": null +} diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json new file mode 100644 index 0000000..2fe2ace --- /dev/null +++ b/.vs/VSWorkspaceState.json @@ -0,0 +1,7 @@ +{ + "ExpandedNodes": [ + "" + ], + "SelectedNode": "\\objectInfo.sln", + "PreviewInSolutionExplorer": false +} diff --git a/51Aspx源码必读.txt b/51Aspx源码必读.txt new file mode 100644 index 0000000..7887954 --- /dev/null +++ b/51Aspx源码必读.txt @@ -0,0 +1,108 @@ +WINFORN与GO语言的超市管理系统 + + + 一、源码描述 + + + Winforn与Go语言的超市管理系统 + + + 环境:VS2022 Go + + + + + + 二、功能介绍 + + + 1、获取所有商品 + + + 2、添加商品 + + + 3、删除商品 + + + 4、取单个商品 + + + 5、取商品订单 + + + + + + 使用Winform作为前端,操作数据过web请求Go语言gin框架运行的服务端。 + + + go的版本为:go version go1.20 windows/amd64 + + + 使用序列化的json文本作为数据存储。 + + + + + + 该代码服务端添加Product接口有错误的,数据对不上,但也能正常运行。 + + + 纠正的话自己去go服务端那改。 + + + + + + 三、注意事项 + + + 1、后台请求地址与端口在Form.cs的300行代码处修改。 + + + 2、服务端的运行步骤: + + + VSCode打开SuperMarket_Go_Server目录。 + + + VSCode的命令行处运行:  + + + go mod tidy + + + go build + + + 双击SuperMarket.exe文件即可 + + + 3、ctrl+F5运行即可。 + + + + + + +作者: coderbest + +如需获得该源码的视频、更新等更多资料请访问: https://www.51aspx.com/Code/WinfornSupermarketManagement +------------------------------------------------------------------------------------------------ + + 源码服务专家 + 官网: https://www.51aspx.com + 讨论圈: https://club.51aspx.com/ + +平台声明: + +1.51Aspx平台上提供下载的资源为免费、共享、商业三类源码,其中免费和共享源码仅供个人学习和研究使用,商业源码请在相应的授权许可条件下使用; +2.51Aspx平台对提供下载的软件及其它资源不拥有任何权利,其版权归属源码合法拥有者所有; +3.著作权人发现本网站载有侵害其合法权益的内容或作品,请与我们联系( 登录官网与客服反馈或发送邮件到support@51Aspx.com ); +4.51Aspx平台不保证提供的下载资源的准确性、安全性和完整性; + +友情提示: + 一般数据库文件默认在 DB_51Aspx 文件夹下 + 默认账号密码一般均为51Aspx + 关于源码使用常见问题及解决方案,请参阅: https://www.51aspx.com/Help diff --git a/SuperMarket_Go_Server/note.txt b/SuperMarket_Go_Server/note.txt new file mode 100644 index 0000000..ede66fc --- /dev/null +++ b/SuperMarket_Go_Server/note.txt @@ -0,0 +1,2 @@ +1、go mod tidy +2、go build diff --git a/SuperMarket_Go_Server/real_products.json b/SuperMarket_Go_Server/real_products.json new file mode 100644 index 0000000..2ddbca0 --- /dev/null +++ b/SuperMarket_Go_Server/real_products.json @@ -0,0 +1 @@ +[{"id":"3090ed06-e9e8-4beb-b150-e50dea2f2de6","name":"apple","price":0,"weight":1,"stock":0},{"id":"4f488385-25ec-4538-bfd2-71eb8800ec81","name":"apple","price":0,"weight":1,"stock":0},{"id":"c7ba1ed6-98d9-41a6-95f2-a589d7236ff0","name":"1","price":0,"weight":2,"stock":0}] diff --git a/SuperMarket_Go_Server/virtual_products.json b/SuperMarket_Go_Server/virtual_products.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/SuperMarket_Go_Server/virtual_products.json @@ -0,0 +1 @@ +[] diff --git a/packages/Newtonsoft.Json.13.0.1/lib/net20/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.13.0.1/lib/net20/Newtonsoft.Json.xml new file mode 100644 index 0000000..f6d1d9c --- /dev/null +++ b/packages/Newtonsoft.Json.13.0.1/lib/net20/Newtonsoft.Json.xml @@ -0,0 +1,15 @@ + + + + Newtonsoft.Json + + + + + Represents a BSON Oid (object id). + + + + + Gets or sets the value of the Oid. + diff --git a/packages/Newtonsoft.Json.13.0.1/lib/net35/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.13.0.1/lib/net35/Newtonsoft.Json.xml new file mode 100644 index 0000000..f6d1d9c --- /dev/null +++ b/packages/Newtonsoft.Json.13.0.1/lib/net35/Newtonsoft.Json.xml @@ -0,0 +1,15 @@ + + + + Newtonsoft.Json + + + + + Represents a BSON Oid (object id). + + + + + Gets or sets the value of the Oid. + diff --git a/packages/Newtonsoft.Json.13.0.1/lib/net40/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.13.0.1/lib/net40/Newtonsoft.Json.xml new file mode 100644 index 0000000..f6d1d9c --- /dev/null +++ b/packages/Newtonsoft.Json.13.0.1/lib/net40/Newtonsoft.Json.xml @@ -0,0 +1,15 @@ + + + + Newtonsoft.Json + + + + + Represents a BSON Oid (object id). + + + + + Gets or sets the value of the Oid. + diff --git a/packages/Newtonsoft.Json.13.0.1/lib/net45/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.13.0.1/lib/net45/Newtonsoft.Json.xml new file mode 100644 index 0000000..f6d1d9c --- /dev/null +++ b/packages/Newtonsoft.Json.13.0.1/lib/net45/Newtonsoft.Json.xml @@ -0,0 +1,15 @@ + + + + Newtonsoft.Json + + + + + Represents a BSON Oid (object id). + + + + + Gets or sets the value of the Oid. + diff --git a/packages/Newtonsoft.Json.13.0.1/lib/netstandard1.0/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.13.0.1/lib/netstandard1.0/Newtonsoft.Json.xml new file mode 100644 index 0000000..f6d1d9c --- /dev/null +++ b/packages/Newtonsoft.Json.13.0.1/lib/netstandard1.0/Newtonsoft.Json.xml @@ -0,0 +1,15 @@ + + + + Newtonsoft.Json + + + + + Represents a BSON Oid (object id). + + + + + Gets or sets the value of the Oid. + diff --git a/packages/Newtonsoft.Json.13.0.1/lib/netstandard1.3/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.13.0.1/lib/netstandard1.3/Newtonsoft.Json.xml new file mode 100644 index 0000000..f6d1d9c --- /dev/null +++ b/packages/Newtonsoft.Json.13.0.1/lib/netstandard1.3/Newtonsoft.Json.xml @@ -0,0 +1,15 @@ + + + + Newtonsoft.Json + + + + + Represents a BSON Oid (object id). + + + + + Gets or sets the value of the Oid. + diff --git a/packages/Newtonsoft.Json.13.0.1/lib/netstandard2.0/Newtonsoft.Json.xml b/packages/Newtonsoft.Json.13.0.1/lib/netstandard2.0/Newtonsoft.Json.xml new file mode 100644 index 0000000..f6d1d9c --- /dev/null +++ b/packages/Newtonsoft.Json.13.0.1/lib/netstandard2.0/Newtonsoft.Json.xml @@ -0,0 +1,15 @@ + + + + Newtonsoft.Json + + + + + Represents a BSON Oid (object id). + + + + + Gets or sets the value of the Oid. +