parent
332bb249aa
commit
0b0161f7a3
@ -0,0 +1,22 @@
|
||||
package au.com.royalpay.payment.manage.appclient.web;
|
||||
|
||||
import au.com.royalpay.payment.manage.appclient.core.RetailRSvcService;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
@RequestMapping("/api/v1.0/server/rsvc")
|
||||
public class RsvcServiceController {
|
||||
|
||||
@Resource
|
||||
private RetailRSvcService retailRSvcService;
|
||||
|
||||
@PostMapping(value = "/{source_code}/enterService")
|
||||
public JSONObject enterIntoServiceBySourceCode(@PathVariable String source_code, @RequestBody JSONObject params) {
|
||||
return retailRSvcService.enterIntoServiceBySourceCode(source_code, params);
|
||||
}
|
||||
}
|
Loading…
Reference in new issue