用户控制
哪吒 2020/1/1
点击勘误issues (opens new window),哪吒感谢大家的阅读
# 用户控制
@ApiOperation(value = "获取我的信息", notes = "我的信息")
public RestRetO getMyInfo(HttpServletRequest request) {
//获取我的信息 填充业务员和企业用户信息(获取入网易宝信息)
// todo 创建时间
//刷新活动账户 活动规则id,用户具有参加该活动,多个活动 planBla 活动现金 空null显示0
}
@ApiOperation(value = "用户注销", notes = "用户注销")
public RestRet logout(HttpServletRequest request) {
}
@ApiOperation(value = "我的优惠券列表", notes = "我的优惠券列表")
public RestRet getMyCouponInfo(String state, HttpServletRequest request) {
}
@ApiOperation(value = "我的账户余额", notes = "我的账户余额")
public RestRet getMyAccountInfo(HttpServletRequest request) {
}
@ApiOperation(value = "我的账户明细", notes = "我的账户明细")
public RestRetO getMyAccountInout(@RequestBody AccountInoutBO accountInoutBO, HttpServletRequest request) {
}
@ApiOperation(value = "我的押金", notes = "我的押金")
public RestRet getMyDepositInfo(HttpServletRequest request) {
}
@ApiOperation(value = "我的押金明细", notes = "我的押金明细")
public RestRetO getMyDepositInout(@RequestBody CashFlowBO cashFlowBO, HttpServletRequest request) {
//资金流水, 关于押金流水类型
}
@ApiOperation(value = "我的积分", notes = "我的积分")
public RestRet getMyPointsInfo(HttpServletRequest request) {
//根据用户id查询我的积分
}
//积分明细
@ApiOperation(value = "我的积分明细分页查询", notes = "我的积分明细分页查询")
@RequestMapping(value = "/getMyPointsInout", method = RequestMethod.POST)
public RestRetO getMyPointsInout(@RequestBody PointsInoutBO pointsInoutBO, HttpServletRequest request) {
//pageQuery
//setOrderDetailInfo
}
@ApiOperation(value = "申请解冻押金", notes = "申请解冻押金")
public RestRet unlockDeposit(HttpServletRequest request) {
//申请解冻押金
// 设置订单详情信息 selectByUserId setOrderDetailInfo 有执行中的订单,无法解冻
// 逾期金额 overdueAmount
//计算剩余有效天数
// 计算待支付的逾期费用 calcuOverDays
//待生效订单数 effOrderNum
// 待生效次数 effectNum
//调用解冻存款接口
//未缴纳过押金,解冻失败
//UnFreezingAmount 解冻中押金的金额(非免押)
//有押金解冻申请在进行中,解冻失败
//unlockDeposit 用户可以申请解冻其之前缴纳的押金
//判断解冻金额是否超过押金金额
//押金总金额 免押总金额
//如果超过,返回解冻失败
//新增审核 插入审核记录
//修改押金账户状态
//update
}
@ApiOperation(value = "城市列表", notes = "运营商城市列表")
public RestRet getCityByOrg(HttpServletRequest request) {
//查询特定的城市信息
//return RestRet.createSuccess("查询城市列表成功!", GsonUtils.getJsonFromObject(xxxInfoService.aggregateCity(xxxInfoBO)));
}
@ApiOperation(value = "获取身份证图片的信息", notes = "获取身份证图片的信息")
public RestRetO getIdCardNoFromImage(@ApiParam("身份证照片")
@RequestParam("imageUrl") String imageUrl,
@ApiParam("是否正面(true/false)")
@RequestParam("front") Boolean front,
HttpServletRequest request) {
//身份证图片识别
}