|
|
@@ -116,9 +116,9 @@ export function QueryMiddleGoodsDetail(middlegoodsid?: number): Promise<Ermcp3Mi
|
|
|
export function GetErmcpGoods(lastUpdateTime?: string): Promise<string> {
|
|
|
const param = lastUpdateTime ? { lastUpdateTime } : {}
|
|
|
return commonSearch_go('/Ermcp/GetErmcpGoods', param).then(res => {
|
|
|
-
|
|
|
if (res.length) {
|
|
|
- const result = res.reduce((acc: string, obj: Goods) => acc + obj.goodscode + ',', '')
|
|
|
+ // goodscode 必须转换成大写
|
|
|
+ const result = res.reduce((acc: string, obj: Goods) => acc + (obj.goodscode).toLocaleUpperCase() + ',', '')
|
|
|
// 登录的时候或者刷新的时候,需要获取一次盘面信息
|
|
|
QueryQuoteDay(result)
|
|
|
}
|