cshenfu
2024-06-27 58aa6e282bb343503be3cb198948328ea3ed7b79
1
2
3
4
5
6
7
8
9
10
/**
 * URL重写
 * 如让 https://xxx.bspapp.com/http/router/aaa 指向云函数 template/db_api/pub/select
 */
module.exports = {
    "rule":{
        "^findById/(.+)": "template/db_api/pub/findById?_id=$1",
        "^aaa$": "template/db_api/pub/select"
    }
};