biz层
null或大于最大值
subjectId
controller层
subjectId和clientInfo
每日已购买次数
返回
redis
若key为空
每日限购值
非空则更新
Subject和subjectConfigInApp
DTO=null或ID为0
dao(DB)层
service层
result
KeyValueUtil
DB日志
若subjectDTO为空
查询kk币余额
subjectDTO
subjectId和request
ProductSalesInfo
支付接口
取出result的codeMsg