Commit c83d1d23 by 蒋勇

d

parent 6928a612
...@@ -54,8 +54,10 @@ class CtlBase { ...@@ -54,8 +54,10 @@ class CtlBase {
}else{ }else{
let app=await this.cacheManager["AppCache"].cache(req.xctx.appkey); let app=await this.cacheManager["AppCache"].cache(req.xctx.appkey);
req.xctx.appid=app.id; req.xctx.appid=app.id;
if(!pobj.app_id){
pobj.app_id=app.id;//传递参数对象里注入app_id pobj.app_id=app.id;//传递参数对象里注入app_id
} }
}
//平台注册时,companyid,companykey都为空 //平台注册时,companyid,companykey都为空
//自由注册时,companykey不能为空 //自由注册时,companykey不能为空
// if(!req.xctx.companyid && !req.xctx.companykey){ // if(!req.xctx.companyid && !req.xctx.companykey){
......
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