@@ -14,12 +14,13 @@ export default new (class {
* @returns
*/
private send<T>({ params, reqName, rspName, marketId = 0 }: TradeRequestConfig) {
- const { userId } = loginStore.$mapGetters()
+ const { userId, firstAccountId } = loginStore.$mapGetters()
const reqCode = FunCode[reqName]
const rspCode = FunCode[rspName]
// 默认请求头
params.Header = {
+ AccountID: firstAccountId.value,
MarketID: marketId,
FunCode: reqCode,
UUID: v4(),