Browse Source

Rename "DefaultStoreDisplayName" to "DefaultStoreName"

pull/49/head
gdlcf88 6 years ago
parent
commit
46f4018cee
  1. 2
      modules/EasyAbp.EShop.Stores/src/EasyAbp.EShop.Stores.Domain/EasyAbp/EShop/Stores/Settings/StoresSettingDefinitionProvider.cs
  2. 2
      modules/EasyAbp.EShop.Stores/src/EasyAbp.EShop.Stores.Domain/EasyAbp/EShop/Stores/Settings/StoresSettings.cs
  3. 2
      modules/EasyAbp.EShop.Stores/src/EasyAbp.EShop.Stores.Domain/EasyAbp/EShop/Stores/Stores/StoreDataSeeder.cs

2
modules/EasyAbp.EShop.Stores/src/EasyAbp.EShop.Stores.Domain/EasyAbp/EShop/Stores/Settings/StoresSettingDefinitionProvider.cs

@ -10,7 +10,7 @@ namespace EasyAbp.EShop.Stores.Settings
* Use names from StoresSettings class. * Use names from StoresSettings class.
*/ */
context.Add(new SettingDefinition(StoresSettings.DefaultStoreDisplayName, "My store")); context.Add(new SettingDefinition(StoresSettings.DefaultStoreName, "My store"));
} }
} }
} }

2
modules/EasyAbp.EShop.Stores/src/EasyAbp.EShop.Stores.Domain/EasyAbp/EShop/Stores/Settings/StoresSettings.cs

@ -8,6 +8,6 @@
* public const string MySettingName = GroupName + ".MySettingName"; * public const string MySettingName = GroupName + ".MySettingName";
*/ */
public const string DefaultStoreDisplayName = GroupName + ".DefaultStoreDisplayName"; public const string DefaultStoreName = GroupName + ".DefaultStoreName";
} }
} }

2
modules/EasyAbp.EShop.Stores/src/EasyAbp.EShop.Stores.Domain/EasyAbp/EShop/Stores/Stores/StoreDataSeeder.cs

@ -35,7 +35,7 @@ namespace EasyAbp.EShop.Stores.Stores
{ {
await _storeRepository.InsertAsync( await _storeRepository.InsertAsync(
new Store(_guidGenerator.Create(), _currentTenant.Id, new Store(_guidGenerator.Create(), _currentTenant.Id,
await _settingProvider.GetOrNullAsync(StoresSettings.DefaultStoreDisplayName)), true); await _settingProvider.GetOrNullAsync(StoresSettings.DefaultStoreName)), true);
} }
} }
} }

Loading…
Cancel
Save