修改话费订单导出问题

pull/1/head
袁野 2 years ago
parent 90b93849cd
commit c4faa672f1
  1. 2
      src/app/admin/cms/cms-content/cms-content.component.html
  2. 14
      src/app/services/cms.service.ts
  3. 8
      src/environments/environment.ts

@ -51,7 +51,7 @@
<nz-form-label [nzSpan]="6">展示平台</nz-form-label> <nz-form-label [nzSpan]="6">展示平台</nz-form-label>
<nz-form-control [nzSpan]="16"> <nz-form-control [nzSpan]="16">
<nz-select class="width_input_chlid" nzShowSearch nzAllowClear nzPlaceHolder="请选择展示平台" formControlName="platform"> <nz-select class="width_input_chlid" nzShowSearch nzAllowClear nzPlaceHolder="请选择展示平台" formControlName="platform">
<nz-option nzLabel="请选择状态" nzValue=""></nz-option> <nz-option nzLabel="请选择展示平台" nzValue=""></nz-option>
<nz-option nzLabel="微信小程序" [nzValue]="1"></nz-option> <nz-option nzLabel="微信小程序" [nzValue]="1"></nz-option>
<nz-option nzLabel="H5" [nzValue]="2"></nz-option> <nz-option nzLabel="H5" [nzValue]="2"></nz-option>
<nz-option nzLabel="银联小程序" [nzValue]="3"></nz-option> <nz-option nzLabel="银联小程序" [nzValue]="3"></nz-option>

@ -13,12 +13,24 @@ export class CmsService {
private commonsService: CommonsService private commonsService: CommonsService
) { } ) { }
/**
* cms内容
* @param paramObject
* @param callBack
*/
getListContent(paramObject: object, callBack) {
this.http.get(environment.baseUrl + 'cmsContent/getListContent?' + this.commonsService.getWhereCondition(paramObject)).subscribe(data => {
callBack(data);
});
}
/** /**
* cms内容 * cms内容
* @param paramObject * @param paramObject
* @param callBack * @param callBack
*/ */
getListContent(paramObject: object, callBack) { getListCmsContent(paramObject: object, callBack) {
this.http.get(environment.baseUrl + 'cmsContent/getListCmsContent?' + this.commonsService.getWhereCondition(paramObject)).subscribe(data => { this.http.get(environment.baseUrl + 'cmsContent/getListCmsContent?' + this.commonsService.getWhereCondition(paramObject)).subscribe(data => {
callBack(data); callBack(data);
}); });

@ -4,10 +4,10 @@
export const environment = { export const environment = {
production: false, production: false,
// baseUrl: 'http://localhost:9302/brest/', // 测试环境服务器地址(请求数据地址) baseUrl: 'http://localhost:9302/brest/', // 测试环境服务器地址(请求数据地址)
// imageUrl: 'http://localhost:9302/filesystem/', imageUrl: 'http://localhost:9302/filesystem/',
baseUrl: 'https://hsgcs.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址) // baseUrl: 'https://hsg.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址)
imageUrl: 'https://hsgcs.dctpay.com/filesystem/', // imageUrl: 'https://hsg.dctpay.com/filesystem/',
key: 'https://hsgcs.dctpay.com/phone-recharge-H5/index.html?codeValue=', key: 'https://hsgcs.dctpay.com/phone-recharge-H5/index.html?codeValue=',
inviteUrl: 'https://hsgcs.dctpay.com/wx/?action=ic&id=', inviteUrl: 'https://hsgcs.dctpay.com/wx/?action=ic&id=',
}; };

Loading…
Cancel
Save