|
|
|
@ -4,10 +4,7 @@ import com.example.demo.Util.GoldTistV2; |
|
|
|
import com.example.demo.Util.SimpleIdGenerator; |
|
|
|
import com.example.demo.domain.entity.User; |
|
|
|
import com.example.demo.domain.entity.UserGoldRecord; |
|
|
|
import com.example.demo.domain.vo.coin.ConsumeUser; |
|
|
|
import com.example.demo.domain.vo.coin.Gold; |
|
|
|
import com.example.demo.domain.vo.coin.GoldUser; |
|
|
|
import com.example.demo.domain.vo.coin.Result; |
|
|
|
import com.example.demo.domain.vo.coin.*; |
|
|
|
import com.example.demo.exception.SystemException; |
|
|
|
import com.example.demo.mapper.coin.ConsumeMapper; |
|
|
|
import com.example.demo.mapper.coin.MarketMapper; |
|
|
|
@ -254,7 +251,9 @@ public class ConsumeServiceImpl implements ConsumeService { |
|
|
|
|
|
|
|
redService.sendConsumeJwcode(consumeUser.getJwcode(),consumeUser.getRedIds(),userGoldRecord.getLinkId()); |
|
|
|
// } |
|
|
|
return Result.success("XF_" + orderNumber); |
|
|
|
//data返回订单号和创建时间 |
|
|
|
OrderResultVO resultVO = OrderResultVO.build("XF_" + orderNumber,new Date()); |
|
|
|
return Result.success(resultVO); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
|