IDP.Custom.Design.CustomModel.newCustomModelByProductIdAsync() function
通过商品ID创建一个CustomModel对象
Signature:
function newCustomModelByProductIdAsync(productId: string): Promise<CustomModel | undefined>;
Links: function newCustomModelByProductIdAsync(productId: string): Promise<CustomModel | undefined>;
Parameters
Parameter | Type | Description |
---|---|---|
productId | string | 商品ID @vm-type NewCustomModelByProductIdAsync |
Returns:
Promise<CustomModel | undefined>