'require', 'name' => 'require', 'appid' => 'require', 'appkey' => 'require', 'send_url' => 'require', ]; /** * 参数描述 * @var string[] */ protected $field = [ 'id' => 'id', 'name' => '名称', 'appid' => '应用ID', 'appkey' => '应用appkey', 'send_url' => '服务回调正式URL', ]; /** * @notes 添加场景 * @return ExternalPlatformValidate * @author likeadmin * @date 2025/03/23 14:27 */ public function sceneAdd() { return $this->only(['name']); } /** * @notes 编辑场景 * @return ExternalPlatformValidate * @author likeadmin * @date 2025/03/23 14:27 */ public function sceneEdit() { return $this->only(['id','name']); } /** * @notes 删除场景 * @return ExternalPlatformValidate * @author likeadmin * @date 2025/03/23 14:27 */ public function sceneDelete() { return $this->only(['id']); } /** * @notes 详情场景 * @return ExternalPlatformValidate * @author likeadmin * @date 2025/03/23 14:27 */ public function sceneDetail() { return $this->only(['id']); } }