| | |
| | | import com.nq.pojo.SiteSpread; |
| | | import com.nq.pojo.StockConfig; |
| | | import com.nq.pojo.User; |
| | | import com.nq.service.IMoneyLogServces; |
| | | import com.nq.service.ISiteSpreadService; |
| | | import com.nq.service.IStockConfigServices; |
| | | import com.nq.service.IUserService; |
| | | import com.nq.service.*; |
| | | |
| | | import com.nq.utils.PropertiesUtil; |
| | | |
| | |
| | | |
| | | import org.springframework.stereotype.Controller; |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMethod; |
| | | |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import org.springframework.web.bind.annotation.ResponseBody; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | |
| | | |
| | | @Autowired |
| | | IStockConfigServices stockConfigServices; |
| | | |
| | | @Autowired |
| | | IStockBuySettingServices stockBuySettingServices; |
| | | |
| | | //注册 |
| | | @RequestMapping(value = {"reg.do"}, method = {RequestMethod.POST}) |
| | |
| | | return stockConfigServices.queryAll(null); |
| | | } |
| | | |
| | | @GetMapping({"queryStockBuySetting.do"}) |
| | | @ResponseBody |
| | | public ServerResponse queryStockBuySetting(HttpServletRequest request, String stockType) { |
| | | return stockBuySettingServices.queryStockBuySetting(stockType); |
| | | } |
| | | |
| | | |
| | | @RequestMapping({"moneylogAll.do"}) |
| | | @ResponseBody |