Bladeren bron

[示例] 通知地址 http://*/... 改为 http://domain.com/...

Roc 5 jaren geleden
bovenliggende
commit
df5eadf6aa

+ 0 - 1
samples/WebApplicationSample/Program.cs

@@ -14,7 +14,6 @@ namespace WebApplicationSample
             Host.CreateDefaultBuilder(args)
                 .ConfigureWebHostDefaults(webBuilder =>
                 {
-                    webBuilder.UseUrls("http://*:5000");
                     webBuilder.UseStartup<Startup>();
                 });
     }

+ 1 - 1
samples/WebApplicationSample/Views/Alipay/AppPay.cshtml

@@ -35,7 +35,7 @@
             </div>
             <div class="form-group">
                 <label asp-for="NotifyUrl"></label>
-                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://*/alipay/notify/apppay" />
+                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://domain.com/alipay/notify/apppay" />
             </div>
             <button type="submit" class="btn btn-primary">提交请求</button>
         </form>

+ 1 - 1
samples/WebApplicationSample/Views/Alipay/Close.cshtml

@@ -23,7 +23,7 @@
             </div>           
             <div class="form-group">
                 <label asp-for="NotifyUrl"></label>
-                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://*/alipay/notify/close" />
+                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://domain.com/alipay/notify/close" />
             </div>
             <button type="submit" class="btn btn-primary">提交请求</button>
         </form>

+ 2 - 2
samples/WebApplicationSample/Views/Alipay/PagePay.cshtml

@@ -35,11 +35,11 @@
             </div>
             <div class="form-group">
                 <label asp-for="ReturnUrl"></label>
-                <input type="text" class="form-control" asp-for="ReturnUrl" value="http://*/alipay/return/pagepay" />
+                <input type="text" class="form-control" asp-for="ReturnUrl" value="http://domain.com/alipay/return/pagepay" />
             </div>
             <div class="form-group">
                 <label asp-for="NotifyUrl"></label>
-                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://*/alipay/notify/pagepay" />
+                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://domain.com/alipay/notify/pagepay" />
             </div>
             <button type="submit" class="btn btn-primary">提交请求</button>
         </form>

+ 1 - 1
samples/WebApplicationSample/Views/Alipay/PreCreate.cshtml

@@ -31,7 +31,7 @@
             </div>
             <div class="form-group">
                 <label asp-for="NotifyUrl"></label>
-                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://*/alipay/notify/precreate" />
+                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://domain.com/alipay/notify/precreate" />
             </div>
             <button type="submit" class="btn btn-primary">提交请求</button>
         </form>

+ 2 - 2
samples/WebApplicationSample/Views/Alipay/WapPay.cshtml

@@ -35,11 +35,11 @@
             </div>
             <div class="form-group">
                 <label asp-for="ReturnUrl"></label>
-                <input type="text" class="form-control" asp-for="ReturnUrl" value="http://*/alipay/return/wappay" />
+                <input type="text" class="form-control" asp-for="ReturnUrl" value="http://domain.com/alipay/return/wappay" />
             </div>
             <div class="form-group">
                 <label asp-for="NotifyUrl"></label>
-                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://*/alipay/notify/wappay" />
+                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://domain.com/alipay/notify/wappay" />
             </div>
             <button type="submit" class="btn btn-primary">提交请求</button>
         </form>

+ 1 - 1
samples/WebApplicationSample/Views/WeChatPay/AppPay.cshtml

@@ -31,7 +31,7 @@
             </div>
             <div class="form-group">
                 <label asp-for="NotifyUrl"></label>
-                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://*/wechatpay/notify/unifiedorder" />
+                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://domain.com/wechatpay/notify/unifiedorder" />
             </div>
             <div class="form-group">
                 <label asp-for="TradeType"></label>

+ 1 - 1
samples/WebApplicationSample/Views/WeChatPay/H5Pay.cshtml

