| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- import { request } from "@/utils/request.js";
- /**
- * 游戏支付渠道 API接口
- */
- export default {
- /**
- * 数据列表
- * @returns
- */
- getPageList(params = {}) {
- return request({
- url: "/v1/center/GamePayChannel/index",
- method: "get",
- params,
- });
- },
- /**
- * 添加数据
- * @returns
- */
- save(params = {}) {
- return request({
- url: "/v1/center/GamePayChannel/save",
- method: "post",
- data: params,
- });
- },
- /**
- * 更新数据
- * @returns
- */
- update(id, data = {}) {
- return request({
- url: "/v1/center/GamePayChannel/update?id=" + id,
- method: "put",
- data,
- });
- },
- /**
- * 读取数据
- * @returns
- */
- read(id) {
- return request({
- url: "/v1/center/GamePayChannel/read?id=" + id,
- method: "get",
- });
- },
- /**
- * 删除数据
- * @returns
- */
- destroy(data) {
- return request({
- url: "/v1/center/GamePayChannel/destroy",
- method: "delete",
- data,
- });
- },
- /**
- * 获取支付主体
- * @returns
- */
- getPaySubjectApi() {
- return request({
- url: "/v1/center/GamePayChannel/getPaySubject",
- method: "get",
- });
- },
- };
|