|
|
@@ -56,13 +56,13 @@ public class LocalSysApplyService extends BaseService<SysApplyMapper, SysApply,S
|
|
|
*/
|
|
|
@Override
|
|
|
public void postSave(SysApply entity){
|
|
|
- applyManager.setApply(entity.getAppKey(),entity.getAppSecret());
|
|
|
+ applyManager.setApply(entity.getAppKey(),entity.getAppSecret(),entity.getTenantId());
|
|
|
}
|
|
|
|
|
|
|
|
|
@Override
|
|
|
public void run(String... args) {
|
|
|
this.list().parallelStream()
|
|
|
- .forEach(apply-> applyManager.setApply(apply.getAppKey(),apply.getAppSecret()));
|
|
|
+ .forEach(apply-> applyManager.setApply(apply.getAppKey(),apply.getAppSecret(),apply.getTenantId()));
|
|
|
}
|
|
|
}
|