From 6fd4262637cf4cbf00ad3711b45699f9b0747745 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Wed, 28 Apr 2021 20:12:48 +0800 Subject: [PATCH] no message --- api/user.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/user.js b/api/user.js index ca8f222..4fa7c52 100644 --- a/api/user.js +++ b/api/user.js @@ -188,10 +188,10 @@ function initToken(token){ } function headerFactoryId(factoryId){ - sconfig.header.XFactoryId = factoryId - pconfig.header.XFactoryId = factoryId - zconfig.header.XFactoryId = factoryId - mconfig.header.XFactoryId = factoryId + sconfig.header['X-FACTORY-ID'] = factoryId + pconfig.header['X-FACTORY-ID'] = factoryId + zconfig.header['X-FACTORY-ID'] = factoryId + mconfig.header['X-FACTORY-ID'] = factoryId } function finalizeToken(){