cursor = $cursor; $this->apiParas["cursor"] = $cursor; } public function getCursor() { return $this->cursor; } public function setOpUserId($opUserId) { $this->opUserId = $opUserId; $this->apiParas["op_user_id"] = $opUserId; } public function getOpUserId() { return $this->opUserId; } public function getApiMethodName() { return "dingtalk.oapi.attendance.shift.list"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->opUserId,"opUserId"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }