Commit 946399e2 by 程裕兵

feat:global config

parent fc45062e
package com.jiejing.fitness.finance.app.controller;
import com.jiejing.common.model.JsonResult;
import com.jiejing.paycenter.api.merchant.MerchantQueryApi;
import com.jiejing.paycenter.api.merchant.request.GetApplyMerchantRequest;
import javax.annotation.Resource;
import javax.validation.Valid;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;
/**
* @author chengyubing
* @since 2024/2/26 10:01
*/
@RestController
public class TestController {
@Resource
private MerchantQueryApi merchantApi;
@PostMapping(value = "/private/test")
public JsonResult get(@RequestBody @Valid GetApplyMerchantRequest request) {
return merchantApi.getApply(request);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment