mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
update
This commit is contained in:
@@ -6,7 +6,7 @@ import com.jsowell.common.exception.BusinessException;
|
||||
import com.jsowell.common.response.RestApiResponse;
|
||||
import com.jsowell.pile.dto.MerchantOrderReportDTO;
|
||||
import com.jsowell.pile.service.BusinessFinancialService;
|
||||
import com.jsowell.pile.vo.uniapp.business.BusinessFinancialQueryResultVO;
|
||||
import com.jsowell.pile.vo.web.MerchantOrderReportVO;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
@@ -32,7 +32,7 @@ public class BusinessFinancialController extends BaseController {
|
||||
* @param dto 查询参数
|
||||
* @return 钱包信息查询结果
|
||||
*/
|
||||
@PostMapping("/")
|
||||
@PostMapping("/myWallet")
|
||||
public RestApiResponse<?> getMyWallet(@RequestBody MerchantOrderReportDTO dto) {
|
||||
logger.info("我的钱包查询 merchantId:{}", dto != null ? dto.getMerchantId() : null);
|
||||
RestApiResponse<?> response;
|
||||
@@ -42,7 +42,7 @@ public class BusinessFinancialController extends BaseController {
|
||||
throw new BusinessException(ReturnCodeEnum.CODE_PARAM_NOT_NULL_ERROR);
|
||||
}
|
||||
|
||||
BusinessFinancialQueryResultVO result = businessFinancialService.getMyWallet(dto);
|
||||
MerchantOrderReportVO result = businessFinancialService.getMyWallet(dto);
|
||||
response = new RestApiResponse<>(result);
|
||||
logger.info("我的钱包查询成功 merchantId:{}", dto.getMerchantId());
|
||||
} catch (BusinessException e) {
|
||||
|
||||
Reference in New Issue
Block a user