租房小程序前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
369 B

6 months ago
  1. import { checkBucketName } from '../utils/checkBucketName';
  2. export async function completeBucketWorm(this: any, name: string, wormId: string, options) {
  3. checkBucketName(name);
  4. const params = this._bucketRequestParams('POST', name, { wormId }, options);
  5. const result = await this.request(params);
  6. return {
  7. res: result.res,
  8. status: result.status
  9. };
  10. }