biz9-logic 4.8.201 → 4.8.202

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/biz9_config +1 -1
  2. package/index.js +6 -2
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='6.8.1'
1
+ VERSION='6.8.2'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -1449,6 +1449,10 @@ class User_Url {
1449
1449
  let action_url="user/login";
1450
1450
  return get_cloud_url_main(app_id,url,action_url,params);
1451
1451
  };
1452
+ static logout = (app_id,url,params) => {
1453
+ let action_url="user/logout";
1454
+ return get_cloud_url_main(app_id,url,action_url,params);
1455
+ };
1452
1456
  }
1453
1457
  class Favorite_Url {
1454
1458
  static get = (app_id,url,parent_data_type,user_id,page_current,page_size,params) => {
@@ -1911,10 +1915,10 @@ class User_Logic {
1911
1915
  }
1912
1916
  return req.session.user;
1913
1917
  }
1914
- static post_request_user(req){
1918
+ static post_request_user(req,user){
1915
1919
  req.session.user=user;
1916
1920
  }
1917
- static del_request_user(req){
1921
+ static delete_request_user(req){
1918
1922
  req.session.user=null;
1919
1923
  delete req.session.user;
1920
1924
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.201",
3
+ "version": "4.8.202",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"