biz9-logic 2.0.2 → 2.0.4
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.
- package/biz9_config +1 -1
- package/index.js +4 -0
- package/package.json +1 -1
- package/test.js +2 -2
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -31,6 +31,10 @@ class Cloud {
|
|
|
31
31
|
static get_url = (action_url)=>{
|
|
32
32
|
return get_cloud_url_main(global.APP_TITLE_ID,global.CLOUD_URL,global.CLOUD_PORT_ID,action_url);
|
|
33
33
|
}
|
|
34
|
+
static get_url_action_connect = () => {
|
|
35
|
+
let action_url= "main/test/connect/"
|
|
36
|
+
return get_cloud_url_main(global.APP_TITLE_ID,global.CLOUD_URL,global.CLOUD_PORT_ID,action_url);
|
|
37
|
+
};
|
|
34
38
|
static get_url_action_update_item = (data_type,id) => {
|
|
35
39
|
let action_url= "main/crud/update/"+data_type + "/" + id;
|
|
36
40
|
return get_cloud_url_main(global.APP_TITLE_ID,global.CLOUD_URL,global.CLOUD_PORT_ID,action_url);
|
package/package.json
CHANGED
package/test.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const series = require('async-series');
|
|
2
2
|
const {Log,Test} = require('biz9-utility');
|
|
3
|
-
const {
|
|
3
|
+
const { Item, Cloud }= require('./');
|
|
4
4
|
|
|
5
5
|
/* --- TEST CONFIG START --- */
|
|
6
6
|
//const ID='0';
|
|
@@ -30,7 +30,7 @@ describe("connect", () => {
|
|
|
30
30
|
series([
|
|
31
31
|
function(call) {
|
|
32
32
|
console.log('CONNECT-START');
|
|
33
|
-
let cloud_url = Cloud.
|
|
33
|
+
let cloud_url = Cloud.get_url_action_connect();
|
|
34
34
|
Log.w('connect_url',cloud_url);
|
|
35
35
|
call()
|
|
36
36
|
},
|