aicode/req/pricing.req
2025-12-11 21:18:34 +08:00

11 lines
637 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

定价模块,要求
1)orgid机构id用来隔离不同机构
2)每个定价按有效时间期间可以有多套定价,但一个资源某一天只有一套定价
3)如果一个资源是其他一到多个资源作为此资源的部件,其部件的定价直接引用原资源定价,而非重新定义
4)设计定价类型,设计一套计费规则,针对具体资源只需按照规则给定成本和价格
5)要支持tokens消耗类型的计费(100万/K为计费单位),包年包月模式的计费
模块名字:pricing
要求生成一键生成整个模块目录及文件的shell.sh
按照以下规范要求: