|
@@ -2,6 +2,8 @@ package com.iformall.service.project.service.impl; |
|
|
|
|
|
|
|
|
import java.math.BigDecimal; |
|
|
import java.math.BigDecimal; |
|
|
|
|
|
|
|
|
|
|
|
import org.slf4j.Logger; |
|
|
|
|
|
import org.slf4j.LoggerFactory; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.context.annotation.Lazy; |
|
|
import org.springframework.context.annotation.Lazy; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.stereotype.Service; |
|
@@ -16,6 +18,8 @@ import com.iformall.utils.Constant; |
|
|
@Service |
|
|
@Service |
|
|
public class HYProjectService extends BaseProjectService implements ProjectService{ |
|
|
public class HYProjectService extends BaseProjectService implements ProjectService{ |
|
|
|
|
|
|
|
|
|
|
|
private final Logger logger = LoggerFactory.getLogger(this.getClass()); |
|
|
|
|
|
|
|
|
@Lazy |
|
|
@Lazy |
|
|
@Autowired |
|
|
@Autowired |
|
|
WxCUserBasicInfoService wxCUserBasicInfoService; |
|
|
WxCUserBasicInfoService wxCUserBasicInfoService; |
|
@@ -34,6 +38,7 @@ public class HYProjectService extends BaseProjectService implements ProjectServi |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public CreateBilling handleCreateVideoBilling(Long cUserId,String cUserFinalTenantId,String videoTimes, Long videoSize) { |
|
|
public CreateBilling handleCreateVideoBilling(Long cUserId,String cUserFinalTenantId,String videoTimes, Long videoSize) { |
|
|
|
|
|
logger.debug("hyproject handleCreateVideoBilling:"+cUserId+">"+cUserFinalTenantId+">"+videoTimes+">"+videoSize); |
|
|
//慧影视频按照时长来扣币 |
|
|
//慧影视频按照时长来扣币 |
|
|
CreateBilling cb = new CreateBilling(); |
|
|
CreateBilling cb = new CreateBilling(); |
|
|
//每分钟扣币,不足一分钟按一分钟算 |
|
|
//每分钟扣币,不足一分钟按一分钟算 |
|
|