package com.zy.common.service.erp;
|
|
import com.core.common.R;
|
import com.zy.common.web.BaseController;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
/**
|
* Created by vincent on 2022/12/8
|
*/
|
@RequestMapping("/erp")
|
@RestController
|
public class ErpController extends BaseController {
|
|
@Autowired
|
private ErpService erpService;
|
|
@GetMapping("erp/goods/list")
|
public R goodsList() {
|
return R.ok().add(erpService.selectGoods(0));
|
}
|
|
}
|