Commit 7eb7235aab0988e3a6e0dc4e79518f4bb2148432

Authored by “wangming”
1 parent 862b8119

添加美国版和泰额版本的模块。

Showing 24 changed files with 457 additions and 81 deletions
美国版/Food Labeling Management App UniApp/src/manifest.json
1 1 {
2   - "name" : "food.labeling",
3   - "appid" : "__UNI__1BFD76D",
4   - "description" : "",
5   - "versionName" : "1.0.0",
6   - "versionCode" : "100",
7   - "transformPx" : false,
8   - /* 5+App特有相关 */
9   - "app-plus" : {
10   - "usingComponents" : true,
11   - "nvueStyleCompiler" : "uni-app",
12   - "compilerVersion" : 3,
13   - "splashscreen" : {
14   - "alwaysShowBeforeRender" : true,
15   - "waiting" : true,
16   - "autoclose" : true,
17   - "delay" : 0
18   - },
19   - /* 模块配置 */
20   - "modules" : {
21   - "Bluetooth" : {},
22   - "Camera" : {}
23   - },
24   - /* 应用发布信息 */
25   - "distribute" : {
26   - /* android打包配置 */
27   - "android" : {
28   - "permissions" : [
29   - "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
30   - "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
31   - "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
32   - "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
33   - "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
34   - "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
35   - "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
36   - "<uses-permission android:name=\"android.permission.CAMERA\"/>",
37   - "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
38   - "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
39   - "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
40   - "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
41   - "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
42   - "<uses-feature android:name=\"android.hardware.camera\"/>",
43   - "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
44   - ]
45   - },
46   - /* ios打包配置 */
47   - "ios" : {
48   - "dSYMs" : false
49   - },
50   - /* SDK配置 */
51   - "sdkConfigs" : {}
52   - }
53   - },
54   - /* 快应用特有相关 */
55   - "quickapp" : {},
56   - /* 小程序特有相关 */
57   - "mp-weixin" : {
58   - "appid" : "",
59   - "setting" : {
60   - "urlCheck" : false
61   - },
62   - "usingComponents" : true
63   - },
64   - "mp-alipay" : {
65   - "usingComponents" : true
66   - },
67   - "mp-baidu" : {
68   - "usingComponents" : true
69   - },
70   - "mp-toutiao" : {
71   - "usingComponents" : true
72   - },
73   - "uniStatistics" : {
74   - "enable" : false
75   - },
76   - "h5" : {
77   - "router" : {
78   - "base" : "/app/"
79   - }
80   - },
81   - "vueVersion" : "3"
82   -}
  2 + "name": "food.labeling",
  3 + "appid": "__UNI__1BFD76D",
  4 + "description": "",
  5 + "versionName": "1.0.0",
  6 + "versionCode": "100",
  7 + "transformPx": false,
  8 + /* 5+App特有相关 */
  9 + "app-plus": {
  10 + "usingComponents": true,
  11 + "nvueStyleCompiler": "uni-app",
  12 + "compilerVersion": 3,
  13 + "splashscreen": {
  14 + "alwaysShowBeforeRender": true,
  15 + "waiting": true,
  16 + "autoclose": true,
  17 + "delay": 0
  18 + },
  19 + /* 模块配置 */
  20 + "modules": {
  21 + "Bluetooth": {},
  22 + "Camera": {}
  23 + },
  24 + /* 应用发布信息 */
  25 + "distribute": {
  26 + /* android打包配置 */
  27 + "android": {
  28 + "permissions": [
  29 + "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
  30 + "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
  31 + "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
  32 + "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
  33 + "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
  34 + "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
  35 + "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
  36 + "<uses-permission android:name=\"android.permission.CAMERA\"/>",
  37 + "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
  38 + "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
  39 + "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
  40 + "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
  41 + "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
  42 + "<uses-feature android:name=\"android.hardware.camera\"/>",
  43 + "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
  44 + ]
  45 + },
  46 + /* ios打包配置 */
  47 + "ios": {
  48 + "dSYMs": false
  49 + },
  50 + /* SDK配置 */
  51 + "sdkConfigs": {}
  52 + }
  53 + },
  54 + /* 快应用特有相关 */
  55 + "quickapp": {},
  56 + /* 小程序特有相关 */
  57 + "mp-weixin": {
  58 + "appid": "",
  59 + "setting": {
  60 + "urlCheck": false
  61 + },
  62 + "usingComponents": true
  63 + },
  64 + "mp-alipay": {
  65 + "usingComponents": true
  66 + },
  67 + "mp-baidu": {
  68 + "usingComponents": true
  69 + },
  70 + "mp-toutiao": {
  71 + "usingComponents": true
  72 + },
  73 + "uniStatistics": {
  74 + "enable": false
  75 + },
  76 + "h5": {
  77 + "router": {
  78 + "base": "/app/"
  79 + }
  80 + },
  81 + "vueVersion": "3"
  82 +}
