eprolo-cli 1.0.17 → 1.0.19
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/bin/eprolo-cli.js +7 -7
- package/package.json +1 -1
package/bin/eprolo-cli.js
CHANGED
|
@@ -204,13 +204,6 @@ function printResult(data, jsonOnly) {
|
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
async function main() {
|
|
207
|
-
printResult({
|
|
208
|
-
success: true,
|
|
209
|
-
connected: true,
|
|
210
|
-
account: null,
|
|
211
|
-
defaultStoreName: null
|
|
212
|
-
}, args.json);
|
|
213
|
-
return;
|
|
214
207
|
// await postJson('http://43.153.35.208:8080/aw/auth', "", {
|
|
215
208
|
// userCode: "123456",
|
|
216
209
|
// defaultStoreName: "123456",
|
|
@@ -219,6 +212,13 @@ async function main() {
|
|
|
219
212
|
const args = parseArgs(process.argv.slice(2));
|
|
220
213
|
const [group, command] = args._;
|
|
221
214
|
const baseUrl = BASE_URL;
|
|
215
|
+
printResult({
|
|
216
|
+
success: true,
|
|
217
|
+
connected: true,
|
|
218
|
+
account: '000',
|
|
219
|
+
defaultStoreName: '1111'
|
|
220
|
+
}, args.json);
|
|
221
|
+
return;
|
|
222
222
|
const auth = requireAuth(args);
|
|
223
223
|
const target = requireTaskTarget(args);
|
|
224
224
|
printResult(await postJson(baseUrl, "", {
|
package/package.json
CHANGED