biz9-logic 4.9.26 → 4.9.27

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 +9 -0
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='8.9.6'
1
+ VERSION='8.9.7'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -394,6 +394,15 @@ class Stat_Logic {
394
394
  let action_url="item/search_activity";
395
395
  return get_cloud_url_main(app_id,url,action_url,param);
396
396
  };
397
+ static get_new = (user_id,parent_data_type,parent_id,stat_type,data)=>{
398
+ return {
399
+ user_id:user_id,
400
+ parent_data_type:parent_data_type,
401
+ parent_id:parent_id,
402
+ type:stat_type,
403
+ data:data
404
+ }
405
+ }
397
406
  static get_new_user = (user_id,stat_type,data)=>{
398
407
  return {
399
408
  user_id:user_id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.9.26",
3
+ "version": "4.9.27",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"