Commit 193de67d by 蒋勇

d

parent 51ff2f22
...@@ -41,7 +41,8 @@ class CtlBase { ...@@ -41,7 +41,8 @@ class CtlBase {
password: custtags?custtags[1].split("_")[1]:null, password: custtags?custtags[1].split("_")[1]:null,
username: req.headers["x-consumer-username"], username: req.headers["x-consumer-username"],
credid: req.headers["x-credential-identifier"], credid: req.headers["x-credential-identifier"],
companykey:req.headers["x-company-key"],//专用于自由用户注册,自由用户用于一定属于某个存在的公司 companykey:req.headers["xcompanykey"],//专用于自由用户注册,自由用户用于一定属于某个存在的公司
regrole:req.headers["xregrole"],
} }
if(!req.xctx.appkey){ if(!req.xctx.appkey){
return [-200,"请求头缺少应用x-app-key"] return [-200,"请求头缺少应用x-app-key"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment