Merge branch 'order' of http://139.159.177.244:3000/yuanye/high-web into order
* 'order' of http://139.159.177.244:3000/yuanye/high-web: 提交代码 # Conflicts: # src/app/admin/order-manage/order-manage.module.tspull/1/head
parent
14c2ea96c0
commit
191d3d623d
@ -0,0 +1,3 @@ |
||||
img { |
||||
width: 60px; |
||||
} |
@ -1,29 +0,0 @@ |
||||
import { Injectable } from '@angular/core'; |
||||
import {HttpClient} from '@angular/common/http'; |
||||
import {CommonsService} from '../commons.service'; |
||||
import {environment} from "../../../environments/environment"; |
||||
|
||||
|
||||
@Injectable({ |
||||
providedIn: 'root' |
||||
}) |
||||
export class OrderKfcService { |
||||
|
||||
constructor( |
||||
private http: HttpClient, |
||||
private common: CommonsService |
||||
) { } |
||||
|
||||
/** |
||||
* @Author Sum1Dream |
||||
* @methodName getOrderKfcList |
||||
* @Description // 查询肯德基订单
|
||||
* @Date 17:20 2022/10/27 |
||||
* @Param param |
||||
*/ |
||||
public getOrderKfcList(param: object, callBack) { |
||||
this.http.get(environment.orderUrl + 'thirdParty/getOrderKfcList?' + this.common.getWhereCondition(param)).subscribe(data => { |
||||
callBack(data); |
||||
}); |
||||
} |
||||
} |
@ -0,0 +1,42 @@ |
||||
import { Injectable } from '@angular/core'; |
||||
import {HttpClient} from '@angular/common/http'; |
||||
import {CommonsService} from '../commons.service'; |
||||
import {environment} from '../../../environments/environment'; |
||||
|
||||
|
||||
@Injectable({ |
||||
providedIn: 'root' |
||||
}) |
||||
export class OrderThirdPartyService { |
||||
|
||||
constructor( |
||||
private http: HttpClient, |
||||
private common: CommonsService |
||||
) { } |
||||
|
||||
/** |
||||
* @Author Sum1Dream |
||||
* @methodName getOrderKfcList |
||||
* @Description // 查询肯德基订单
|
||||
* @Date 17:20 2022/10/27 |
||||
* @Param param |
||||
*/ |
||||
public getOrderList(param: object, callBack) { |
||||
this.http.get(environment.orderUrl + 'thirdParty/getOrderList?' + this.common.getWhereCondition(param)).subscribe(data => { |
||||
callBack(data); |
||||
}); |
||||
} |
||||
|
||||
/** |
||||
* @Author Sum1Dream |
||||
* @methodName getOrderDetail |
||||
* @Description // 根据订单号查询订单详情
|
||||
* @Date 14:38 2022/10/28 |
||||
* @Param |
||||
*/ |
||||
public getOrderDetail(orderNo: string, callBack) { |
||||
this.http.get(environment.orderUrl + 'thirdParty/getOrderDetail?orderNo=' + orderNo).subscribe(data => { |
||||
callBack(data); |
||||
}); |
||||
} |
||||
} |
Loading…
Reference in new issue