xiaoyong931011
2020-05-25 adb35bc056873d34c16e65fa56446bdf8caf6096
20200525  代码修改
3 files modified
11 ■■■■ changed files
src/main/java/com/xcong/excoin/modules/coin/controller/CoinController.java 3 ●●●●● patch | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/coin/parameter/vo/MemberWalletCoinVo.java 5 ●●●● patch | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/home/mapper/MemberQuickBuySaleEntityMapper.java 3 ●●●● patch | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/coin/controller/CoinController.java
@@ -5,6 +5,8 @@
import javax.annotation.Resource;
import javax.validation.Valid;
import com.xcong.excoin.modules.coin.parameter.vo.MemberWalletCoinVo;
import io.swagger.annotations.*;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
@@ -35,6 +37,7 @@
     * @return
     */
    @ApiOperation(value = "获取我的币币账户信息", notes = "获取我的币币账户信息")
    @ApiResponses({@ApiResponse( code = 200, message = "success", response = MemberWalletCoinVo.class)})
    @GetMapping(value = "/getWalletCoin")
    public Result getWalletCoin() {
        return coinService.getWalletCoin();
src/main/java/com/xcong/excoin/modules/coin/parameter/vo/MemberWalletCoinVo.java
@@ -8,8 +8,11 @@
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * @author xy
 */
@ApiModel(value = "币币账户信息返回", description = "币币账户信息返回")
public class MemberWalletCoinVo extends MemberWalletCoinEntity{
public class MemberWalletCoinVo {
    
    private static final long serialVersionUID = 1L;
src/main/java/com/xcong/excoin/modules/home/mapper/MemberQuickBuySaleEntityMapper.java
@@ -1,5 +1,6 @@
package com.xcong.excoin.modules.home.mapper;
import com.xcong.excoin.modules.home.entity.MemberQuickBuySaleEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
@@ -12,6 +13,6 @@
    public static final MemberQuickBuySaleEntityMapper INSTANCE = Mappers.getMapper(MemberQuickBuySaleEntityMapper.class);
    
    public abstract MemberQuickBuySaleEntityMapper dtoToEntity(MemberQuickBuySaleDto dto);
    public abstract MemberQuickBuySaleEntity dtoToEntity(MemberQuickBuySaleDto dto);
}