|
@@ -24,6 +24,15 @@ export class WalletService extends BaseService {
|
|
|
ctx;
|
|
|
@Config(ALL)
|
|
|
config;
|
|
|
+
|
|
|
+ waittime(time = 100) {
|
|
|
+ return new Promise((resolve) => {
|
|
|
+ setTimeout(() => {
|
|
|
+ resolve(0);
|
|
|
+ }, time);
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 描述
|
|
|
*/
|
|
@@ -49,6 +58,7 @@ export class WalletService extends BaseService {
|
|
|
customer_id: param.customer_id
|
|
|
});
|
|
|
}
|
|
|
+ await this.waittime(100);
|
|
|
if (!customer) {
|
|
|
throw new CoolCommException('客户不存在,请先创建认证');
|
|
|
}
|