|
|
@@ -4,9 +4,10 @@ import com.github.microservice.auth.security.annotations.ResourceAuth;
|
|
|
import com.github.microservice.auth.security.helper.AuthHelper;
|
|
|
import com.github.microservice.auth.security.type.AuthType;
|
|
|
import com.zhongshu.card.client.model.base.IDParam;
|
|
|
-import com.zhongshu.card.client.model.payment.*;
|
|
|
-import com.zhongshu.card.client.model.school.DeviceInfoModel;
|
|
|
-import com.zhongshu.card.client.model.school.DeviceInfoSearch;
|
|
|
+import com.zhongshu.card.client.model.payment.WalletModel;
|
|
|
+import com.zhongshu.card.client.model.payment.WalletRechargeModel;
|
|
|
+import com.zhongshu.card.client.model.payment.WalletRechargeParam;
|
|
|
+import com.zhongshu.card.client.model.payment.WalletRechargeSearch;
|
|
|
import com.zhongshu.card.client.ret.ResultContent;
|
|
|
import com.zhongshu.card.server.core.domain.payment.Wallet;
|
|
|
import com.zhongshu.card.server.core.service.payment.WalletService;
|
|
|
@@ -19,8 +20,10 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.data.domain.Page;
|
|
|
import org.springframework.data.domain.Pageable;
|
|
|
import org.springframework.data.web.PageableDefault;
|
|
|
-import org.springframework.http.MediaType;
|
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
/**
|
|
|
* @author TRX
|
|
|
@@ -77,8 +80,8 @@ public class WalletController {
|
|
|
|
|
|
@ResourceAuth(value = "user", type = AuthType.User)
|
|
|
@Operation(summary = "得到充值详情")
|
|
|
- @RequestMapping(value = "rechargeCurrent", method = {RequestMethod.POST})
|
|
|
- public ResultContent<WalletRechargeModel> rechargeCurrent(@RequestBody IDParam param) {
|
|
|
+ @RequestMapping(value = "getUserWalletRecharge", method = {RequestMethod.POST})
|
|
|
+ public ResultContent<WalletRechargeModel> getUserWalletRecharge(@RequestBody IDParam param) {
|
|
|
return walletService.getUserWalletRecharge(param.getId());
|
|
|
}
|
|
|
|