Skip to content

Commit 4c77060

Browse files
committed
change: app id/secret update.
1 parent eb640f0 commit 4c77060

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# coding-hbuilderx
2+
3+
## Development
4+
5+
1. start dev mode.
6+
7+
```console
8+
yarn watch
9+
```
10+
11+
2. click run plugin option in hbuilder.

src/init.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import MRTreeDataProvider from './trees/mr';
55
import toast from './utils/toast';
66
import { getMRUrl } from './utils/repo';
77
import ACTIONS, { dispatch } from './utils/actions';
8-
import { IDepot, IMRItem, IOAuthResponse, ITokenType } from './typings/common';
8+
import { IDepot, IMRItem } from './typings/common';
99
import * as DCloudService from './services/dcloud';
1010

1111
const { registerCommand } = hx.commands;

src/services/dcloud.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import hx from 'hbuilderx';
33
import axios from '../utils/axios';
44
import { ITokenResponse, IDCloudUser, ITokenType, IOAuthResponse } from '../typings/common';
55

6-
const appSecret = `eLEDnBuT258P1OmRx1OVFSCj4SZXom`;
7-
export const appId = `gZTr3CuevT`;
6+
const appSecret = `dnGxdvWuEwOO3VimZwo1IsqfESam7k`;
7+
export const appId = `crvUAM0Snz`;
88

99
export const applyForToken = async (code: string | null) => {
1010
try {

0 commit comments

Comments
 (0)