easyabp / eshop Goto Github PK
View Code? Open in Web Editor NEWAn abp application module group that provides basic e-shop service.
License: MIT License
An abp application module group that provides basic e-shop service.
License: MIT License
What's the point of recording Product(and Detail)ModificationTime in order line?
@gdlcf88 Thanks advance 😄
代码里面一行注释都看不到。很多字段完全靠翻译的中文字面意思猜。
And add StoreId to the parameters of CreateAsync(), UpdateAsync() and DeleteAsync().
When it set to true
, hide it from the product/category list.
ProductsPermissions.Products.Default
Related to #68
Use IStoreOwnerStore
to check whether the user is one of the store owners, if so, he has the authority.
For example:
should be:
var isStoreOwner = await _storeOwnerStore.IsOwnerAsync(CurrentUser.GetId(), input.StoreId)
&& await AuthorizationService.IsGrantedAsync(ProductsPermissions.Products.Default);
IMultiTenant
from Product and other related entities.ProductStore
for mapping products to stores in different tenants.MinimumPrice
, MaximumPrice
, DiscountedPrice
and RealInventory
properties to ProductDto and set their values in IProductAppService.GetAsync and IProductAppService.GetListAsync methods.ShowHidden == true
requires .Default
permission.Should add "EShop" prefix, for example:
public const string RemoteServiceName = "Orders";
should be
public const string RemoteServiceName = "EShopOrders";
Add IsStatic
property to Product entity, if it set to true
, no one can modify them except those with the ManageStaticProduct
permissions
OrderMaxQuantity
is 99.Quantity
is between OrderMinQuantity
and OrderMaxQuantity
.Simplify to reduce problems. If an app does not need stores, it can create only one store an set it as default.
Relate to: EasyAbp/PaymentService#9
Use IProductAppService.GetAsync()
to get the inventory.
According to https://github.com/EasyAbp/EasyAbpGuide/blob/master/Module-Development-Specification.md#menu-items
EShopProductsProductCategory
should be used as the menu item name instead of Category
.
In the future, we create a new git repository named EasyMall to provide an ABP application solution with installer or an ABP startup template.
SerializedDto
to SerializedEntityData
.OrderNumber
property to Order entity.
IOrderNumberGenerator
interface to create new order numbers.GetByOrderNumberAsync()
method to IOrderAppService.For example:
ConfigureOrders() -> ConfigureEShopOrders()
CRUD for ProductSku
Its route should be "/api/eShop/orders/order/byOrderNumber/{orderNumber}".
If it is null, skip the default value setting in WeChatPaySettingDefinitionProvider.
Relate to: #34
After EasyAbp/PaymentService#6 finished, EShop.Payments module does not need to be deployed with PaymentService module, so the Payment and Refund should be exclusive table entities which automatically synchronize entity data from PaymentService module.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.