master
editor 2 months ago
commit d5181004f0

@ -0,0 +1,3 @@
{
"CurrentProjectSetting": null
}

@ -0,0 +1,7 @@
{
"ExpandedNodes": [
""
],
"SelectedNode": "\\objectInfo.sln",
"PreviewInSolutionExplorer": false
}

@ -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

@ -0,0 +1,2 @@
1、go mod tidy
2、go build

@ -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}]

@ -0,0 +1,15 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Newtonsoft.Json</name>
</assembly>
<members>
<member name="T:Newtonsoft.Json.Bson.BsonObjectId">
<summary>
Represents a BSON Oid (object id).
</summary>
</member>
<member name="P:Newtonsoft.Json.Bson.BsonObjectId.Value">
<summary>
Gets or sets the value of the Oid.
</summary>

@ -0,0 +1,15 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Newtonsoft.Json</name>
</assembly>
<members>
<member name="T:Newtonsoft.Json.Bson.BsonObjectId">
<summary>
Represents a BSON Oid (object id).
</summary>
</member>
<member name="P:Newtonsoft.Json.Bson.BsonObjectId.Value">
<summary>
Gets or sets the value of the Oid.
</summary>

@ -0,0 +1,15 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Newtonsoft.Json</name>
</assembly>
<members>
<member name="T:Newtonsoft.Json.Bson.BsonObjectId">
<summary>
Represents a BSON Oid (object id).
</summary>
</member>
<member name="P:Newtonsoft.Json.Bson.BsonObjectId.Value">
<summary>
Gets or sets the value of the Oid.
</summary>

@ -0,0 +1,15 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Newtonsoft.Json</name>
</assembly>
<members>
<member name="T:Newtonsoft.Json.Bson.BsonObjectId">
<summary>
Represents a BSON Oid (object id).
</summary>
</member>
<member name="P:Newtonsoft.Json.Bson.BsonObjectId.Value">
<summary>
Gets or sets the value of the Oid.
</summary>

@ -0,0 +1,15 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Newtonsoft.Json</name>
</assembly>
<members>
<member name="T:Newtonsoft.Json.Bson.BsonObjectId">
<summary>
Represents a BSON Oid (object id).
</summary>
</member>
<member name="P:Newtonsoft.Json.Bson.BsonObjectId.Value">
<summary>
Gets or sets the value of the Oid.
</summary>

@ -0,0 +1,15 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Newtonsoft.Json</name>
</assembly>
<members>
<member name="T:Newtonsoft.Json.Bson.BsonObjectId">
<summary>
Represents a BSON Oid (object id).
</summary>
</member>
<member name="P:Newtonsoft.Json.Bson.BsonObjectId.Value">
<summary>
Gets or sets the value of the Oid.
</summary>

@ -0,0 +1,15 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Newtonsoft.Json</name>
</assembly>
<members>
<member name="T:Newtonsoft.Json.Bson.BsonObjectId">
<summary>
Represents a BSON Oid (object id).
</summary>
</member>
<member name="P:Newtonsoft.Json.Bson.BsonObjectId.Value">
<summary>
Gets or sets the value of the Oid.
</summary>
Loading…
Cancel
Save