The Shengshengtong product anti-counterfeiting system is a product anti-counterfeiting system developed using .Net6 and easy to install.
In view of the fact that there are currently too few .Net6 virtual hosts, the following configuration is recommended: a minimum of 1 core and 2G is required to run (install Centos+Pagoda+Nginx+Mysql)
1. Environmental requirements:
Windows:IIS
Linux: Nginx or Apache
Database: Mysql, SqlServer, Sqlite (not recommended)
Runtime: .NetCoreRuntime6.0
2. Installation:
1. Unzip the package and upload it directly to the root directory of the website
2. Import db.sql into mysql database or sqlserver database
3. Modify the server IP, database, account, password and other parameters of "connectionString" in appsettings.json, and modify "dbType" to the corresponding database type: Mysql, SqlServer, Sqlite.
3. Use:
1. Log in to the background http://domain name/admin. Default account: 18600000000, default password: 123456
2. Add a batch: Backend menu -> Anti-counterfeiting code management -> Batch list, click the Add button on the left, fill in the batch name, and click OK.
3. Obtain data: Backend menu -> Anti-counterfeiting code management -> Batch list, click the "Generate" button on the right, enter the generated quantity, and click OK. After the generation is completed, click the export button to download.
4. Generate a QR code link template: http://domain name/verify/?u=public code&r=private code. Generally, this template will be sent to the printer together with the exported excel file for instructions.
5. Modify the scan code result template: Views/Verify/Index.cshtml