83 83 \ No newline at end of file
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/module/antis-erp/Antis.Erp.Application.Contracts/IServices/ITestService.cs 0 → 100644
  1 +using Volo.Abp.Application.Services;
  2 +
  3 +namespace Antis.Erp.Application.Contracts.IServices
  4 +{
  5 + /// <summary>
  6 + /// 示例测试服务接口
  7 + /// </summary>
  8 + public interface ITestService : IApplicationService
  9 + {
  10 + /// <summary>
  11 + /// 简单问候示例接口
  12 + /// </summary>
  13 + /// <param name="name">姓名</param>
  14 + /// <returns>问候语</returns>
  15 + Task<string> HelloAsync(string name);
  16 + }
  17 +}
  18 +
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling-us/FoodLabeling.Application.Contracts/FoodLabeling.Application.Contracts.csproj 0 → 100644
  1 +<Project Sdk="Microsoft.NET.Sdk">
  2 + <Import Project="..\..\..\common.props" />
  3 +
  4 + <ItemGroup>
  5 + <ProjectReference Include="..\..\..\framework\Yi.Framework.Ddd.Application.Contracts\Yi.Framework.Ddd.Application.Contracts.csproj" />
  6 + <ProjectReference Include="..\FoodLabeling.Domain.Shared\FoodLabeling.Domain.Shared.csproj" />
  7 + </ItemGroup>
  8 +
  9 + <ItemGroup>
  10 + <Folder Include="Dtos\" />
  11 + <Folder Include="IServices\" />
  12 + </ItemGroup>
  13 +
  14 +</Project>
  15 +
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling-us/FoodLabeling.Application.Contracts/FoodLabelingApplicationContractsModule.cs 0 → 100644
  1 +using FoodLabeling.Domain.Shared;
  2 +using Yi.Framework.Ddd.Application.Contracts;
  3 +
  4 +namespace FoodLabeling.Application.Contracts;
  5 +
  6 +/// <summary>
  7 +/// Food Labeling 模块 - 应用契约层(美国版)
  8 +/// </summary>
  9 +[DependsOn(
  10 + typeof(FoodLabelingDomainSharedModule),
  11 + typeof(YiFrameworkDddApplicationContractsModule)
  12 +)]
  13 +public class FoodLabelingApplicationContractsModule : AbpModule
  14 +{
  15 +}
  16 +
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling-us/FoodLabeling.Application.Contracts/IServices/IFoodLabelDemoAppService.cs 0 → 100644
  1 +using Volo.Abp.Application.Services;
  2 +
  3 +namespace FoodLabeling.Application.Contracts.IServices;
  4 +
  5 +/// <summary>
  6 +/// Food Labeling 示例应用服务接口(美国版)
  7 +/// </summary>
  8 +public interface IFoodLabelDemoAppService : IApplicationService
  9 +{
  10 + /// <summary>
  11 + /// 简单问候示例接口
  12 + /// </summary>
  13 + /// <param name="name">姓名</param>
  14 + /// <returns>问候语</returns>
  15 + Task<string> HelloAsync(string name);
  16 +}
  17 +
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling-us/FoodLabeling.Application/FoodLabeling.Application.csproj 0 → 100644
  1 +<Project Sdk="Microsoft.NET.Sdk">
  2 + <Import Project="..\..\..\common.props" />
  3 +
  4 + <ItemGroup>
  5 + <ProjectReference Include="..\..\..\framework\Yi.Framework.Ddd.Application\Yi.Framework.Ddd.Application.csproj" />
  6 + <ProjectReference Include="..\FoodLabeling.Application.Contracts\FoodLabeling.Application.Contracts.csproj" />
  7 + <ProjectReference Include="..\FoodLabeling.Domain\FoodLabeling.Domain.csproj" />
  8 + </ItemGroup>
  9 +
  10 + <ItemGroup>
  11 + <Folder Include="Services\" />
  12 + </ItemGroup>
  13 +
  14 +</Project>
  15 +
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling-us/FoodLabeling.Application/FoodLabelingApplicationModule.cs 0 → 100644
  1 +using FoodLabeling.Application.Contracts;
  2 +using FoodLabeling.Domain;
  3 +using Yi.Framework.Ddd.Application;
  4 +
  5 +namespace FoodLabeling.Application;
  6 +
  7 +/// <summary>
  8 +/// Food Labeling 模块 - 应用层(美国版)
  9 +/// </summary>
  10 +[DependsOn(
  11 + typeof(FoodLabelingApplicationContractsModule),
  12 + typeof(FoodLabelingDomainModule),
  13 + typeof(YiFrameworkDddApplicationModule)
  14 +)]
  15 +public class FoodLabelingApplicationModule : AbpModule
  16 +{
  17 +}
  18 +
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling-us/FoodLabeling.Application/Services/FoodLabelDemoAppService.cs 0 → 100644
  1 +using FoodLabeling.Application.Contracts.IServices;
  2 +using Volo.Abp.Application.Services;
  3 +
  4 +namespace FoodLabeling.Application.Services;
  5 +
  6 +/// <summary>
  7 +/// Food Labeling 示例应用服务实现(美国版)
  8 +/// </summary>
  9 +public class FoodLabelDemoAppService : ApplicationService, IFoodLabelDemoAppService
  10 +{
  11 + /// <inheritdoc />
  12 + public Task<string> HelloAsync(string name)
  13 + {
  14 + var displayName = string.IsNullOrWhiteSpace(name) ? "World" : name.Trim();
  15 + var message = $"Hello, {displayName}! This is FoodLabeling US module. Server time: {Clock.Now:O}";
  16 + return Task.FromResult(message);
  17 + }
  18 +}
  19 +
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling-us/FoodLabeling.Domain.Shared/FoodLabeling.Domain.Shared.csproj 0 → 100644
  1 +<Project Sdk="Microsoft.NET.Sdk">
  2 + <Import Project="..\..\..\common.props" />
  3 +
  4 + <ItemGroup>
  5 + <PackageReference Include="Volo.Abp.Ddd.Domain.Shared" Version="$(AbpVersion)" />
  6 + </ItemGroup>
  7 +
  8 + <ItemGroup>
  9 + <Folder Include="Consts\" />
  10 + <Folder Include="Dtos\" />
  11 + <Folder Include="Enums\" />
  12 + <Folder Include="Etos\" />
  13 + </ItemGroup>
  14 +
  15 +</Project>
  16 +
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling-us/FoodLabeling.Domain.Shared/FoodLabelingDomainSharedModule.cs 0 → 100644
  1 +using Volo.Abp.Domain;
  2 +
  3 +namespace FoodLabeling.Domain.Shared
  4 +{
  5 + /// <summary>
  6 + /// Food Labeling 模块 - 公共领域层(美国版)
  7 + /// </summary>
  8 + [DependsOn(
  9 + typeof(AbpDddDomainSharedModule)
  10 + )]
  11 + public class FoodLabelingDomainSharedModule : AbpModule
  12 + {
  13 + }
  14 +}
  15 +
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling-us/FoodLabeling.Domain/FoodLabeling.Domain.csproj 0 → 100644
  1 +<Project Sdk="Microsoft.NET.Sdk">
  2 + <Import Project="..\..\..\common.props" />
  3 +
  4 + <ItemGroup>
  5 + <PackageReference Include="Volo.Abp.Ddd.Domain" Version="$(AbpVersion)" />
  6 + <PackageReference Include="Volo.Abp.Caching" Version="$(AbpVersion)" />
  7 + </ItemGroup>
  8 +
  9 + <ItemGroup>
  10 + <ProjectReference Include="..\..\..\framework\Yi.Framework.Mapster\Yi.Framework.Mapster.csproj" />
  11 + <ProjectReference Include="..\..\..\framework\Yi.Framework.SqlSugarCore.Abstractions\Yi.Framework.SqlSugarCore.Abstractions.csproj" />
  12 + <ProjectReference Include="..\FoodLabeling.Domain.Shared\FoodLabeling.Domain.Shared.csproj" />
  13 + </ItemGroup>
  14 +
  15 + <ItemGroup>
  16 + <Folder Include="Entities\" />
  17 + <Folder Include="Managers\" />
  18 + <Folder Include="Repositories\" />
  19 + </ItemGroup>
  20 +
  21 +</Project>
  22 +
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling-us/FoodLabeling.Domain/FoodLabelingDomainModule.cs 0 → 100644
  1 +using FoodLabeling.Domain.Shared;
  2 +using Volo.Abp.Caching;
  3 +using Volo.Abp.Domain;
  4 +using Yi.Framework.Mapster;
  5 +
  6 +namespace FoodLabeling.Domain
  7 +{
  8 + /// <summary>
  9 + /// Food Labeling 模块 - 领域层(美国版)
  10 + /// </summary>
  11 + [DependsOn(
  12 + typeof(FoodLabelingDomainSharedModule),
  13 + typeof(YiFrameworkMapsterModule),
  14 + typeof(AbpDddDomainModule),
  15 + typeof(AbpCachingModule)
  16 + )]
  17 + public class FoodLabelingDomainModule : AbpModule
  18 + {
  19 + }
  20 +}
  21 +
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling/FoodLabeling.Th.Application.Contracts/FoodLabeling.Th.Application.Contracts.csproj 0 → 100644
  1 +<Project Sdk="Microsoft.NET.Sdk">
  2 + <Import Project="..\..\..\common.props" />
  3 +
  4 + <ItemGroup>
  5 + <ProjectReference Include="..\..\..\framework\Yi.Framework.Ddd.Application.Contracts\Yi.Framework.Ddd.Application.Contracts.csproj" />
  6 + <ProjectReference Include="..\FoodLabeling.Th.Domain.Shared\FoodLabeling.Th.Domain.Shared.csproj" />
  7 + </ItemGroup>
  8 +
  9 + <ItemGroup>
  10 + <Folder Include="Dtos\" />
  11 + <Folder Include="IServices\" />
  12 + </ItemGroup>
  13 +
  14 +</Project>
  15 +
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling/FoodLabeling.Th.Application.Contracts/FoodLabelingThApplicationContractsModule.cs 0 → 100644
  1 +using FoodLabeling.Th.Domain.Shared;
  2 +using Yi.Framework.Ddd.Application.Contracts;
  3 +
  4 +namespace FoodLabeling.Th.Application.Contracts;
  5 +
  6 +/// <summary>
  7 +/// Food Labeling 模块 - 应用契约层(泰额版)
  8 +/// </summary>
  9 +[DependsOn(
  10 + typeof(FoodLabelingThDomainSharedModule),
  11 + typeof(YiFrameworkDddApplicationContractsModule)
  12 +)]
  13 +public class FoodLabelingThApplicationContractsModule : AbpModule
  14 +{
  15 +}
  16 +
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling/FoodLabeling.Th.Application.Contracts/IServices/IFoodLabelThDemoAppService.cs 0 → 100644
  1 +using Volo.Abp.Application.Services;
  2 +
  3 +namespace FoodLabeling.Th.Application.Contracts.IServices;
  4 +
  5 +/// <summary>
  6 +/// Food Labeling 示例应用服务接口(泰额版)
  7 +/// </summary>
  8 +public interface IFoodLabelThDemoAppService : IApplicationService
  9 +{
  10 + /// <summary>
  11 + /// 简单问候示例接口
  12 + /// </summary>
  13 + /// <param name="name">姓名</param>
  14 + /// <returns>问候语</returns>
  15 + Task<string> HelloAsync(string name);
  16 +}
  17 +
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling/FoodLabeling.Th.Application/FoodLabeling.Th.Application.csproj 0 → 100644
  1 +<Project Sdk="Microsoft.NET.Sdk">
  2 + <Import Project="..\..\..\common.props" />
  3 +
  4 + <ItemGroup>
  5 + <ProjectReference Include="..\..\..\framework\Yi.Framework.Ddd.Application\Yi.Framework.Ddd.Application.csproj" />
  6 + <ProjectReference Include="..\FoodLabeling.Th.Application.Contracts\FoodLabeling.Th.Application.Contracts.csproj" />
  7 + <ProjectReference Include="..\FoodLabeling.Th.Domain\FoodLabeling.Th.Domain.csproj" />
  8 + </ItemGroup>
  9 +
  10 + <ItemGroup>
  11 + <Folder Include="Services\" />
  12 + </ItemGroup>
  13 +
  14 +</Project>
  15 +
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling/FoodLabeling.Th.Application/FoodLabelingThApplicationModule.cs 0 → 100644
  1 +using FoodLabeling.Th.Application.Contracts;
  2 +using FoodLabeling.Th.Domain;
  3 +using Yi.Framework.Ddd.Application;
  4 +
  5 +namespace FoodLabeling.Th.Application;
  6 +
  7 +/// <summary>
  8 +/// Food Labeling 模块 - 应用层(泰额版)
  9 +/// </summary>
  10 +[DependsOn(
  11 + typeof(FoodLabelingThApplicationContractsModule),
  12 + typeof(FoodLabelingThDomainModule),
  13 + typeof(YiFrameworkDddApplicationModule)
  14 +)]
  15 +public class FoodLabelingThApplicationModule : AbpModule
  16 +{
  17 +}
  18 +
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling/FoodLabeling.Th.Application/Services/FoodLabelThDemoAppService.cs 0 → 100644
  1 +using FoodLabeling.Th.Application.Contracts.IServices;
  2 +using Volo.Abp.Application.Services;
  3 +
  4 +namespace FoodLabeling.Th.Application.Services;
  5 +
  6 +/// <summary>
  7 +/// Food Labeling 示例应用服务实现(泰额版)
  8 +/// </summary>
  9 +public class FoodLabelThDemoAppService : ApplicationService, IFoodLabelThDemoAppService
  10 +{
  11 + /// <inheritdoc />
  12 + public Task<string> HelloAsync(string name)
  13 + {
  14 + var displayName = string.IsNullOrWhiteSpace(name) ? "World" : name.Trim();
  15 + var message = $"Hello, {displayName}! This is FoodLabeling TH module. Server time: {Clock.Now:O}";
  16 + return Task.FromResult(message);
  17 + }
  18 +}
  19 +
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling/FoodLabeling.Th.Domain.Shared/FoodLabeling.Th.Domain.Shared.csproj 0 → 100644
  1 +<Project Sdk="Microsoft.NET.Sdk">
  2 + <Import Project="..\..\..\common.props" />
  3 +
  4 + <ItemGroup>
  5 + <PackageReference Include="Volo.Abp.Ddd.Domain.Shared" Version="$(AbpVersion)" />
  6 + </ItemGroup>
  7 +
  8 + <ItemGroup>
  9 + <Folder Include="Consts\" />
  10 + <Folder Include="Dtos\" />
  11 + <Folder Include="Enums\" />
  12 + <Folder Include="Etos\" />
  13 + </ItemGroup>
  14 +
  15 +</Project>
  16 +
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling/FoodLabeling.Th.Domain.Shared/FoodLabelingThDomainSharedModule.cs 0 → 100644
  1 +using Volo.Abp.Domain;
  2 +
  3 +namespace FoodLabeling.Th.Domain.Shared
  4 +{
  5 + /// <summary>
  6 + /// Food Labeling 模块 - 公共领域层(泰额版)
  7 + /// </summary>
  8 + [DependsOn(
  9 + typeof(AbpDddDomainSharedModule)
  10 + )]
  11 + public class FoodLabelingThDomainSharedModule : AbpModule
  12 + {
  13 + }
  14 +}
  15 +
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling/FoodLabeling.Th.Domain/FoodLabeling.Th.Domain.csproj 0 → 100644
  1 +<Project Sdk="Microsoft.NET.Sdk">
  2 + <Import Project="..\..\..\common.props" />
  3 +
  4 + <ItemGroup>
  5 + <PackageReference Include="Volo.Abp.Ddd.Domain" Version="$(AbpVersion)" />
  6 + <PackageReference Include="Volo.Abp.Caching" Version="$(AbpVersion)" />
  7 + </ItemGroup>
  8 +
  9 + <ItemGroup>
  10 + <ProjectReference Include="..\..\..\framework\Yi.Framework.Mapster\Yi.Framework.Mapster.csproj" />
  11 + <ProjectReference Include="..\..\..\framework\Yi.Framework.SqlSugarCore.Abstractions\Yi.Framework.SqlSugarCore.Abstractions.csproj" />
  12 + <ProjectReference Include="..\FoodLabeling.Th.Domain.Shared\FoodLabeling.Th.Domain.Shared.csproj" />
  13 + </ItemGroup>
  14 +
  15 + <ItemGroup>
  16 + <Folder Include="Entities\" />
  17 + <Folder Include="Managers\" />
  18 + <Folder Include="Repositories\" />
  19 + </ItemGroup>
  20 +
  21 +</Project>
  22 +
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling/FoodLabeling.Th.Domain/FoodLabelingThDomainModule.cs 0 → 100644
  1 +using FoodLabeling.Th.Domain.Shared;
  2 +using Volo.Abp.Caching;
  3 +using Volo.Abp.Domain;
  4 +using Yi.Framework.Mapster;
  5 +
  6 +namespace FoodLabeling.Th.Domain
  7 +{
  8 + /// <summary>
  9 + /// Food Labeling 模块 - 领域层(泰额版)
  10 + /// </summary>
  11 + [DependsOn(
  12 + typeof(FoodLabelingThDomainSharedModule),
  13 + typeof(YiFrameworkMapsterModule),
  14 + typeof(AbpDddDomainModule),
  15 + typeof(AbpCachingModule)
  16 + )]
  17 + public class FoodLabelingThDomainModule : AbpModule
  18 + {
  19 + }
  20 +}
  21 +
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/src/Yi.Abp.Web/Yi.Abp.Web.csproj
... ... @@ -31,6 +31,8 @@
31 31 <ProjectReference Include="..\..\framework\Yi.Framework.AspNetCore\Yi.Framework.AspNetCore.csproj" />
32 32 <ProjectReference Include="..\..\framework\Yi.Framework.BackgroundWorkers.Hangfire\Yi.Framework.BackgroundWorkers.Hangfire.csproj" />
33 33 <ProjectReference Include="..\..\module\antis-erp\Antis.Erp.Application\Antis.Erp.Application.csproj" />
  34 + <ProjectReference Include="..\..\module\food-labeling-us\FoodLabeling.Application\FoodLabeling.Application.csproj" />
  35 + <ProjectReference Include="..\..\module\food-labeling\FoodLabeling.Th.Application\FoodLabeling.Th.Application.csproj" />
