123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
-
- import request from '@/utils/request';
- export function configCheckUnique(pram) {
- const data = {
- name: pram.name,
- };
- return request({
- url: '/admin/platform/system/config/check',
- method: 'GET',
- params: data,
- });
- }
- export function configInfo(pram) {
- const data = {
- formId: pram.id,
- };
- return request({
- url: '/admin/platform/system/config/info',
- method: 'GET',
- params: data,
- });
- }
- export function configSaveForm(pram) {
- return request({
- url: '/admin/platform/system/config/save/form',
- method: 'POST',
- data: pram,
- });
- }
- export function configUpdate(pram) {
- const data = {
- id: pram.id,
- systemConfigRequest: pram.systemConfigRequest,
- };
- return request({
- url: '/admin/platform/system/config/update',
- method: 'POST',
- params: data,
- });
- }
- export function configSaveUniq(pram) {
- const data = {
- key: pram.key,
- value: pram.value,
- };
- return request({
- url: '/admin/platform/system/config/saveuniq',
- method: 'POST',
- params: data,
- });
- }
- export function configGetUniq(pram) {
- const data = {
- key: pram.key,
- };
- return request({
- url: '/admin/platform/system/config/getuniq',
- method: 'GET',
- params: data,
- });
- }
- /**
- * 获取积分配置
- */
- export function integralGetConfigApi() {
- return request({
- url: '/admin/platform/integral/get/config',
- method: 'GET',
- });
- }
- /**
- * 编辑积分配置
- */
- export function integralSetConfigApi(data) {
- return request({
- url: '/admin/platform/integral/set/config',
- method: 'post',
- data,
- });
- }
- /**
- * 获取移动端域名
- */
- export function frontDomainApi() {
- return request({
- url: '/publicly/config/get/front/domain',
- method: 'get',
- });
- }
- /**
- * 获取积分商城图片
- */
- export function picConfigInfo() {
- return request({
- url: '/admin/platform/userenterprise/picConfigInfo',
- method: 'get',
- });
- }
- /**
- * 设置积分商城图片
- */
- export function saveForm(data) {
- return request({
- url: '/admin/platform/userenterprise/save/form',
- method: 'post',
- data
- });
- }
|