| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- import Request from '../common/request.js';
- let request = new Request().http
- export function getDicts(data) {
- return request('/app/common/getDicts', data, 'GET');
- }
- export function sendSmsCode(data) {
- return request('/app/common/sendSmsCode', data, 'POST', 'application/json;charset=UTF-8');
- }
- export function uploadOSS(data) {
- return request('/app/common/uploadOSS', data, 'POST', 'application/json;charset=UTF-8');
- }
- export function getDictByKey(data) {
- return request('/app/common/getDictByKey', data, 'GET');
- }
- export function getSelectUserList(nickName) {
- console.log("--------qxj getSelectUserList nickName:", nickName);
- let data = {
- "nickName": nickName
- };
- return request('/app/common/getSelectUserList', data, 'GET');
- }
- export function getAppVersion(type) {
- let data = {
- "type": type + ""
- };
- return request('/app/common/getAppVersion', data, 'GET');
- }
- export function getCitys() {
- return request('/app/common/getCitys', {}, 'GET');
- }
- export function getHospitalList(data) {
- return request('/app/common/getHospitalList', data, 'GET');
- }
- export function getDepartmentList(data) {
- return request('/app/common/getDepartmentList', data, 'GET');
- }
- export function getConfigByKey(data) {
- return request('/app/common/getConfigByKey', data, 'GET');
- }
- export function getTlsSig(data) {
- return request('/app/common/getTlsSig', data, 'GET');
- }
- export function getRealLinkDomainName() {
- return request('/app/common/getRealLinkDomainName', null, 'GET');
- }
- // 获取getWxConfig
- export function getWxConfig(data, type) {
- return request('/app/wx/mp/getWxConfig', data, 'GET', undefined, 3);
- }
- export function getIOSPayStatus(data) {
- return request('/app/common/getIOSPayStatus', data, 'GET');
- }
- export function getQwCompanyList(data) {
- return request('/app/qwCompany/getQwCompanyList', data, 'POST', 'application/json;charset=UTF-8');
- }
- export function isOpen() {
- return request('/app/common/im/isOpen', {}, 'POST');
- }
- export function getWeixinOrderTemps() {
- return request('/store/app/common/getWeixinOrderTemps', null, 'GET');
- }
- export function getWeixinPrescribeTemps() {
- return request('/app/common/getWeixinPrescribeTemps', null, 'GET');
- }
- export function getStoreConfig() {
- return request('/store/app/common/getStoreConfig',null,'GET');
- }
-
- export function getProductConfig() {
- return request('/app/common/getProductConfig',null,'GET');
- }
-
- export function getWeixinTemps() {
- return request('/app/common/getWeixinTemps',null,'GET');
- }
-
|