免费提示词
设计数字商品的三档定价方案
适合准备卖数字产品的独立开发者。你要提供:产品内容和目标用户。
请为我准备发售的数字产品/服务设计一套「三档价格锚定方案(引流款/利润主推款/尊享定制款)+ 首发早鸟促单机制 + 自动交付物清单」。
示例片段(ans-store-pricing.ts)
只是写法示意,不是完整程序。
// ANS 数字商城零浮点误差精确分结算引擎 (ans-store-pricing.ts)
export function calculateAnsOrderTotalMinor(priceMinor: number, qty: number, discountPct = 0, pointsOffsetMinor = 0) {
const gross = priceMinor * Math.max(1, qty);
const afterDiscount = Math.round(gross * (1 - Math.max(0, Math.min(90, discountPct)) / 100));
return { grossMinor: gross, payableMinor: Math.max(0, afterDiscount - pointsOffsetMinor) };
}免费使用,可用于个人和商业项目。模型输出的内容由你自己核对。