| | |
| | | import com.fgkj.services.Chart_ColorService; |
| | | import com.fgkj.util.ActionUtil; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | @RequestMapping("chartColor") |
| | | @RestController |
| | | @Api |
| | | @Api(tags = "chartColor接口") |
| | | public class Chart_ColorController{ |
| | | |
| | | @Resource |
| | |
| | | |
| | | //修改用户的颜色组 |
| | | @PutMapping("/") |
| | | @ApiOperation(notes = "",value="修改用户的颜色组") |
| | | public ServiceModel update(@RequestBody Chart_Color ccolor) { |
| | | // Chart_Color ccolor=getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, Chart_Color.class); |
| | | Object obj = ActionUtil.getUser(); |
| | |
| | | |
| | | //查询用户对应得颜色组 |
| | | @GetMapping("byCondition") |
| | | @ApiOperation(notes = "",value="查询用户对应得颜色组") |
| | | public ServiceModel serchByCondition() { |
| | | Object obj = (User_inf) ActionUtil.getUser(); |
| | | ServiceModel model = new ServiceModel(); |