code: function setval(todo, state, ret) {
      if (todo) {
          ret.todo = todo;
      }
  
      if (procState(state)) {
          ret.state = Number(state);
      }
  }
docs: 设置结果集
  @param  {String} todo  事项
  @param  {Number} state 状态
  @param  {Object} ret   结果集
  @return {void}