34 36 <ProjectReference Include="..\Yi.Abp.Application\Yi.Abp.Application.csproj" />
35 37 <ProjectReference Include="..\Yi.Abp.SqlSugarCore\Yi.Abp.SqlSugarCore.csproj" />
36 38 </ItemGroup>
... ...
美国版/Food Labeling Management Code/Yi.Abp.Net8/src/Yi.Abp.Web/YiAbpWebModule.cs
... ... @@ -44,6 +44,8 @@ using Yi.Framework.Rbac.Domain.Shared.Consts;
44 44 using Yi.Framework.Rbac.Domain.Shared.Options;
45 45 using Yi.Framework.TenantManagement.Application;
46 46 using Antis.Erp.Application;
  47 +using FoodLabeling.Application;
  48 +using FoodLabeling.Th.Application;
47 49  
48 50 namespace Yi.Abp.Web
49 51 {
... ... @@ -51,6 +53,10 @@ namespace Yi.Abp.Web
51 53 typeof(YiAbpSqlSugarCoreModule),
52 54 typeof(YiAbpApplicationModule),
53 55 typeof(AntisErpApplicationModule),
  56 + // 食品标签-美国版
  57 + typeof(FoodLabelingApplicationModule),
  58 + // 食品标签-泰额版(如需在同一宿主中启用)
  59 + typeof(FoodLabelingThApplicationModule),
54 60 typeof(AbpAspNetCoreMultiTenancyModule),
55 61 typeof(AbpAspNetCoreMvcModule),
56 62  
... ... @@ -77,6 +83,8 @@ namespace Yi.Abp.Web
77 83 options.ConventionalControllers.Create(typeof(YiAbpApplicationModule).Assembly, options => options.RemoteServiceName = "default");
78 84 options.ConventionalControllers.Create(typeof(YiFrameworkTenantManagementApplicationModule).Assembly, options => options.RemoteServiceName = "租户管理接口");
79 85 options.ConventionalControllers.Create(typeof(AntisErpApplicationModule).Assembly, options => options.RemoteServiceName = "安第斯测试接口");
  86 + options.ConventionalControllers.Create(typeof(FoodLabelingApplicationModule).Assembly, options => options.RemoteServiceName = "食品标签-美国版接口");
  87 + options.ConventionalControllers.Create(typeof(FoodLabelingThApplicationModule).Assembly, options => options.RemoteServiceName = "食品标签-泰额版接口");
80 88 //统一前缀
81 89 options.ConventionalControllers.ConventionalControllerSettings.ForEach(x => x.RootPath = "api/app");
82 90 });
... ...