| | |
| | | import org.springblade.modules.mechanism.service.IMechanismService; |
| | | import org.springblade.core.boot.ctrl.BladeController; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | import sun.misc.BASE64Encoder; |
| | | //import sun.misc.BASE64Encoder; |
| | | |
| | | import java.io.ByteArrayInputStream; |
| | | import java.io.IOException; |
| | |
| | | String type = URLEncoder.encode(mechanism.getType(), "UTF-8"); |
| | | String mtype = URLEncoder.encode(mechanism.getMtype(), "UTF-8"); |
| | | String loutype = URLEncoder.encode(mechanism.getLoutype(), "UTF-8"); |
| | | String xtype = URLEncoder.encode(mechanism.getXtype(), "UTF-8"); |
| | | String campus = URLEncoder.encode(mechanism.getCampus(), "UTF-8"); |
| | | String heading = URLEncoder.encode(mechanism.getHeading(), "UTF-8"); |
| | | String pitch = URLEncoder.encode(mechanism.getPitch(), "UTF-8"); |
| | | String roll = URLEncoder.encode(mechanism.getRoll(), "UTF-8"); |
| | |
| | | "&type=" + type + |
| | | "&mtype=" + mtype + |
| | | "&loutype=" + loutype + |
| | | "&xtype=" + xtype + |
| | | "&campus=" + campus + |
| | | "&heading=" + heading + |
| | | "&pitch=" + pitch + |
| | | "&roll=" + roll + |