@@ -31,7 +31,7 @@
             </div>
             <div class="form-group">
                 <label asp-for="NotifyUrl"></label>
-                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://*/wechatpay/notify/unifiedorder" />
+                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://domain.com/wechatpay/notify/unifiedorder" />
             </div>
             <div class="form-group">
                 <label asp-for="TradeType"></label>

+ 1 - 1
samples/WebApplicationSample/Views/WeChatPay/MiniProgramPay.cshtml

@@ -31,7 +31,7 @@
             </div>
             <div class="form-group">
                 <label asp-for="NotifyUrl"></label>
-                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://*/wechatpay/notify/unifiedorder" />
+                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://domain.com/wechatpay/notify/unifiedorder" />
             </div>
             <div class="form-group">
                 <label asp-for="TradeType"></label>

+ 1 - 1
samples/WebApplicationSample/Views/WeChatPay/PubPay.cshtml

@@ -31,7 +31,7 @@
             </div>
             <div class="form-group">
                 <label asp-for="NotifyUrl"></label>
-                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://*/wechatpay/notify/unifiedorder" />
+                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://domain.com/wechatpay/notify/unifiedorder" />
             </div>
             <div class="form-group">
                 <label asp-for="TradeType"></label>

+ 1 - 1
samples/WebApplicationSample/Views/WeChatPay/QrCodePay.cshtml

@@ -31,7 +31,7 @@
             </div>
             <div class="form-group">
                 <label asp-for="NotifyUrl"></label>
-                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://*/wechatpay/notify/unifiedorder">
+                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://domain.com/wechatpay/notify/unifiedorder">
             </div>
             <div class="form-group">
                 <label asp-for="TradeType"></label>

+ 1 - 1
samples/WebApplicationSample/Views/WeChatPay/Refund.cshtml

@@ -39,7 +39,7 @@
             </div>
             <div class="form-group">
                 <label asp-for="NotifyUrl"></label>
-                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://*/wechatpay/notify/refund">
+                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://domain.com/wechatpay/notify/refund">
             </div>
             <button type="submit" class="btn btn-primary">提交请求</button>
         </form>

+ 1 - 1
samples/WebApplicationSample/Views/WeChatPayV3/AppPay.cshtml

@@ -27,7 +27,7 @@
             </div>
             <div class="form-group">
                 <label asp-for="NotifyUrl"></label>
-                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://*/wechatpay/v3/notify/transactions" />
+                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://domain.com/wechatpay/v3/notify/transactions" />
             </div>
             <button type="submit" class="btn btn-primary">提交请求</button>
         </form>

+ 1 - 1
samples/WebApplicationSample/Views/WeChatPayV3/H5Pay.cshtml

@@ -27,7 +27,7 @@
             </div>
             <div class="form-group">
                 <label asp-for="NotifyUrl"></label>
-                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://*/wechatpay/v3/notify/transactions">
+                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://domain.com/wechatpay/v3/notify/transactions">
             </div>
             <button type="submit" class="btn btn-primary">提交请求</button>
         </form>

+ 1 - 1
samples/WebApplicationSample/Views/WeChatPayV3/PubPay.cshtml

@@ -27,7 +27,7 @@
             </div>
             <div class="form-group">
                 <label asp-for="NotifyUrl"></label>
-                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://*/wechatpay/v3/notify/transactions">
+                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://domain.com/wechatpay/v3/notify/transactions">
             </div>
             <div class="form-group">
                 <label asp-for="OpenId"></label>

+ 1 - 1
samples/WebApplicationSample/Views/WeChatPayV3/QrCodePay.cshtml

@@ -27,7 +27,7 @@
             </div>
             <div class="form-group">
                 <label asp-for="NotifyUrl"></label>
-                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://*/wechatpay/v3/notify/transactions">
+                <input type="text" class="form-control" asp-for="NotifyUrl" value="http://domain.com/wechatpay/v3/notify/transactions">
             </div>
             <button type="submit" class="btn btn-primary">提交请求</button>
         </form>