import request from '@/utils/request'
export const rygl_list = (data = {}) =>
  request({
    url: '/jdbg/xsjs_rygl/index',
    data: {
      page: data.page,
      limit: data.limit,
      keyword: data.keyword,
      create_user_name: data.create_user_name,

    }
  })

export const rygl_add = (data = {}) =>
  request({
    url: '/jdbg/xsjs_rygl/add',
    data: {
      issubmit: '1',
      jdbg_xsjs_rygl: {
        ry_name: data.ry_name,
        create_user_name: data.create_user_name,


      }

    },
  })

export const rygl_del = (data = {}) =>
  request({
    url: '/jdbg/xsjs_rygl/delete',
    data: {
      ry_id: data.ry_id
    },
  })
