|
@@ -26,7 +26,7 @@ import java.util.Map;
|
|
* @author hgw
|
|
* @author hgw
|
|
* Created by 2021-12-07
|
|
* Created by 2021-12-07
|
|
*/
|
|
*/
|
|
-@RequestMapping("/tenantInfo")
|
|
|
|
|
|
+@RequestMapping("tenantInfo")
|
|
@Api(tags = "机构管理")
|
|
@Api(tags = "机构管理")
|
|
@RestController
|
|
@RestController
|
|
public class TenantInfoController extends BaseController {
|
|
public class TenantInfoController extends BaseController {
|
|
@@ -109,7 +109,7 @@ public class TenantInfoController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "机构充值")
|
|
@ApiOperation(value = "机构充值")
|
|
@GetMapping("/recharge/{amount}")
|
|
@GetMapping("/recharge/{amount}")
|
|
- // @PreAuthorize("@pcs.hasPermissions('tenantInfo/recharge')")
|
|
|
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('tenantInfo/recharge')")
|
|
public HttpResponseResult<Map<String, Object>> recharge(
|
|
public HttpResponseResult<Map<String, Object>> recharge(
|
|
@ApiParam(value = "充值金额", required = true) @PathVariable("amount") Double amount
|
|
@ApiParam(value = "充值金额", required = true) @PathVariable("amount") Double amount
|
|
) throws Exception {
|
|
) throws Exception {
|
|
@@ -119,7 +119,7 @@ public class TenantInfoController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "轮询查询订单状态")
|
|
@ApiOperation(value = "轮询查询订单状态")
|
|
@GetMapping("/rechargeCheck/{orderNo}")
|
|
@GetMapping("/rechargeCheck/{orderNo}")
|
|
- // @PreAuthorize("@pcs.hasPermissions('tenantInfo/payCheck')")
|
|
|
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('tenantInfo/payCheck')")
|
|
public HttpResponseResult<Boolean> rechargeCheck(
|
|
public HttpResponseResult<Boolean> rechargeCheck(
|
|
@ApiParam(value = "订单号", required = true) @PathVariable("orderNo") String orderNo
|
|
@ApiParam(value = "订单号", required = true) @PathVariable("orderNo") String orderNo
|
|
) throws Exception {
|
|
) throws Exception {
|