Skip to content

Commit

Permalink
feat(prod): response 在prod模式下入参对象加上url (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuntian001 authored Sep 23, 2022
1 parent be46ea7 commit cd0b86f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions es/createProdMockServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ function __XHR2ExpressReqWrapper__(handle) {
if (typeof handle === 'function') {
const { body, type, url, headers } = options
result = handle({
url,
method: type,
body: JSON.parse(body),
query: __param2Obj__(url),
Expand Down

0 comments on commit cd0b86f

Please sign in to comment.