<input type="radio" name="state" value="1"><label>发布</label> <input type="radio" name="state" value="0"><label>未发布</label>
var state = $("input[name='state']:checked").val();