|
@@ -19,6 +19,7 @@ import org.springframework.http.HttpHeaders;
|
|
|
import org.springframework.util.StringUtils;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import javax.annotation.Resource;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
@@ -35,7 +36,7 @@ import java.util.Map;
|
|
|
public class ReceiptApi {
|
|
|
private final ReceiptService receiptService;
|
|
|
|
|
|
- private cmOfflineCollectionService collectionService;
|
|
|
+ @Resource private cmOfflineCollectionService collectionService;
|
|
|
|
|
|
/**
|
|
|
* 线下收款用户微信授权
|
|
@@ -92,7 +93,7 @@ public class ReceiptApi {
|
|
|
*/
|
|
|
@ApiOperation("获取收款类型")
|
|
|
@GetMapping("/type")
|
|
|
- public ResponseJson<List<ReceiptTypeVo>> getReceiptType() {
|
|
|
+ public ResponseJson<List<cmOfflineCollectionVo>> getReceiptType() {
|
|
|
return receiptService.getReceiptType();
|
|
|
}
|
|
|
|
|
@@ -101,7 +102,7 @@ public class ReceiptApi {
|
|
|
* @return
|
|
|
*/
|
|
|
@ApiOperation("获取银行账户配置信息")
|
|
|
- @PostMapping("/bankData")
|
|
|
+ @GetMapping("/bankData")
|
|
|
public ResponseJson<cmOfflineCollectionPo> selectData() {
|
|
|
|
|
|
return collectionService.seData();
|